diff --git a/integration-tests/configs/prom-gen/main.go b/integration-tests/configs/prom-gen/main.go index 28e88e4fbb59..a91e2939e681 100644 --- a/integration-tests/configs/prom-gen/main.go +++ b/integration-tests/configs/prom-gen/main.go @@ -47,10 +47,8 @@ func main() { go func() { log.Fatal(server.ListenAndServe()) }() labels := map[string]string{ - "address": address, - "port": port, - "otel_scope_name": "go.opentelemetry.io.contrib.instrumentation.net.http.otelhttp", - "otel_scope_version": "v0.24.0", + "address": address, + "port": port, } go handleCounter(setupCounter(labels)) @@ -84,7 +82,8 @@ func getAddressAndPort(listenAddress string) (string, string) { func setupGauge(labels map[string]string) prometheus.Gauge { gauge := prometheus.NewGauge( prometheus.GaugeOpts{ - Name: "otel_scope_info", + Namespace: "golang", + Name: "gauge", ConstLabels: labels, }) prometheus.MustRegister(gauge)