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/Counted.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@
37
37
/**
38
38
* Name of the Counter metric.
39
39
*
40
-
* <p>The name should follow the metric naming rule: <a
40
+
* <p>The name should follow the metric naming rules: <a
Copy file name to clipboardExpand all lines: instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/StaticAttribute.java
+5-5
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@
12
12
importjava.lang.annotation.Target;
13
13
14
14
/**
15
-
* This annotation allows for adding attributes to the metrics recorded using {@link Timed} and
16
-
* {@link Counted} annotations.
15
+
* This annotation allows for adding static attributes to the metrics recorded using {@link Timed}
16
+
* and {@link Counted} annotations.
17
17
*
18
18
* <p>Application developers can use this annotation to signal OpenTelemetry auto-instrumentation
19
-
* that the attribute should be created.
19
+
* that the static attributes should be captured.
20
20
*
21
21
* <p>If you are a library developer, then probably you should NOT use this annotation, because it
22
22
* is non-functional without the OpenTelemetry auto-instrumentation agent, or some other annotation
Copy file name to clipboardExpand all lines: instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/StaticAttributes.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@
11
11
importjava.lang.annotation.Target;
12
12
13
13
/**
14
-
* This annotation allows for adding attributes to the metrics recorded using {@link Timed} and
15
-
* {@link Counted} annotations.
14
+
* This annotation allows for adding static attributes to the metrics recorded using {@link Timed}
15
+
* and {@link Counted} annotations.
16
16
*
17
17
* <p>Application developers can use this annotation to signal OpenTelemetry auto-instrumentation
18
-
* that the attribute should be created.
18
+
* that the static attributes should be captured.
19
19
*
20
20
* <p>If you are a library developer, then probably you should NOT use this annotation, because it
21
21
* is non-functional without the OpenTelemetry auto-instrumentation agent, or some other annotation
@@ -25,6 +25,6 @@
25
25
@Retention(RetentionPolicy.RUNTIME)
26
26
public @interface StaticAttributes {
27
27
28
-
/** Array of {@link StaticAttribute} annotations describing the added attributes. */
28
+
/** Array of {@link StaticAttribute} annotations describing the attributes to capture. */
Copy file name to clipboardExpand all lines: instrumentation-annotations-incubator/src/main/java/io/opentelemetry/instrumentation/annotations/incubator/Timed.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@
38
38
/**
39
39
* Name of the Histogram metric.
40
40
*
41
-
* <p>The name should follow the metric naming rule: <a
41
+
* <p>The name should follow the metric naming rules: <a
0 commit comments