Skip to content

Tempo: Display warning for query range queries that reaches max limit #103241

@ie-pham

Description

@ie-pham

QueryInstantResponse and QueryRangeResponse will now have a "status" and "message" field in the response just like TraceByIDResponse. Please follow the same logic as the TraceByIDResponse and display a warning/error message using the message field if the status field is PARTIAL.

The backend PR for this feature.

Example response:

{
    "series": [],
    "metrics": {
        "completedJobs": 1
    },
    "status": "PARTIAL",
    "message": "Response exceeds maximum series limit of 1000, a partial response is returned. Warning: the accuracy of each individual value is not guaranteed."
}

To do:

cc @alexbikfalvi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions