public class ServiceMetricsCollector extends Object implements IGangliaMetricsCollector
/192.168.1.10/test-context-7/CPU/% Processor Time=0.0 /192.168.1.10/test-context-7/CPU/% System Time=0.0 /192.168.1.10/test-context-7/CPU/% User Time=0.0020 /192.168.1.10/test-context-7/Memory/Major Faults per Second=0.0 /192.168.1.10/test-context-7/Memory/Minor Faults per Second=0.0 /192.168.1.10/test-context-7/Memory/Percent Memory Size=0.0091 /192.168.1.10/test-context-7/Memory/Resident Set Size=76304384 /192.168.1.10/test-context-7/Memory/Virtual Size=2449391616 /192.168.1.10/test-context-7/PhysicalDisk/Bytes Read per Second=0.0 /192.168.1.10/test-context-7/PhysicalDisk/Bytes Written per Second=0.0
Modifier and Type | Field and Description |
---|---|
protected Pattern |
filter |
protected AbstractStatisticsCollector |
statisticsCollector |
Constructor and Description |
---|
ServiceMetricsCollector(AbstractStatisticsCollector statisticsCollector,
Pattern filter) |
protected final AbstractStatisticsCollector statisticsCollector
protected final Pattern filter
public ServiceMetricsCollector(AbstractStatisticsCollector statisticsCollector, Pattern filter)
public void collect(IGangliaMetricsReporter reporter)
IGangliaMetricsCollector
collect
in interface IGangliaMetricsCollector
reporter
- Where to report the collected metric values.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.