From 2120dd8b9640178029ba98cf80dc3316bcda3901 Mon Sep 17 00:00:00 2001 From: David Ashpole Date: Tue, 16 Apr 2024 16:10:00 -0400 Subject: [PATCH] change the scope name for the prometheus bridge to match the package (#5396) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert PajÄ…k --- CHANGELOG.md | 4 ++++ bridges/prometheus/producer.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13136131922..d315a942465 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `go.opentelemetry.io/contrib/bridges/otellogr` module. This module provides an OpenTelemetry logging bridge for "github.com/go-logr/logr". (#5357) +### Changed + +- Change the scope name for the prometheus bridge to `go.opentelemetry.io/contrib/bridges/prometheus` to match the package. (#5396) + ### Fixed - Fix bug where an empty exemplar was added to counters in `go.opentelemetry.io/contrib/bridges/prometheus`. (#5395) diff --git a/bridges/prometheus/producer.go b/bridges/prometheus/producer.go index 24109394b8b..5626bdc5545 100644 --- a/bridges/prometheus/producer.go +++ b/bridges/prometheus/producer.go @@ -22,7 +22,7 @@ import ( ) const ( - scopeName = "go.opentelemetry.io/otel/bridge/prometheus" + scopeName = "go.opentelemetry.io/contrib/bridges/prometheus" traceIDLabel = "trace_id" spanIDLabel = "span_id" )