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
The old pure_exporter had the option to set the api token as url parameter which allowed the value to be set via label mapping. As a result, there was only one prometheus scrape job for all arrays and not one job per array as this new version enforces. That's because one can set the parameter in the targets list (see below). Any chance to add url parameter back again? Scaling with more arrays is otherwise tricky and breaks many workflows (like silencing an entire job because of maintenance etc). Here's an example of how we currently use it with the old exporter that unfortunately no longer works.
I am aware this was a useful option for keeping the Prometheus config file short and readable, but the Prometheus maintainers have requested to remove that possibility in order to get the exporter accepted in the list of available exporters. The main reason, which I cannot disagree with, is that it is not a good practice providing authentication/authorization tokens in the URL.
The old pure_exporter had the option to set the api token as url parameter which allowed the value to be set via label mapping. As a result, there was only one prometheus scrape job for all arrays and not one job per array as this new version enforces. That's because one can set the parameter in the targets list (see below). Any chance to add url parameter back again? Scaling with more arrays is otherwise tricky and breaks many workflows (like silencing an entire job because of maintenance etc). Here's an example of how we currently use it with the old exporter that unfortunately no longer works.
prometheus.yml
/etc/prometheus/targets/pure.yml
The text was updated successfully, but these errors were encountered: