A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/OpenObservability/OpenMetrics below:

prometheus/OpenMetrics: Evolving the Prometheus exposition format into a standard.

OpenMetrics a specification built upon and carefully extending Prometheus exposition format in almost 100% backwards-compatible ways.

NOTE: This project recently moved to Prometheus and we are working on OpenMetrics 2.0! See the details in #276 on how to participate!

See our spec file and our proto.

Join the mailing list or follow us on Twitter

To make OpenMetrics a welcoming and harassment-free experience for everyone, we follow the CNCF Code of Conduct.

OpenMetrics 2.0 development

OpenMetrics 2.0 is currently under development. You can see our charter to understand our direction and our meeting notes to understand our latest discussions.

Contributing to OpenMetrics 2.0 How can one propose a spec change to OpenMetrics?

The process starts with creating a new issue in the OpenMetrics’ GitHub repository: https://github.com/prometheus/OpenMetrics.

When opening an Issue, the author should try to describe the problem in detail. An issue asking for a change without explaining why such a thing is necessary will be ignored or closed. It's a good practice to focus on a feature that would be enabled by the change instead of going straight to implementation details.

Example of a bad issue:

Title: Relax requirement to add unit as suffixes
Body: It's annoying.

Example of a better issue:

Title: Allow exposing multiple metrics with same name in the same target
Body: 


# Problem Statement

Prometheus' federation endpoint cannot follow OpenMetrics specification because it's possible that multiple targets expose the same metric with same name but different metadata like Type/Help/Unit, but they all become a single target once exposed by Prometheus /federate endpoint. 

The same problem occurs with OpenTelemetry's Collector, who is able to collect metrics from several places and expose them in a single endpoint.

# Proposed idea

OpenMetrics should relax the requirement of exposing only one metric family by metric name. Instead, it should be allowed as long as metric TYPE or UNIT are different.

Once the issue is created, one of the maintainers should act by adding the necessary labels or closing the Issue if the idea is rejected.

These labels are applied to issues when it is unclear yet if they are something the project will take on.

These labels are applied to issues that describe a problem that is in scope and that we would like to tackle. Just because an issue is accepted does not mean that a solution suggested by the issue will be the solution applied.

A closed issue means it was rejected.

Compared to the whole Prometheus community, OpenMetrics maintainers and contributors are a relatively small group. However, whatever is decided in OpenMetrics impacts several SDKs, Prometheus Server itself, and several other projects in the ecosystem, e.g. Thanos, Cortex, and OpenTelemetry.

We follow Prometheus's proposal process to ensure we don't make changes that could harm the ecosystem.

When writing a formal proposal, the author needs to cover all the changes the ecosystem will need to make. If a proposal touches several parts of the ecosystem, such as parsers, storage, and SDKs, being as detailed as possible in all aspects will accelerate the approval needed to start the implementation.

Don't hesitate to create PoCs to better illustrate the final outcome.

To finalize the process, a PR is necessary to update the spec in: https://github.com/prometheus/OpenMetrics/blob/main/specification/OpenMetrics.md


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4