| Package | Description |
|---|---|
| org.hawkular.agent.monitor.api | |
| org.hawkular.agent.monitor.inventory | |
| org.hawkular.agent.monitor.protocol | |
| org.hawkular.agent.monitor.scheduler |
| Modifier and Type | Method and Description |
|---|---|
void |
SamplingService.measureMetrics(Collection<MeasurementInstance<L,MetricType<L>>> instances,
Consumer<MetricDataPoint> consumer)
Collects the metrics defined by
instances and reports them back to the given consumer. |
| Modifier and Type | Method and Description |
|---|---|
Collection<MeasurementInstance<L,MetricType<L>>> |
Resource.getMetrics() |
Collection<MetricType<L>> |
ResourceType.getMetricTypes() |
Map<Name,TypeSet<MetricType<L>>> |
TypeSets.getMetricTypeSets() |
Map<Name,TypeSet<MetricType<L>>> |
TypeSets.Builder.getMetricTypeSets() |
| Modifier and Type | Method and Description |
|---|---|
static ID |
InventoryIdUtil.generateMetricInstanceId(String feedId,
ID resourceId,
MetricType<?> metricType)
Generates an ID for an
MetricInstance. |
| Modifier and Type | Method and Description |
|---|---|
Resource.Builder<L> |
Resource.Builder.metric(MeasurementInstance<L,MetricType<L>> metric) |
This |
ResourceType.Builder.metricTypes(Collection<MetricType<L>> types) |
TypeSets.Builder<L> |
TypeSets.Builder.metricTypeSet(TypeSet<MetricType<L>> typeSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
EndpointService.measureMetrics(Collection<MeasurementInstance<L,MetricType<L>>> instances,
Consumer<MetricDataPoint> consumer) |
| Modifier and Type | Method and Description |
|---|---|
static IntervalBasedScheduler<MetricType<Object>,MetricDataPoint> |
IntervalBasedScheduler.forMetrics(String name,
int schedulerThreads,
Consumer<MetricDataPoint> completionHandler)
Static method that builds a scheduler (along with its thread pool) for metric collection.
|
Copyright © 2015 Red Hat, Inc.. All rights reserved.