public class MicrometerMetricsCollector extends Object implements MetricsCollector
| Modifier and Type | Field and Description |
|---|---|
protected io.micrometer.core.instrument.DistributionSummary |
chunkSize |
| 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) |
protected io.micrometer.core.instrument.Counter |
createChunkCounter(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
Iterable<io.micrometer.core.instrument.Tag> tags) |
protected io.micrometer.core.instrument.DistributionSummary |
createChunkSizeDistributionSummary(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
Iterable<io.micrometer.core.instrument.Tag> tags) |
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)
protected io.micrometer.core.instrument.Counter createChunkCounter(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
Iterable<io.micrometer.core.instrument.Tag> tags)
protected io.micrometer.core.instrument.DistributionSummary createChunkSizeDistributionSummary(io.micrometer.core.instrument.MeterRegistry registry,
String prefix,
Iterable<io.micrometer.core.instrument.Tag> 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 © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.