Skip to content

make it possible to not emit cache metrics and disable by default#8561

Merged
asdf2014 merged 1 commit intoapache:masterfrom
himanshug:fix_8460_cache_metrics
Sep 24, 2019
Merged

make it possible to not emit cache metrics and disable by default#8561
asdf2014 merged 1 commit intoapache:masterfrom
himanshug:fix_8460_cache_metrics

Conversation

@himanshug
Copy link
Copy Markdown
Contributor

Fixes #8460

Description

Disables emitting of cache metrics by default and makes them optional. After this patch users would need to add "org.apache.druid.client.cache.CacheMonitor" to druid.monitoring.monitors property like others . It is already documented.

Cache is disabled by default as druid.realtime.cache.useCache and druid.realtime.cache.populateCache are both set to false and so should be cache metrics.


This PR has:

  • been self-reviewed.
  • been tested in a test Druid cluster.

Release Notes

Users, who would like Druid to report cache metrics, should explicitly add "org.apache.druid.client.cache.CacheMonitor" to druid.monitoring.monitors property.

Copy link
Copy Markdown
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

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

👍

@asdf2014 asdf2014 merged commit b6a16b5 into apache:master Sep 24, 2019
@himanshug
Copy link
Copy Markdown
Contributor Author

thanks all for reviewing

@jon-wei jon-wei added this to the 0.17.0 milestone Dec 17, 2019
@jon-wei jon-wei mentioned this pull request Dec 28, 2019
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.

cache metrics are always reported

5 participants