"PrometheusOperatorRejectedResources" alert firing continuously in a Red Hat OpenShift Service on AWS (ROSA) cluster

Solution Verified - Updated -


  • Continuous "PrometheusOperatorRejectedResources" warning from the AlertManager.
  • Prometheus operator shows the following warning log repeatedly:
level=warn ts=2022-07-29T16:17:27.361540578Z caller=operator.go:1832 component=prometheusoperator msg="skipping servicemonitor" error="it accesses file system via bearer token file which Prometheus specification prohibits" servicemonitor=openshift-logging/monitor-elasticsearch-cluster namespace=openshift-user-workload-monitoring prometheus=user-workload


  • Red Hat OpenShift Service on AWS (ROSA 4.x)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content