-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from appoptics/NH-2314-w3c-trace-context
NH-2314: W3C trace context propagation
- Loading branch information
Showing
25 changed files
with
370 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
core-bootstrap/src/main/java/com/appoptics/opentelemetry/core/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
package com.appoptics.opentelemetry.core; | ||
|
||
public interface Constants { | ||
String AO_INTERNAL_ATTRIBUTE_PREFIX = "ao.internal."; | ||
String AO_DETAILED_TRACING = AO_INTERNAL_ATTRIBUTE_PREFIX + "detailedTracing"; | ||
String AO_METRICS = AO_INTERNAL_ATTRIBUTE_PREFIX + "metrics"; | ||
String AO_SAMPLER = AO_INTERNAL_ATTRIBUTE_PREFIX + "sampler"; | ||
String AO_KEY_PREFIX = "ao."; | ||
String SW_KEY_PREFIX = "sw."; | ||
String OT_KEY_PREFIX = "ot."; | ||
String SW_INTERNAL_ATTRIBUTE_PREFIX = SW_KEY_PREFIX + "internal."; | ||
String SW_DETAILED_TRACING = SW_INTERNAL_ATTRIBUTE_PREFIX + "detailedTracing"; | ||
String SW_METRICS = SW_INTERNAL_ATTRIBUTE_PREFIX + "metrics"; | ||
String SW_SAMPLER = SW_INTERNAL_ATTRIBUTE_PREFIX + "sampler"; | ||
String W3C_KEY_PREFIX = "w3c."; | ||
String SW_UPSTREAM_TRACESTATE = SW_KEY_PREFIX + W3C_KEY_PREFIX + "tracestate"; | ||
String SW_PARENT_ID = SW_KEY_PREFIX + "parent_id"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.