Skip to content

feat: add query/segment/count metric to data nodes#19624

Open
jtuglu1 wants to merge 1 commit into
apache:masterfrom
jtuglu1:add-query-segment-count
Open

feat: add query/segment/count metric to data nodes#19624
jtuglu1 wants to merge 1 commit into
apache:masterfrom
jtuglu1:add-query-segment-count

Conversation

@jtuglu1

@jtuglu1 jtuglu1 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Description

Allows for quick queries to understand how many segments a given query issued scans for against a given data node. Better than counting the unique query/segment/time or similar, especially if you are sampling higher volume metrics like query/segment/time.

Release note

Add query/segment/count metric to data nodes.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant