Skip to main content

Module exemplar

Module exemplar 

Source
Expand description

Normalized metric exemplars shared by Remote Write and OTLP conversion.

Modules§

query
Prometheus exemplar selectors and millisecond API timestamps.

Structs§

Exemplar
One observation belonging to a query-visible metric series. Metric names and inherited labels are shared until sparse batch construction.
ExemplarBatch
Validated batch of exemplars kept in sparse normalized form through schema reconciliation.

Functions§

estimated_row_bytes
Bounds linear sparse conversion memory without quadratic rows * tags blowup.
labels
Validates labels with the protocol’s name policy, preserving duplicates as errors.
timestamp_from_millis
Converts Remote Write milliseconds without losing overflow information.

Type Aliases§

ExemplarRequests
Exemplars grouped by the source series’ optional database routing control.