1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-29 23:07:45 +02:00

Warn instead of Info log instrument conflict (#4202)

* Warn instead of Info log instrument conflict

* Add change to changelog
This commit is contained in:
Tyler Yahn
2023-06-06 15:22:34 -07:00
committed by GitHub
parent 135c64f289
commit ce46eb5f85
2 changed files with 2 additions and 1 deletions

View File

@@ -354,7 +354,7 @@ func (i *inserter[N]) logConflict(id streamID) {
return
}
global.Info(
global.Warn(
"duplicate metric stream definitions",
"names", fmt.Sprintf("%q, %q", existing.Name, id.Name),
"descriptions", fmt.Sprintf("%q, %q", existing.Description, id.Description),