Prometheus API

Posted on

The application metrics is exposed by the OTEL agent deployed using initcontainer and the Prometheus is pulling these exposed metrics. We are able to see the JVM metrics at Prometheus, but when we are pulling the metrics using API, the response in blank.

{
"status": "success",
"data": {
"resultType": "vector",
"result": []
}
}

Responses