Get metrics
GET
/api/metrics
const url = 'https://example.com/api/metrics';const options = {method: 'GET', headers: {cookie: 'ms.session_token=<ms.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/metrics \ --cookie ms.session_token=<ms.session_token>Prometheus metrics. Once the instance is secured scrape with a Read API key: Authorization: Bearer <key>. The endpoint is removed with PROMETHEUS=false.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Success