OpenTelemetry App¶
The primary role that the OpenTelemetry app plays is in making raw OTel span data more useful for use cases such as trace search and service observability. It includes several datasets that are used by the Trace Explorer and the Service Explorer to power those experiences out-of-the-box.
Core datasets provided by the app¶
Span dataset¶
Span dataset field |
Underlying OTel span data |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The span’s attributes |
|
The span’s Resource attributes |
Span Event dataset¶
Span Event dataset |
Underlying OTel span data |
---|---|
|
|
|
The event’s attributes |
|
The Resource attributes on the span containing the event |
Span Link dataset¶
Span Link dataset field |
Underlying OTel span data |
---|---|
|
the link’s |
|
the link’s |
|
the link’s attributes |
Service Metrics dataset¶
Contains a set of span-derived service metrics, which are used in the out-of-the-box views in Service Explorer and also available for querying in the Metric Explorer, custom Dashboards, and Worksheets (namespace ServiceExplorer/Service Metrics
).
The metrics are created by aggregating raw span data into 5 minute buckets for requests, errors, and latency. All percentiles are provided in the latency metrics using t-digest.
Spans of type
Service entry point
or root spans are being aggregated.Metric dimensions: Service, Operation (i.e., endpoint name),
service_namespace
,service_version
,status_code
,status_message
,environment
The OpenTelemetry app also creates several other datasets derived from the Span dataset that power the Service Explorer.
Span data used by the Service Explorer¶
Service Explorer feature |
Underlying data from Span dataset that powers it |
---|---|
Service discovery |
Existence of spans of type |
Database discovery |
Existence of spans of type |
Service naming |
|
Database naming |
|
Database host |
|
Database port |
|
Service mapping: Service-to-service edge detection |
when a span of type |
Service mapping: Service-to-database edge detection |
existence of spans of type Remote call that have db.* attributes |
Service inspection: RED metrics |
spans of type |
Service inspection: endpoints |
|
Service inspection: deployments |
|
Service inspection: errors |
|
Service inspection: exceptions |
From the Span Event dataset: |
Service inspection: k8s pods |
|
Database inspection: db operation |
|
Database inspection: db statements |
|
Services and edges show up on the service map if they have reported data in the last 7 days.