Skip to content

Histograms: Port the protobuf changes to the OpenMetrics protobuf spec #60

@beorn7

Description

@beorn7

The changes made here to the protobuf spec to accommodate Native Histograms (AKA Sparse Histograms) only affect the old Prometheus protobuf format, which is hardly used (and had to be brought back in prometheus/prometheus just for the histogram experiment).

However, it is likely that the changes will easily translate to the OpenMetrics protobuf spec, see https://github.com/OpenObservability/OpenMetrics/blob/main/proto/openmetrics_data_model.proto .

This issue is about exploring that possibility. If it looks feasible, open a PR against https://github.com/OpenObservability/OpenMetrics , which would be an easy way to bring Native Histograms to OpenMetrics without first solving the problems around representing Native Histograms in the OM text format (cf. prometheus/OpenMetrics#237 ).

Corollary: prometheus/prometheus should then also support the OpenMetrics protobuf format. With a bit of luck, this will be easy to implement based on the protobuf parsing code created for the histogram experiment, see first paragraph above).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions