public class MicrometerMetricsCollector extends Object implements MetricsCollector
| Constructor and Description |
|---|
MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry) |
MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry,
String prefix) |
MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
Iterable<io.micrometer.core.instrument.Tag> tags) |
MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
String... tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
chunk(int entriesCount) |
void |
closeConnection() |
void |
consume(long count) |
void |
openConnection() |
void |
publish(int count) |
void |
publishConfirm(int count) |
void |
publishError(int count) |
void |
readBytes(int readBytes) |
void |
writtenBytes(int writtenBytes) |
public MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry)
public MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry,
String prefix)
public MicrometerMetricsCollector(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
String... tags)
public void openConnection()
openConnection in interface MetricsCollectorpublic void closeConnection()
closeConnection in interface MetricsCollectorpublic void publish(int count)
publish in interface MetricsCollectorpublic void publishConfirm(int count)
publishConfirm in interface MetricsCollectorpublic void publishError(int count)
publishError in interface MetricsCollectorpublic void chunk(int entriesCount)
chunk in interface MetricsCollectorpublic void consume(long count)
consume in interface MetricsCollectorpublic void writtenBytes(int writtenBytes)
writtenBytes in interface MetricsCollectorpublic void readBytes(int readBytes)
readBytes in interface MetricsCollectorCopyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.