Metrics
Concepts
- Context can be added through span and correlation attributes.
- Meters record a measurement.
- Raw measurement:
- Measure defines a name, description and unit of values.
- Measurement defines a single value of a measure.
- Metric: a measurement:
- Kind:
counter
/measure
/observer
. - Label: key-value pairs of tags/metadata.
- Kind:
- Aggregation
- Aggregated over time rather than sampling.
Data model
flowchart TB
Origin[Origin: Event Model]
-- SDK transforms events into OTLP data -->
InTransit[In Transit: OTLP Stream Model]
-- SDK or Collector exports as Timeseries -->
AtRest[At Rest: Timeseries Model]
- Resource
- Attributes
- InstrumentationLibraryMetrics
- InstrumentationLibrary
- Metrics
- Name
- Gauge
- DataPoints
- Attributes
- Time
- AsDouble
Backlinks