Skip to main content

Module producer

Module producer 

Source
Expand description

Producer-side write API for schema-v2 metric rows.

MetricsProducer is the first real producer path into the metrics store: it constructs labeled/tenanted MetricRecords (merging configured defaults) and writes them through any StorageBackend. The metrics service’s ingest handler is the wire-facing adapter onto the same records; the serving path (P3.4) emits decision-quality rows the same way.

Structs§

MetricsProducer
Producer of schema-v2 metric rows over any StorageBackend.

Functions§

now_unix_ms
Current Unix epoch time in milliseconds (the MetricRecord.timestamp unit).