[Prometheus][Collector] Support Customizing condition
#5259
Labels
release-pending
Team:Cloudnative-Monitoring
Label for the Cloud Native Monitoring team [elastic/obs-cloudnative-monitoring]
Today the Prometheus Collector integration's
condition
is hardcoded to a bool for leader election:integrations/packages/prometheus/data_stream/collector/agent/stream/stream.yml.hbs
Line 30 in 0c96463
The issue with this is it makes it so that the Prometheus collector integration can't be used for auto-discovery. Similar to other integrations
Example, Istio:
integrations/packages/istio/data_stream/access_logs/agent/stream/stream.yml.hbs
Line 5 in 0c96463
Given that Prometheus is one of the more common methods for exposing metrics within things like Kubernetes, it would be a great value add to be able to define conditions
The text was updated successfully, but these errors were encountered: