Enable --web.enable-admin-api for user-workload-monitoring Prometheus in RHOCP 4

Solution Verified - Updated -

Issue

  • Not able to delete time series in the User Workload Monitoring Prometheus as it's not enabled the flag --web.enable-admin-api that controls access to the administrative HTTP API
  • Returned an "unavailable" message when running administrative tasks against the User Workload Monitoring Prometheus HTTP API
  • It's desired to delete time series in the User Workload Monitoring Prometheus, but it returns the error:

    {
    "status": "error",
    "errorType": "unavailable",
    "error": "admin APIs disabled"
    }
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • User Workload Prometheus
  • Prometheus

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