Skip to Content
OpenPerf

Performance

Get outbound HTTP domain details

GET
/api/v1/performance/domain

Returns latency trends, endpoints and error rates for one external HTTP domain.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time
projectIds?array<string>
address*string
Length1 <= length <= 500
environment?array<string>
buckets?integer
Range10 <= value <= 400
Default80

Response Body

application/json
  1. response
summary*
series*
metrics*
endpoints*array<>
callers*array<>
samples*array<>
Example Request
curl -X GET 'https://api.example.com/api/v1/performance/domain?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&address=string'
Example Response
{
  "summary": {
    "count": 0,
    "perMinute": 0,
    "avg": 0,
    "p95": 0,
    "failureRate": 0,
    "timeSpent": 0,
    "timeSpentShare": 0,
    "perTransaction": 0,
    "serverAddress": "string",
    "status4xxRate": 0,
    "status5xxRate": 0
  },
  "series": {
    "bucketSeconds": 0,
    "buckets": [
      {
        "timestamp": "2019-08-24T14:15:22Z",
        "count": 0,
        "avg": 0,
        "p95": 0,
        "failed": 0,
        "status2xx": 0,
        "status3xx": 0,
        "status4xx": 0,
        "status5xx": 0
      }
    ]
  },
  "metrics": {
    "throughput": {
      "unit": "count",
      "value": 0,
      "previous": 0,
      "health": "normal",
      "buckets": [
        {
          "timestamp": "2019-08-24T14:15:22Z",
          "value": 0,
          "previous": 0,
          "health": "normal"
        }
      ]
    },
    "duration": {
      "unit": "count",
      "value": 0,
      "previous": 0,
      "health": "normal",
      "buckets": [
        {
          "timestamp": "2019-08-24T14:15:22Z",
          "value": 0,
          "previous": 0,
          "health": "normal"
        }
      ]
    },
    "failures": {
      "unit": "count",
      "value": 0,
      "previous": 0,
      "health": "normal",
      "buckets": [
        {
          "timestamp": "2019-08-24T14:15:22Z",
          "value": 0,
          "previous": 0,
          "health": "normal"
        }
      ]
    }
  },
  "endpoints": [
    {
      "count": 0,
      "perMinute": 0,
      "avg": 0,
      "p95": 0,
      "failureRate": 0,
      "timeSpent": 0,
      "timeSpentShare": 0,
      "perTransaction": 0,
      "description": "string"
    }
  ],
  "callers": [
    {
      "transaction": "string",
      "op": "string",
      "platform": "server",
      "traces": 0,
      "calls": 0,
      "perTransaction": 0,
      "timeSpent": 0
    }
  ],
  "samples": [
    {
      "projectId": "string",
      "traceId": "string",
      "spanId": "string",
      "transaction": "string",
      "transactionOp": "string",
      "startTime": "2019-08-24T14:15:22Z",
      "durationMs": 0,
      "failed": true
    }
  ]
}