How to increase the log level for the Prometheus Operator

Solution Unverified - Updated -

Issue

When troubleshooting the OpenShift Cluster Monitoring, an issue traiged to the Prometheus Operator but the output logs are not granular enough to triage the problem further.

  • To better understand the Cluster Monitoring Operator, how can the log level of the Cluster Monitoring Operator be increased?
  • Can the verbosity of the Cluster Monitoring Operator logs be changed?

NOTE: This should not be performed without the request of an Red Hat OpenShift Support Engineer and will result in the OpenShift Cluster being in an unsupported state

Environment

  • Red Hat OpenShift Platform
    • 4.x
  • Cluster Monitoring Operator
  • Prometheus Operator

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