Skip to Content
OpenPerf

Performance

Get transaction details

GET
/api/v1/performance/transaction

Returns latency distributions, time series, span breakdowns and sample traces for one transaction.

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
Length1 <= length <= 500
environment?array<string>
platform?string
Default"server"
Value in"server""browser""mobile""unknown"
op?string
Length1 <= length <= 200
buckets?integer
Range10 <= value <= 400
Default80

Response Body

application/json
  1. response
transaction*string
op*string
platform*Platform
Value in"server""browser""mobile""unknown"
summary*
metrics*
breakdown*array<>
slowest*array<>
vitals*|null
vitalSeries*|null
pageMetrics*|null
Example Request
curl -X GET 'https://api.example.com/api/v1/performance/transaction?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&name=string'
Example Response
{
  "transaction": "string",
  "op": "string",
  "platform": "server",
  "summary": {
    "transaction": "string",
    "op": "string",
    "platform": "server",
    "count": 0,
    "perMinute": 0,
    "failureRate": 0,
    "users": 0,
    "lastSeenAt": "2019-08-24T14:15:22Z",
    "p50": 0,
    "p75": 0,
    "p95": 0,
    "p99": 0
  },
  "metrics": {
    "throughput": {
      "unit": "count",
      "value": 0,
      "previous": 0,
      "health": "normal",
      "buckets": [
        {
          "timestamp": "2019-08-24T14:15:22Z",
          "value": 0,
          "previous": 0,
          "health": "normal"
        }
      ]
    },
    "latency": {
      "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"
        }
      ]
    }
  },
  "breakdown": [
    {
      "op": "string",
      "count": 0,
      "timeSpent": 0,
      "p95": 0
    }
  ],
  "slowest": [
    {
      "projectId": "string",
      "projectIds": [
        "string"
      ],
      "traceId": "string",
      "transaction": "string",
      "rootName": "string",
      "rootOp": "string",
      "environment": "string",
      "platform": "server",
      "startTime": "2019-08-24T14:15:22Z",
      "durationMs": 0,
      "status": "unset",
      "spanCount": 0,
      "errorCount": 0
    }
  ],
  "vitals": {
    "lcp": {
      "p75": 0,
      "count": 0,
      "good": 0,
      "needsImprovement": 0,
      "poor": 0
    },
    "fcp": {
      "p75": 0,
      "count": 0,
      "good": 0,
      "needsImprovement": 0,
      "poor": 0
    },
    "cls": {
      "p75": 0,
      "count": 0,
      "good": 0,
      "needsImprovement": 0,
      "poor": 0
    },
    "inp": {
      "p75": 0,
      "count": 0,
      "good": 0,
      "needsImprovement": 0,
      "poor": 0
    },
    "ttfb": {
      "p75": 0,
      "count": 0,
      "good": 0,
      "needsImprovement": 0,
      "poor": 0
    }
  },
  "vitalSeries": {
    "bucketSeconds": 0,
    "buckets": [
      {
        "timestamp": "2019-08-24T14:15:22Z",
        "lcp": 0,
        "fcp": 0,
        "cls": 0,
        "inp": 0,
        "ttfb": 0
      }
    ]
  },
  "pageMetrics": {
    "score": {
      "unit": "count",
      "value": 0,
      "previous": 0,
      "health": "normal",
      "buckets": [
        {
          "timestamp": "2019-08-24T14:15:22Z",
          "value": 0,
          "previous": 0,
          "health": "normal"
        }
      ]
    },
    "users": {
      "unit": "count",
      "value": 0,
      "previous": 0,
      "health": "normal",
      "buckets": [
        {
          "timestamp": "2019-08-24T14:15:22Z",
          "value": 0,
          "previous": 0,
          "health": "normal"
        }
      ]
    }
  }
}