Skip to Content
OpenPerf

Traces

Get trace time series

GET
/api/v1/traces/series

Returns bucketed trace volume and latency percentiles over time.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time
projectIds?array<string>
name?string
Lengthlength <= 500
environment?array<string>
platform?array<>
minDurationMs?number
Range0 <= value <= 3600000
buckets?integer
Range10 <= value <= 400
Default60

Response Body

application/json
  1. response
bucketSeconds*integer
buckets*array<>
lastBucketPartial*boolean
Example Request
curl -X GET 'https://api.example.com/api/v1/traces/series?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z'
Example Response
{
  "bucketSeconds": 0,
  "buckets": [
    {
      "timestamp": "2019-08-24T14:15:22Z",
      "ok": 0,
      "failed": 0
    }
  ],
  "lastBucketPartial": true
}