Prometheus Targets Down - 401 Not Authorized

Posted on

Hey,

I'm trying to scrape some custom metrics from my application using openshift-user-workload-monitoring.

I followed the documentation on how to enable de user-workload and also the troubleshooting guide on why the metrics are not appearing on the "Monitoring > Metrics" dashboard, but none mentioned what could be happening.

Both the documentations does not mention auth in the ServiceMonitor files.

I even created an personalised netpol to ingress in my namespace, but still...

The cluster is on vs4.6. I'd really appreciate some guidance on what might be causing this issue.

Thank you.

Prometheus Targets Down

Responses