for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package otelroundtripper
import (
"go.opentelemetry.io/otel"
"net/http"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
)
type config struct {
name string
parent http.RoundTripper
meter metric.Meter
attributes []attribute.KeyValue
}
func defaultConfig() *config {
return &config{
name: "http.client",
parent: http.DefaultTransport,
meter: otel.GetMeterProvider().Meter("http.client"),