You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/Attribute.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@
14
14
* This annotation marks that a parameter of a method or constructor annotated with {@link Timed} or
15
15
* {@link Counted} should be added as an attribute to the metric.
16
16
*
17
-
* <p>By default, the `{@link Object#toString()}` will be called on the parameter value to convert
18
-
* it to a String.
17
+
* <p>`{@link Object#toString()}` will be called on the parameter value to convert it to a String.
19
18
*
20
19
* <p>Application developers can use this annotation to signal OpenTelemetry auto-instrumentation
Copy file name to clipboardExpand all lines: instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/ReturnValueAttribute.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@
14
14
* This annotation allows for adding the method return value as an attribute to metrics recorded
15
15
* using the {@link Timed} and {@link Counted} annotations.
16
16
*
17
-
* <p>By default, the {@link Object#toString()} will be called on the return value to convert it to
18
-
* a String.
17
+
* <p>{@link Object#toString()} will be called on the return value to convert it to a String.
19
18
*
20
19
* <p>Application developers can use this annotation to signal OpenTelemetry auto-instrumentation
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-annotations/opentelemetry-instrumentation-annotations-incubator/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/instrumentationannotations/incubator/MetricsAnnotationHelper.java
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-annotations/opentelemetry-instrumentation-annotations-incubator/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/instrumentationannotations/incubator/counted/CountedExample.java
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-annotations/opentelemetry-instrumentation-annotations-incubator/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/instrumentationannotations/incubator/timed/TimedExample.java
0 commit comments