You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using Prometheus in Agent mode, scrape configs are not pushed by the operator. The operator logs the following message:
main-controller.go:1546] error syncing 'infra-minio/minio': prometheuses.monitoring.coreos.com "prometheus-grafana-kube-pr-prometheus" not found
My prometheus is running with the following deployment.
When running the operator with the same configuration, but Prometheus running as kind: Prometheus, it does work as expected.
Describe the solution you'd like
Both prometheuses.monitoring.coreos.com and prometheusagents.monitoring.coreos.com should be considered when searching for PROMETHEUS_NAME and pushing scraping config, not just prometheuses.monitoring.coreos.com
Describe alternatives you've considered
Using manual deployment of a probe (such as #2067) or a manual scrape config, but this removes the purpose of this functionality to dynamically provision this.
Can also mount the additionalScrapeConfigsSecret on PrometheusAgent, but that is be limited to a single scrape config secret.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When using Prometheus in Agent mode, scrape configs are not pushed by the operator. The operator logs the following message:
My prometheus is running with the following deployment.
Operator is configured as following:
When running the operator with the same configuration, but Prometheus running as
kind: Prometheus
, it does work as expected.Describe the solution you'd like
Both
prometheuses.monitoring.coreos.com
andprometheusagents.monitoring.coreos.com
should be considered when searching forPROMETHEUS_NAME
and pushing scraping config, not justprometheuses.monitoring.coreos.com
Describe alternatives you've considered
Using manual deployment of a probe (such as #2067) or a manual scrape config, but this removes the purpose of this functionality to dynamically provision this.
Can also mount the
additionalScrapeConfigsSecret
on PrometheusAgent, but that is be limited to a single scrape config secret.The text was updated successfully, but these errors were encountered: