cURL
curl --request GET \ --url https://api.opper.ai/v2/spans/{span_id}/metrics \ --header 'Authorization: Bearer <token>'
{ "meta": { "total_count": 123 }, "data": [ { "dimension": "<string>", "value": 123, "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "span_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "comment": "<string>" } ] }
List metrics for a span
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The id of the span to list metrics for
The offset to start the list from
x >= 0
The number of metrics to return
1 <= x <= 100
Successful Response
Metadata about the response
Show child attributes
List of items returned in the response