opentelemetry-go-contrib
opentelemetry-go-contrib copied to clipboard
Request to Add Instrumentation for otelhttp
Background
Package Link: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Add instrumentation and tracing to net/http
Why can this instrumentation not be included in the package itself?
No it's part of the go standard library
Why can this instrumentation not be hosted in a dedicated repository?
Proposed Solution
Use the RequestCount metric already defined in otelhttp.
Tracing
- attributes:
-
- events:
-
- links:
-
Metrics
Instruments
-
: - type:
- unit:
- description:
- attributes:
-
- type:
Prior Art
Tasks
- Code complete:
- [ ] Comprehensive unit tests.
- [ ] End-to-end integration tests.
- [ ] Tests all passing.
- [ ] Instrumentation functionality verified.
- Documented
- [ ] Added to the OpenTelemetry Registry
- [ ] README included for the module describing high-level purpose.
- [ ] Complete documentation of all public API including package documentation.
- [ ] Instrumentation documentation updated.
- Examples
- [ ]
Dockerfile
file to build example application. - [ ]
docker-compose.yml
to run example in a docker environment to demonstrate instrumentation.
- [ ]