Skip to main content

Module manifest

Module manifest 

Source
Available on crate features metrics or otel-metrics only.
Expand description

Machine-readable metric metadata for the /metrics/manifest endpoint: MetricDescriptor, MetricRegistry, ManifestResponse.

Field semantics align with OpenMetrics (type, description, unit) and OTel Advisory Parameters (labels, buckets). group, use_cases, dashboard_hint are HyperI extensions.

§Standards Alignment

FieldStandard
typeOpenMetrics TYPE
descriptionOpenMetrics HELP
unitOpenMetrics UNIT
labelsOTel Advisory Attributes
bucketsOTel Advisory ExplicitBucketBoundaries
group, use_cases, dashboard_hintHyperI extensions

Structs§

ManifestResponse
JSON response for GET /metrics/manifest.
MetricDescriptor
Describes a single registered metric for the manifest.
MetricRegistry
Cloneable handle to the metric registry.

Enums§

MetricType
Metric type discriminator (aligns with OpenMetrics TYPE).