public interface MetricExporterSpi extends IgniteSpi
Exporter of metric information to the external recipient. Expected, that each implementation would support some specific protocol. Implementation of this Spi should work by pull paradigm. So after start SPI should respond to some incoming request. HTTP servlet or JMX bean are good examples of expected implementations.
| Modifier and Type | Method and Description |
|---|---|
void |
setExportFilter(Predicate<ReadOnlyMetricRegistry> filter)
Sets export filter.
|
void |
setMetricRegistry(ReadOnlyMetricManager registry)
Sets metrics registry that SPI should export.
|
getName, getNodeAttributes, onClientDisconnected, onClientReconnected, onContextDestroyed, onContextInitialized, spiStart, spiStopvoid setMetricRegistry(ReadOnlyMetricManager registry)
IgniteSpi.spiStart(String).registry - Metric registry.void setExportFilter(Predicate<ReadOnlyMetricRegistry> filter)
filter shouldn't be exported.filter - Filter.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020