Skip to content

Duration in metrics.go for the cancelled queries (499) are always 0s in Query Frontend.

Open

Description

These queries that shows 0s duration on metrics.go were actually executed for some time on the querier.

Example.

in Query Frontend

QF-duration-0s

Same query in Querier

querier-more-than-0s

Potential Solution

Can we somehow get the execution time in the response Querier sent to Query Frontend? So that query-frontend can sum up all the duration to record it in metrics.go which will be more accurate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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