Get HTTP latency for one or more services

GET {{baseUrl}}/metrics/http-latency?startTime=<dateTime>&endTime=<dateTime>&resolutionSeconds=60&service=<string>&host=<string>&path=<string>&quantile=<float>

Request Params

KeyDatatypeRequiredDescription
startTimestringEpoch/Unix timestamp of end of time range to return. Defaults to now() - 1 hour.
endTimestringEpoch/Unix timestamp of end of time range to return. Defaults to now().
resolutionSecondsnumberThe resolution of the returned data
servicestring(Required) Service ID to query. When multiple service query params are provided, they are ORed together
hoststringThe hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together
pathstringThe paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together
quantilestringThe quantile of latencies to fetch. When multiple quantile query params are provided, they are ORed together

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;labels&quot;:[{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;},{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;}],&quot;values&quot;:[{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:false},{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:-88035325}],&quot;unit&quot;:&quot;\u003cstring\u003e&quot;},{&quot;labels&quot;:[{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;},{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;}],&quot;values&quot;:[{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:true},{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:-1664528}],&quot;unit&quot;:&quot;\u003cstring\u003e&quot;}]