Upgrade to server-metrics 0.5.0 (#4480)

* Upgrade to server-metrics 0.4.3

* Upgrade to 0.5.0

* Add CpuAcctDeltaMonitor description to docs
This commit is contained in:
Roman Leventov 2017-07-26 18:56:00 +03:00 committed by Charles Allen
parent c372d2ecc1
commit 684cfbf889
4 changed files with 8 additions and 11 deletions

View File

@ -188,9 +188,12 @@ The following monitors are available:
|Name|Description| |Name|Description|
|----|-----------| |----|-----------|
|`io.druid.client.cache.CacheMonitor`|Emits metrics (to logs) about the segment results cache for Historical and Broker nodes. Reports typical cache statistics include hits, misses, rates, and size (bytes and number of entries), as well as timeouts and and errors.| |`io.druid.client.cache.CacheMonitor`|Emits metrics (to logs) about the segment results cache for Historical and Broker nodes. Reports typical cache statistics include hits, misses, rates, and size (bytes and number of entries), as well as timeouts and and errors.|
|`com.metamx.metrics.SysMonitor`|This uses the [SIGAR library](http://www.hyperic.com/products/sigar) to report on various system activities and statuses. Make sure to add the [sigar library jar](https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/org/hyperic/sigar/1.6.5.132/sigar-1.6.5.132.jar) to your classpath if using this monitor.| |`com.metamx.metrics.SysMonitor`|This uses the [SIGAR library](http://www.hyperic.com/products/sigar) to report on various system activities and statuses.|
|`io.druid.server.metrics.HistoricalMetricsMonitor`|Reports statistics on Historical nodes.| |`io.druid.server.metrics.HistoricalMetricsMonitor`|Reports statistics on Historical nodes.|
|`com.metamx.metrics.JvmMonitor`|Reports JVM-related statistics.| |`com.metamx.metrics.JvmMonitor`|Reports various JVM-related statistics.|
|`com.metamx.metrics.JvmCpuMonitor`|Reports statistics of CPU consumption by the JVM.|
|`com.metamx.metrics.CpuAcctDeltaMonitor`|Reports consumed CPU as per the cpuacct cgroup.|
|`com.metamx.metrics.JvmThreadsMonitor`|Reports Thread statistics in the JVM, like numbers of total, daemon, started, died threads.|
|`io.druid.segment.realtime.RealtimeMetricsMonitor`|Reports statistics on Realtime nodes.| |`io.druid.segment.realtime.RealtimeMetricsMonitor`|Reports statistics on Realtime nodes.|
|`io.druid.server.metrics.EventReceiverFirehoseMonitor`|Reports how many events have been queued in the EventReceiverFirehose.| |`io.druid.server.metrics.EventReceiverFirehoseMonitor`|Reports how many events have been queued in the EventReceiverFirehose.|
|`io.druid.server.metrics.QueryCountStatsMonitor`|Reports how many queries have been successful/failed/interrupted.| |`io.druid.server.metrics.QueryCountStatsMonitor`|Reports how many queries have been successful/failed/interrupted.|

View File

@ -113,6 +113,6 @@ druid.selectors.coordinator.serviceName=druid/coordinator
# Monitoring # Monitoring
# #
druid.monitoring.monitors=["com.metamx.metrics.JvmMonitor"] druid.monitoring.monitors=["com.metamx.metrics.SysMonitor", "com.metamx.metrics.JvmMonitor", "com.metamx.metrics.JvmCpuMonitor"]
druid.emitter=logging druid.emitter=logging
druid.emitter.logging.logLevel=info druid.emitter.logging.logLevel=info

View File

@ -112,6 +112,6 @@ druid.selectors.coordinator.serviceName=druid/coordinator
# Monitoring # Monitoring
# #
druid.monitoring.monitors=["com.metamx.metrics.JvmMonitor"] druid.monitoring.monitors=["com.metamx.metrics.SysMonitor", "com.metamx.metrics.JvmMonitor", "com.metamx.metrics.JvmCpuMonitor"]
druid.emitter=logging druid.emitter=logging
druid.emitter.logging.logLevel=info druid.emitter.logging.logLevel=info

View File

@ -155,13 +155,7 @@
<dependency> <dependency>
<groupId>com.metamx</groupId> <groupId>com.metamx</groupId>
<artifactId>server-metrics</artifactId> <artifactId>server-metrics</artifactId>
<version>0.2.8</version> <version>0.5.0</version>
<exclusions>
<exclusion>
<groupId>com.metamx</groupId>
<artifactId>java-util</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-codec</groupId> <groupId>commons-codec</groupId>