Skip to content

Commit c1dd65f

Browse files
authoredMar 14, 2024··
Improve warning text (#10844)
1 parent 17b6cad commit c1dd65f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎instrumentation-api/src/main/java/io/opentelemetry/instrumentation/api/internal/OperationMetricsUtil.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public static OperationMetrics create(
4444
logger.log(
4545
Level.WARNING,
4646
"Disabling {0} metrics because {1} does not implement {2}. This prevents using "
47-
+ "metrics advice, which could result in {0} having high cardinality attributes.",
47+
+ "metrics advice, which could result in {0} metrics having high cardinality "
48+
+ "attributes.",
4849
new Object[] {
4950
description,
5051
histogramBuilder.getClass().getName(),

0 commit comments

Comments
 (0)
Please sign in to comment.