| 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 <LL> Set<ScheduledMeasurementInstance<LL,MetricType<LL>>> |
ScheduledMeasurementInstance.createMetrics(Resource<LL> resource)
This will create scheduled metric instances for all metrics associated with the given resource.
|
static <LL> MeasurementScheduler<LL,MetricType<LL>,MetricDataPoint> |
MeasurementScheduler.forMetrics(String name,
Consumer<MetricDataPoint> completionHandler)
Static method that builds a scheduler for metric collection.
|
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.