Skip to content

cache metrics are always reported #8460

@himanshug

Description

@himanshug

various metrics reporting monitors are enabled by user via putting them in druid.monitoring.monitors property. However, org.apache.druid.client.cache.CacheMonitor is enabled (hardcoded) on brokers and historicals via MetricsModule.register(binder, CacheMonitor.class); in CliBroker and CliHistorical

We currently don't use caching in our cluster but all cache metrics are periodically reported via the emitter creating unnecessary noise in the logs (we use LoggingEmitter) . There is no way to disable these.

can we remove the hardcoding from CliBroker and CliHistorical , let user add org.apache.druid.client.cache.CacheMonitor to druid.monitoring.monitors if they need them like any other metrics monitor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions