forked from newrelic/node-newrelic
-
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.
- Loading branch information
1 parent
5926ea7
commit 886fca0
Showing
1 changed file
with
30 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Notes | ||
|
||
+ OTEL refers to observability concerns as "signals". Traces, Metrics, and Logs are all examples of different signals. | ||
+ It is worthwhile to read through https://opentelemetry.io/docs/concepts/signals/traces/ | ||
+ Traces, or transactions, are collections of "spans": https://opentelemetry.io/docs/specs/otel/overview/#traces | ||
+ Contexts are used to store the state of traces: https://opentelemetry.io/docs/specs/otel/overview/#context-propagation | ||
+ Propagators are used to serialize spans (and other signals): https://opentelemetry.io/docs/specs/otel/overview/#propagators | ||
+ Resources are descriptors of entities being instrumented, e.g a Docker container and its associated metadata: https://opentelemetry.io/docs/specs/otel/resource/sdk/ | ||
|
||
## Concept Map | ||
|
||
+ NR_Transaction => OTEL_Trace | ||
+ NR_Segment => OTEL_Span | ||
+ NR_Span => OTEL_Span | ||
|
||
## References | ||
|
||
OTEL: | ||
+ Span spec: https://opentelemetry.io/docs/specs/otel/trace/api/#span | ||
+ SpanContext spec: https://opentelemetry.io/docs/specs/otel/trace/api/#spancontext | ||
|
||
NR: | ||
+ Trace spec: https://source.datanerd.us/agents/agent-specs/blob/main/Transaction-Trace-LEGACY.md | ||
+ Span events: https://source.datanerd.us/agents/agent-specs/blob/main/Span-Events.md | ||
|
||
## Identifiers | ||
|
||
+ Trace id: | ||
+ OTEL: 16-byte array of random bytes | ||
+ NR: |