Class SbmPrometheusServer
java.lang.Object
io.perl.logger.impl.Metrics
io.perl.logger.impl.PrintMetrics
io.perl.logger.impl.PrometheusMetricsServer
io.sbk.logger.impl.SbkPrometheusServer
io.sbm.logger.impl.SbmPrometheusServer
- All Implemented Interfaces:
io.perl.logger.Print, io.sbk.logger.RWPrint, CountConnections
public final class SbmPrometheusServer
extends io.sbk.logger.impl.SbkPrometheusServer
implements CountConnections
Class RamMetricsPrometheusServer.
-
Field Summary
Fields inherited from class io.sbk.logger.impl.SbkPrometheusServer
COMPONENT_TAG, rwMetricPrefixFields inherited from class io.perl.logger.impl.PrintMetrics
registryFields inherited from class io.perl.logger.impl.Metrics
avgLatencyName, bytesName, higherDiscardName, invalidLatencyRecordsName, lowerDiscardName, maxLatencyName, mbPsecName, metricPrefix, metricTimeUnit, minLatencyName, percentileFormat, percentileLatencyCountNames, percentileLatencyNames, recordsName, recsPsecName, slc1Name, slc2Name -
Constructor Summary
ConstructorsConstructorDescriptionSbmPrometheusServer(String header, String action, String storageName, double[] percentiles, io.time.Time time, io.sbk.logger.MetricsConfig config) Constructor RamMetricsPrometheusServer initializingconnectionsandmaxConnectionsand calling its super class. -
Method Summary
Modifier and TypeMethodDescriptionvoidDecrement.voidIncrement.Methods inherited from class io.sbk.logger.impl.SbkPrometheusServer
printMethods inherited from class io.perl.logger.impl.PrometheusMetricsServer
start, stopMethods inherited from class io.perl.logger.impl.PrintMetrics
close, print
-
Constructor Details
-
SbmPrometheusServer
public SbmPrometheusServer(String header, String action, String storageName, double[] percentiles, io.time.Time time, io.sbk.logger.MetricsConfig config) throws IOException Constructor RamMetricsPrometheusServer initializingconnectionsandmaxConnectionsand calling its super class.- Parameters:
header- Stringaction- StringstorageName- storageNamepercentiles- double[]time- Timeconfig- MetricsConfig- Throws:
IOException- If it Occurs.
-
-
Method Details
-
incrementConnections
public void incrementConnections()Description copied from interface:CountConnectionsIncrement.- Specified by:
incrementConnectionsin interfaceCountConnections
-
decrementConnections
public void decrementConnections()Description copied from interface:CountConnectionsDecrement.- Specified by:
decrementConnectionsin interfaceCountConnections
-