Skip to content

Series limits in queries are difficult to understand #6373

Open
@damnever

Description

@damnever

Describe the bug

Users have no knowledge of whether vertical sharding works for certain queries. However, since series limits are counted independently, sharded queries might have a lower likelihood of triggering the series limit compared to non-sharded queries. Another issue is that the ruler lacks vertical sharding capability, unlike the query-frontend.

To Reproduce

When vertical sharding is enabled, the following query might work fine:

sum by (cluster) (rate(api_total[5m]))

However, this query will fail with the error 'the query hit the max number of series limit':

rate(api_total[5m])
# or sum(rate(api_total[5m]))

Expected behavior

Series limits should be easy to understand and have a clear explanation about which level of the series they are limiting or counting.

Environment:

  • Infrastructure: [e.g., Kubernetes, bare-metal, laptop]
  • Deployment tool: [e.g., helm, jsonnet]

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions