Skip to content

Add metrics for Historical cloning#17956

Merged
adarshsanjeev merged 6 commits intoapache:masterfrom
adarshsanjeev:metrics-for-cloning
May 2, 2025
Merged

Add metrics for Historical cloning#17956
adarshsanjeev merged 6 commits intoapache:masterfrom
adarshsanjeev:metrics-for-cloning

Conversation

@adarshsanjeev
Copy link
Contributor

Add metrics for monitoring cloning and broker config syncing. These metrics are:

  • config/brokerSync/time
  • config/brokerSync/total/time
  • config/brokerSync/error

Also addresses followup comments from #17899 including:

  • Fixing documentation of context parameter
  • Add a more graceful shutdown
  • Rename some fields for consistency

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.

Copy link
Contributor

@kfaraz kfaraz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left some suggestions.

@adarshsanjeev adarshsanjeev merged commit 1aecefb into apache:master May 2, 2025
74 checks passed
@capistrant capistrant added this to the 34.0.0 milestone Jul 22, 2025
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.

3 participants