Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

otelmux: fix: Do not require calling Write nor WriteHeader #1443

Merged
merged 6 commits into from
Nov 29, 2021
Merged

otelmux: fix: Do not require calling Write nor WriteHeader #1443

merged 6 commits into from
Nov 29, 2021

Conversation

pellared
Copy link
Member

@pellared pellared commented Nov 24, 2021

Fixes #1387

go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux does not require the instrumented HTTP handlers to call Write nor WriteHeader anymore

@codecov
Copy link

codecov bot commented Nov 24, 2021

Codecov Report

Merging #1443 (cfa723b) into main (c960941) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1443   +/-   ##
=====================================
  Coverage   69.2%   69.3%           
=====================================
  Files        127     127           
  Lines       5475    5474    -1     
=====================================
  Hits        3794    3794           
+ Misses      1534    1533    -1     
  Partials     147     147           
Impacted Files Coverage Δ
...trumentation/github.com/gorilla/mux/otelmux/mux.go 82.5% <100.0%> (+1.0%) ⬆️

@MrAlias MrAlias merged commit fe426e4 into open-telemetry:main Nov 29, 2021
rltoSD referenced this pull request in open-o11y/opentelemetry-go-contrib Dec 21, 2021
* Change tests to make it failing

* Fix otelmux to not require calling Write nor WriteHeader

* Update changelog

* Fix changelog

* Fix

* Refactor
plantfansam referenced this pull request in plantfansam/opentelemetry-go-contrib Mar 18, 2022
…sor (#1443)

* Fix BatchSpanProcessor does not shutdown underlying span exporter

* Update CHANGELOG

* Fix tests

* Update CHANGELOG.md
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Otelmux: span status are marked as an error; Invalid HTTP status code 0
4 participants