List metric metadata
GET
/v1/prometheus/metadata
const url = 'https://example.com/v1/prometheus/metadata';const options = {method: 'GET', headers: {Authorization: 'Bearer <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/v1/prometheus/metadata \ --header 'Authorization: Bearer <token>'Return Prometheus-compatible metadata for metric templates.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”No response body