| Constructor and Description |
|---|
InfluxDb09Metrics(Map<String,String> config)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildJsonRequest(RequestMetric metric) |
void |
initialize() |
void |
record(RequestMetric metric)
Records the metrics for a single request.
|
void |
setComponentRegistry(IComponentRegistry registry)
Provides the component registry (before any call to
IMetrics.record(RequestMetric))
is made. |
public void initialize()
public void record(RequestMetric metric)
IMetricsrecord in interface IMetricsmetric - the request metricIMetrics.record(io.apiman.gateway.engine.metrics.RequestMetric)public void setComponentRegistry(IComponentRegistry registry)
IMetricsIMetrics.record(RequestMetric))
is made. Metrics can then access HTTP client components, etc.setComponentRegistry in interface IMetricsregistry - the component registryIMetrics.setComponentRegistry(io.apiman.gateway.engine.IComponentRegistry)protected String buildJsonRequest(RequestMetric metric)
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.