Skip to main content

Module prometheus

Module prometheus 

Source
Expand description

Prometheus Metrics Export Module (MLOPS-006)

Integration with standard observability stacks.

§Toyota Way: (Andon)

Visual alerting through Prometheus/Grafana dashboards.

§Example

use entrenar::monitor::prometheus::PrometheusExporter;

let exporter = PrometheusExporter::new("my-experiment", "run-1");
exporter.record_epoch(1, 0.5, 0.001);
let metrics = exporter.export();
println!("{}", metrics);

Structs§

LabelSet
Label values for a specific metric series
MetricDef
A single metric definition
PrometheusExporter
Prometheus metrics exporter for training monitoring

Enums§

MetricType
Metric type for Prometheus