mirror of https://github.com/apache/druid.git
5772dfd155
Sysmonitor stats (mem, fs, disk, net, cpu, swap, sys, tcp) are reported by all Druid processes, including Peons that are ephemeral in nature. Since Peons always run on the same host as the MiddleManager that spawned them and is unlikely to change, the SyMonitor metrics emitted by Peon are merely duplicates. This is often not a problem except when machines are super-beefy. Imagine a 64-core machine and 32 workers running on this machine. now you will have each Peon reporting metrics for each core. that's an increase of (32 * 64)x in the number of metrics. This leads to a metric explosion. This PR updates MetricsModule to check node role running while registering SysMonitor and not to load any existing SysMonitor$Stats. |
||
---|---|---|
.. | ||
src | ||
pom.xml |