hi, I'm getting 403 as a scrape result with following config
scrape config:
- job_name: federate
scheme: https
honor_labels: true
tls_config:
insecure_skip_verify: true
metrics_path: /federate
bearer_token: '<openshift service_acccount token'
params:
'match[]':
- '{job="node-exporter"}'
static_configs:
- targets:
- 'prometheus-k8s-openshift-monitoring.<domain>'
With curl from the same prometheus container works and metrics are seen.
curl -k -v -G --data-urlencode 'match[]={job="node-exporter"}'
https://prometheus-k8s-openshift-monitoring.<domain>/federate -H
'Authorization: Bearer <openshift service_acccount token'
-Kalle
--
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/CAMfxma86B7%3DJm_8TU70ibjnZ3g8%2B%3D0kaUeV%2BgXikLfR%3DQDMY5Q%40mail.gmail.com.