GET /metrics
Changed onRequest
- Base URLhttps://api.monoscope.tech/api/v1
- URLhttps://api.monoscope.tech/api/v1/metrics
- AuthAPI key in header Authorization
Query parameters
querystring
KQL over the metrics source, e.g. metrics | where metric_name == "http.server.requests" | summarize rate(value) by bin_auto(timestamp). Use rate(value) (per second) or increase(value) (per bin) for counters, last(value) for gauges; they are computed per series and reset-aware. rateif/increaseif/lastif(value, predicate) aggregate only the matching series, for ratios.
data_type'metric' | 'json' | 'float' | 'text'
sincestring
fromstring
tostring
sourcestring
environmentstring
servicestring
Response
Changes
- info
added the optional property
/to the response with the status
- info
- info
added the new optional
queryrequest parameterenvironment - info
added the new optional
queryrequest parameterservice
- info