Expand description
Federated /metrics endpoint.
Aggregates environmentd’s local metrics with every clusterd replica’s
/metrics output, adding cluster_id, replica_id, process,
cluster_name, and replica_name labels onto the clusterd-sourced
metrics.
Functions§
- add_
replica_ 🔒labels - handle_
public_ 🔒metrics - The customer-facing
/metricsendpoint. - label_
pair 🔒 - merge_
families_ 🔒by_ name - Merges
MetricFamilyentries that share a name into a single entry, keeping the first occurrence’s metadata (help text, type) and appending every subsequent same-named family’s metrics into it. - scrape_
replica_ 🔒metrics_ endpoint - scrape_
replica_ 🔒metrics_ endpoint_ inner