Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: open-telemetry/opentelemetry-go-contrib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 93a6e56a39cd97c613f013e77ac59491aa918622
Choose a base ref
..
head repository: open-telemetry/opentelemetry-go-contrib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 24be4a76e2f1eddd81e7f17245d214504a653b99
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 instrumentation/net/http/otelhttp/internal/semconv/env_test.go
Original file line number Diff line number Diff line change
@@ -156,7 +156,7 @@ func BenchmarkRecordMetrics(b *testing.B) {
for i := 0; i < b.N; i++ {
for _, tt := range testCases {
req, _ := http.NewRequest("GET", "http://example.com", nil)

_ = tt.server.RequestTraceAttrs("stuff", req)
_ = tt.server.ResponseTraceAttrs(ResponseTelemetry{StatusCode: 200})
tt.server.RecordMetrics(context.Background(), ServerMetricData{