get-spans
Retrieve specific spans from a project with filtering options like time range and pagination. Spans include details such as timing, attributes, and operation context, ideal for analyzing trace data in the Arize Phoenix platform.
Instructions
Get spans from a project with filtering criteria.
Spans represent individual operations or units of work within a trace. They contain timing information, attributes, and context about the operation being performed.
Example usage: Get recent spans from project "my-project" Get spans in a time range from project "my-project"
Expected return: Object containing spans array and optional next cursor for pagination. Example: { "spans": [ { "id": "span123", "name": "http_request", "context": { "trace_id": "trace456", "span_id": "span123" }, "start_time": "2024-01-01T12:00:00Z", "end_time": "2024-01-01T12:00:01Z", "attributes": { "http.method": "GET", "http.url": "/api/users" } } ], "nextCursor": "cursor_for_pagination" }
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cursor | No | ||
endTime | No | ||
limit | No | ||
projectName | Yes | ||
startTime | No |