The docs are here but don't specify this level of detail, I found this through trial/error: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_config
Also see, prometheus/prometheus#12924.
- Set your access policy up and create a token for it at https://grafana.com/orgs/{{ORG_NAME}}/access-policies
- Get your QUERY_ENDPOINT + INSTANCE_ID from https://grafana.com/orgs/{{ORG_NAME}}/members, then click your stack on the left, https://grafana.com/orgs/hedera/stacks/{{STACK_ID}}, then click Prometheus and scroll down to get your
Instance ID
(https://grafana.com/orgs/hedera/hosted-metrics/{{USERNAME/INSTANCE_ID}} - Then create a file with the creds, e.g. .promtool-http-config.yml with the below format:
authorization: