I am trying to set up dynamic targets for our storage environment.  I am 
able to access it using the static_configs but it requires an API token.

This is what I have currently configured but had to revert back to 
static_configs.  It wouldn't read the API token at all.

[
  {
    "targets": [ "1.2.3.4", "2.3.45" ],
    "labels": {
      "env": "prod",
      "__storage_apitoken": "something-something-something-something",
      "job": "storage_exporter"
    }
  }
]

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/e27b2868-32e5-4f10-b7df-3e3c525be0a0n%40googlegroups.com.

Reply via email to