-
Notifications
You must be signed in to change notification settings - Fork 889
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
Prometheus spec: Should it be possible to disable target_info #3702
Labels
spec:metrics
Related to the specification/metrics directory
Comments
@open-telemetry/wg-prometheus |
I support this change |
carlosalberto
pushed a commit
that referenced
this issue
Mar 27, 2024
Fixes #3702 Fixes #2468 Addresses #3737 (comment) ## Changes * Add option to disable `target` info metric. * Move SDK-specific language from the compatibility spec to the prometheus exporter spec. * Disallow using OpenMetrics proto format, or Prometheus remote write formats in SDK exporters * Recommend using Prometheus client libraries * Clarify that only features supported by the text format are required to be implemented by Prometheus exporters * Require prometheus SDK exporters to follow the compatibility specification. @open-telemetry/wg-prometheus
carlosalberto
pushed a commit
to carlosalberto/opentelemetry-specification
that referenced
this issue
Oct 31, 2024
Fixes open-telemetry#3702 Fixes open-telemetry#2468 Addresses open-telemetry#3737 (comment) ## Changes * Add option to disable `target` info metric. * Move SDK-specific language from the compatibility spec to the prometheus exporter spec. * Disallow using OpenMetrics proto format, or Prometheus remote write formats in SDK exporters * Recommend using Prometheus client libraries * Clarify that only features supported by the text format are required to be implemented by Prometheus exporters * Require prometheus SDK exporters to follow the compatibility specification. @open-telemetry/wg-prometheus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What are you trying to achieve?
Similarly to how it is possible for
otel_scope_info
, I think the prometheus spec should explicitly mention that exporter can have a configuration option to disable thetarget_info
metric.In fact, the prometheus remote write exporter already has this option coded.
For the sake of consistency I believe that the specification should include the following line in the end of this section:
What did you expect to see?
I would like that the spec explicitly mention that exporter can provide a configuration option to disable the
target_info
metric.Additional context.
Add any other context about the problem here. If you followed an existing documentation, please share the link to it.
The text was updated successfully, but these errors were encountered: