Skip to content

Commit 027da73

Browse files
committed
Give an hint on instrument registration conflict that the other one will be used
1 parent 5cd650a commit 027da73

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-api/src/opentelemetry/metrics/_internal

1 file changed

+1
-1
lines changed

opentelemetry-api/src/opentelemetry/metrics/_internal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def _log_instrument_registration_conflict(
289289
_logger.warning(
290290
"An instrument with name %s, type %s, unit %s and "
291291
"description %s has been created already with a "
292-
"different advisory value %s.",
292+
"different advisory value %s and will be used instead.",
293293
name,
294294
Counter.__name__,
295295
unit,

0 commit comments

Comments
 (0)