1. basic_auth is HTTP basic authentication <https://en.wikipedia.org/wiki/Basic_access_authentication>: a standard and well-documented HTTP mechanism. The exporter itself will have to implement this mechanism of course (or you can sit the exporter behind a proxy which implements it)
2. the authentication mechanisms which Prometheus can use during a scrape are documented. If you want to do something other form of authentication like the one you described, you could write a HTTP proxy which does it (passing a query parameter for the target). Alternatively, you could use basic_auth with password_file, or bearer_token_file, and have an external program which writes to that file. However I haven't tested whether prometheus reads that file on every scrape, or whether you'd have to signal <https://www.robustperception.io/reloading-prometheus-configuration> to prometheus when it changes. -- 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/63f5aaca-1bdd-4bd3-82b3-1254d4cd037bn%40googlegroups.com.

