public class NamespaceAwareSpringIntegrationMetricReader extends Object implements org.springframework.boot.actuate.metrics.reader.MetricReader
org.springframework.boot.actuate.metrics.integration.SpringIntegrationMetricReader
that provides support for customizing channels with a namespace prefix.for original implementation
Constructor and Description |
---|
NamespaceAwareSpringIntegrationMetricReader(String namespace,
org.springframework.integration.monitor.IntegrationMBeanExporter exporter) |
Modifier and Type | Method and Description |
---|---|
long |
count() |
Iterable<org.springframework.boot.actuate.metrics.Metric<?>> |
findAll() |
org.springframework.boot.actuate.metrics.Metric<?> |
findOne(String metricName) |
public NamespaceAwareSpringIntegrationMetricReader(String namespace, org.springframework.integration.monitor.IntegrationMBeanExporter exporter)
public org.springframework.boot.actuate.metrics.Metric<?> findOne(String metricName)
findOne
in interface org.springframework.boot.actuate.metrics.reader.MetricReader
public Iterable<org.springframework.boot.actuate.metrics.Metric<?>> findAll()
findAll
in interface org.springframework.boot.actuate.metrics.reader.MetricReader
public long count()
count
in interface org.springframework.boot.actuate.metrics.reader.MetricReader
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.