Commit Graph

22 Commits

Author SHA1 Message Date
Svetlana Brennan 8efceed28c
feat(instrumentation-http)!: Remove legacy http span attributes and metrics (#5552)
Co-authored-by: Trent Mick <trentm@gmail.com>
2025-04-22 17:01:41 +00:00
Marc Pichler 87bd98edd2
fix(instrumentation-http)!: drop url.parse in favor of URL constructor (#5091) 2024-11-08 16:54:37 +00:00
Marc Pichler 030aff30f7
feat(instrumentation-http)!: reduce public API surface by removing exports and making protected methods private (#5124)
Co-authored-by: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com>
2024-11-08 16:39:06 +00:00
Marc Pichler 50d59ca938
feat(instrumentation-http)!: remove deprecated ignore options (#5085) 2024-10-23 11:20:28 +00:00
David Luna 7baa493f50
test(instr-http): remove usages of `new Span` (#5035) 2024-10-04 08:00:03 +00:00
David Luna d1cd7f23d0
refactor(instrumentation-http): replace `SpanAttributes` and `MetricAttributes` with `Attributes` (#5023) 2024-09-27 10:57:58 +00:00
Daniel Dyla 395010f96b
Http server semconv span stable (#4978)
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2024-09-24 08:29:08 +00:00
Daniel Dyla f8ab5592dd
Update HTTP client span semconv to 1.27 (#4940)
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2024-09-10 13:44:26 +00:00
Jamie Danielson f9a0d3ec33
refactor(instr-http): use exported strings for semconv (#4573)
* chore(instr-http): use exported strings for semconv

* add changelog entry
2024-03-22 17:17:45 +01:00
Jamie King 1b4999f386
docs: spelling corrections (#4530)
* docs: spelling corrections

* chore: feedback on spelling changes
2024-03-11 10:18:41 +01:00
kobi-co a457d941c2
fix(instrumentation-http): include query params in http.target (#3646)
* fix: set http.target as path (like spec) and not pathname

* fix: set http.target as path (like spec) and not pathname

* fix: set http.target as path (like spec) and not pathname
2023-03-01 16:38:13 -05:00
Hermógenes Ferreira e0d6e14bfd
feat: add HTTP_ROUTE attribute to http incoming metrics if present (#3581)
* feat: add HTTP_ROUTE attribute to http incoming metrics if present

* fix: lint errors

* docs: add changelog entry

* fix: test name

Co-authored-by: Marc Pichler <marcpi@edu.aau.at>

---------

Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
2023-02-09 09:03:00 -05:00
Chengzhong Wu 369b07e1c7
chore: enforce format with prettier (#3444) 2022-12-01 14:58:56 +08:00
Will Li b1c00629c9
fix(instrumentation-http): add http.host attribute before sending the request (#3054)
* add function to extract hostname and port from parsed option

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* add unit test

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* remove code for setting http.host when received the response

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* fix lint issue

* add changelog

* only use manually formatted host when options.host is not defined

* add event listener on timeout so span is closed properly

* add test

* use header as host source instead

* try remove span number check

* update based on comment

* Update experimental/CHANGELOG.md

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2022-07-30 18:08:53 +02:00
Luismi Ramírez c8c4ec6041
feat: record exceptions in http instrumentation (#3008) 2022-06-13 11:43:36 +08:00
Daniel Gomez Blanco ac578e9a8d
fix(opentelemetry-instrumentation-http): handle null ports in options (#2948)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-05-11 15:54:22 -04:00
Einar Norðfjörð 7870e9529f
HTTP 400 status code should not set span status to error on servers (#2789)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-03-28 13:13:25 -04:00
legendecas 21fc8b5280
feat(instrumentation-http): add options to ignore requests (#2704)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2022-01-17 10:35:42 +01:00
legendecas 82e39c470a
chore: apply eslint rule semi (#2710) 2022-01-12 00:07:40 +08:00
Mustafain Ali Khan be52259d73
fix: remove setting http.route in http span attributes (#2494) 2021-09-28 13:49:47 -04:00
Siim Kallas d41fa7bdea
feat: HTTP instrumentation: add the option to capture headers as span attributes (#2492) 2021-09-27 16:16:01 -04:00
Daniel Dyla 07b19ad19e
chore: split stable and experimental packages into groups using directories (#2462)
* chore: split stable and experimental packages into groups

* chore: use experimental directory

* chore: remove release-please
2021-09-10 17:14:55 -04:00