apache / apache/druid

How to configure druid metrics and the linux machine on which it is hosted?

Open
#12,729 2 comments 0 reactions 0 assignees View on GitHub
Area - Metrics/Event Emitting Question
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 58m
Merged PRs (30d)
233

Description

Hello!
Introduced with next pages of documentation:
[https://druid.apache.org/docs/latest/operations/metrics.html#sql-metrics](https://druid.apache.org/docs/latest/operations/metrics.html#sql-metrics)
[https://druid.apache.org/docs/latest/configuration/index.html#logging-emitter-module](https://druid.apache.org/docs/latest/configuration/index.html#logging-emitter-module)
And I do not understand how to setup sending metrics for **Grafana**.

Of course, I set parameters into /apache-druid-0.22.1/conf/druid/single-server/micro-quickstart/_common/common.runtime.properties file. And now I have:
```
druid.monitoring.emissionPeriod=PT30S
druid.monitoring.monitors=["org.apache.druid.java.util.metrics.SysMonitor","org.apache.druid.java.util.metrics.JvmMonitor"]
druid.emitter=noop
druid.emitter.logging.logLevel=info
```
But I do not understand how to get druid and system info data. May be changing `druid.emitter` to `logging` help me?

Contributor guide

Open the contributing guide

Research direction

Start with the linked Druid SQL metrics and logging-emitter documentation, then inspect the reported common.runtime.properties settings for the single-server quickstart. Clarify the supported path from Druid and system monitors to Grafana, including whether the logging emitter is appropriate; done means the documentation provides a reproducible configuration and explains where the emitted data can be viewed.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, java, linux
Domain
databases, observability, operating-systems
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.