Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add details to Prometheus Exporter requirement #2124

Merged
merged 16 commits into from
Dec 1, 2021

Conversation

reyang
Copy link
Member

@reyang reyang commented Nov 15, 2021

Changes

  • Added requirements to the Prometheus Exporter spec (based on the learnings from the prototype).

Please provide a brief description of the changes here. Update the
CHANGELOG.md for non-trivial changes. If CHANGELOG.md is updated,
also be sure to update spec-compliance-matrix.md if necessary.

Related issues #2017, #2035

@reyang reyang requested review from a team November 15, 2021 18:48
@reyang reyang added area:sdk Related to the SDK spec:metrics Related to the specification/metrics directory labels Nov 15, 2021
@jmacd
Copy link
Contributor

jmacd commented Nov 16, 2021

The Prom pushgateway comes with a lot of caveats, for example:
https://github.com/prometheus/pushgateway#about-the-job-and-instance-labels

I would prefer to see us put our resources behind finishing push support for OTLP. Prometheus provides a way to join service-discovered attributes with application-provided attributes, and we would like a way to do this with OTLP. When we can do that with OTLP, then clients can send OTLP to a collector, have their service discovery labels applied, and then exported via Prometheus Remote Write.

We have not discussed adding Prom pushgateway support in the collector, and I don't think we should.

@jmacd
Copy link
Contributor

jmacd commented Nov 16, 2021

(Issue about service discovery for pushed metrics: #1078)

@reyang reyang force-pushed the reyang/metrics-prometheus-exporter branch from 761a3fc to a19943d Compare November 16, 2021 21:18
specification/metrics/sdk_exporters/prometheus.md Outdated Show resolved Hide resolved
specification/metrics/sdk_exporters/prometheus.md Outdated Show resolved Hide resolved
specification/metrics/sdk_exporters/prometheus.md Outdated Show resolved Hide resolved
specification/metrics/sdk_exporters/prometheus.md Outdated Show resolved Hide resolved
specification/metrics/sdk_exporters/prometheus.md Outdated Show resolved Hide resolved
specification/metrics/sdk_exporters/prometheus.md Outdated Show resolved Hide resolved
@reyang reyang added the release:allowed-for-ga Editorial changes that can still be added before GA since they don't require action by SIGs label Nov 23, 2021
Committing these as Reiley has requested for help from native english speakers.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@jmacd jmacd merged commit 3ebd0ca into open-telemetry:main Dec 1, 2021
@reyang reyang deleted the reyang/metrics-prometheus-exporter branch April 17, 2022 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sdk Related to the SDK release:allowed-for-ga Editorial changes that can still be added before GA since they don't require action by SIGs spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants