logs.getRayPerfLogs


Description

Returns performance information about a Rivet Ray.


Code Examples

Request

GET
https://api.rivet.gg/cloud/rays/{ray_id}/perf
curl -X GET 'https://api.rivet.gg/cloud/rays/{ray_id}/perf'

Request Parameters

ray_id

Path parameter, required


Response Body

perf_lists

array<object> (required)

A list of service performance summaries.

perf_lists[*].duration

integer (required)

Unsigned 64 bit integer.

perf_lists[*].marks

array<object> (required)

A list of performance marks.

perf_lists[*].marks[*].label

string (required)

The label given to this performance mark.

perf_lists[*].marks[*].ray_id

string

perf_lists[*].marks[*].req_id

string

perf_lists[*].marks[*].ts

string (required)

RFC3339 timestamp.

perf_lists[*].req_id

string

perf_lists[*].spans

array<object> (required)

A list of performance spans.

perf_lists[*].spans[*].finish_ts

string

RFC3339 timestamp.

perf_lists[*].spans[*].label

string (required)

The label given to this performance span.

perf_lists[*].spans[*].req_id

string

perf_lists[*].spans[*].start_ts

string (required)

RFC3339 timestamp.

perf_lists[*].svc_name

string (required)

The name of the service.

perf_lists[*].ts

string (required)

RFC3339 timestamp.