Return Prometheus metrics for the service.
GET
/metrics
const url = 'https://api.dev.iot-sens.schlossers.at/metrics';const options = {method: 'GET'};
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://api.dev.iot-sens.schlossers.at/metricsResponses
Section titled “Responses”Prometheus text exposition.
Media typetext/plain
string