Prometheus metrics
GET
/metrics
const url = 'http://localhost:8693/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 http://localhost:8693/metricsPrometheus-compatible metrics endpoint. Key metrics include:
starfly_exchange_requests_total, starfly_exchange_duration_seconds,
starfly_revocation_check_errors_total, starfly_revocation_index_size,
starfly_nonce_tracker_size.
Responses
Section titled “ Responses ”Prometheus text format
Media type text/plain
string