Skip to content

Commit 711fa32

Browse files
update docs
1 parent f7da3ef commit 711fa32

File tree

2 files changed

+2
-4
lines changed
  • instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator

2 files changed

+2
-4
lines changed

instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/Counted.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* <p>By default, the Counter instrument will have the following attributes:
1818
*
1919
* <ul>
20-
* <li><b>code.namespace:</b> The fully qualified name of the class whose method is invoked.
21-
* <li><b>code.function:</b> The name of the annotated method.
20+
* <li><b>code.function.name:</b> The fully qualified name of the class whose method is invoked.
2221
* <li><b>error.type:</b> This is only present if an Exception is thrown, and contains the {@link
2322
* Class#getName name} of the Exception class.
2423
* </ul>

instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/Timed.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* <p>By default, the Histogram instrument will have the following attributes:
1818
*
1919
* <ul>
20-
* <li><b>code.namespace:</b> The fully qualified name of the class whose method is invoked.
21-
* <li><b>code.function:</b> The name of the annotated method.
20+
* <li><b>code.function.name:</b> The fully qualified name of the class whose method is invoked.
2221
* <li><b>error.type:</b> This is only present if an Exception is thrown, and contains the {@link
2322
* Class#getName name} of the Exception class.
2423
* </ul>

0 commit comments

Comments
 (0)