Skip to content

Add user(tenant) info in the metrics exposed by query frontend #1567

Closed
@achilles42

Description

@achilles42

Currently, for the metrics which are exposed by query frontend does not have user(tenant) info in the labels, it gets really difficult to figure out which tenant's queries are getting stuck.

I would suggest, we should add user info on the following metrics-

  1. query_frontend_queue_duration_seconds - Time spend by requests queued.
  2. query_frontend_queue_length - number of queries in the queue.
  3. frontend_query_range_duration_seconds - Total time spent in seconds doing query range requests.

Please let me know your thoughts on this. I would love to raise PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions