opentelemetry-go-contrib icon indicating copy to clipboard operation
opentelemetry-go-contrib copied to clipboard

Request to Add Instrumentation for otelhttp

Open jeremyje opened this issue 2 years ago • 0 comments

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:

Prior Art

Tasks

  • Code complete:
    • [ ] Comprehensive unit tests.
    • [ ] End-to-end integration tests.
    • [ ] Tests all passing.
    • [ ] Instrumentation functionality verified.
  • Documented
  • Examples
    • [ ] Dockerfile file to build example application.
    • [ ] docker-compose.yml to run example in a docker environment to demonstrate instrumentation.

jeremyje avatar Jul 02 '22 07:07 jeremyje