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: features/dd-sdk-android-trace-api/src/main/kotlin/com/datadog/android/trace/api/scope/DataScopeListener.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@
10
10
publicinterfaceDataScopeListener {
11
11
/**
12
12
* Called just after a scope becomes the active scope.
13
+
* <p>May be called multiple times. When a scope is initially created, or after a child scope is
Copy file name to clipboardExpand all lines: features/dd-sdk-android-trace-api/src/main/kotlin/com/datadog/android/trace/api/span/DatadogSpanBuilder.kt
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ interface DatadogSpanBuilder {
25
25
26
26
/**
27
27
* Specifies the origin of the span.
28
+
* The origin provides metadata about the context or source where the span was created.
28
29
*
29
30
* @param origin The origin string to associate with the span. Can be nullable.
30
31
* @return The current instance of [DatadogSpanBuilder] to allow method chaining.
@@ -33,6 +34,8 @@ interface DatadogSpanBuilder {
33
34
34
35
/**
35
36
* Adds a tag to the span with the specified key and a nullable double value.
37
+
* Tags are used to add contextual information to spans, which can later be
38
+
* used for filtering, grouping, or analyzing spans in trace data.
36
39
*
37
40
* @param key The key identifying the tag. Cannot be null.
38
41
* @param value The value associated with the tag. Can be null.
@@ -42,6 +45,8 @@ interface DatadogSpanBuilder {
42
45
43
46
/**
44
47
* Adds a tag to the span with the specified key and a nullable long value.
48
+
* Tags are used to add contextual information to spans, which can later be
49
+
* used for filtering, grouping, or analyzing spans in trace data.
45
50
*
46
51
* @param key The key identifying the tag. Must not be null.
47
52
* @param value The nullable long value associated with the tag.
@@ -51,6 +56,8 @@ interface DatadogSpanBuilder {
51
56
52
57
/**
53
58
* Adds a tag to the span with the specified key and a nullable value of any type.
59
+
* Tags are used to add contextual information to spans, which can later be
60
+
* used for filtering, grouping, or analyzing spans in trace data.
54
61
*
55
62
* @param key The key identifying the tag. Cannot be null.
56
63
* @param value The nullable value associated with the tag.
0 commit comments