| Package | Description |
|---|---|
| org.apache.flink.metrics | |
| org.apache.flink.metrics.groups | |
| org.apache.flink.metrics.reporter |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleCounter
A simple low-overhead
Counter that is not thread-safe. |
class |
ThreadSafeSimpleCounter
A simple low-overhead
Counter that is thread-safe. |
| Modifier and Type | Method and Description |
|---|---|
default <C extends Counter> |
MetricGroup.counter(int name,
C counter)
Registers a
Counter with Flink. |
<C extends Counter> |
MetricGroup.counter(String name,
C counter)
Registers a
Counter with Flink. |
| Modifier and Type | Method and Description |
|---|---|
default Counter |
MetricGroup.counter(int name)
Creates and registers a new
Counter with Flink. |
Counter |
MetricGroup.counter(String name)
Creates and registers a new
Counter with Flink. |
| Constructor and Description |
|---|
MeterView(Counter counter) |
MeterView(Counter counter,
int timeSpanInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
<C extends Counter> |
UnregisteredMetricsGroup.counter(String name,
C counter) |
| Modifier and Type | Method and Description |
|---|---|
Counter |
UnregisteredMetricsGroup.counter(String name) |
Counter |
OperatorIOMetricGroup.getNumBytesInCounter()
The total number of input bytes since the task started.
|
Counter |
OperatorIOMetricGroup.getNumBytesOutCounter()
The total number of output bytes since the task started.
|
Counter |
SinkWriterMetricGroup.getNumBytesSendCounter()
The total number of output send bytes since the task started.
|
Counter |
OperatorIOMetricGroup.getNumRecordsInCounter()
The total number of input records since the operator started.
|
Counter |
SourceReaderMetricGroup.getNumRecordsInErrorsCounter()
The total number of record that failed to consume, process, or emit.
|
Counter |
OperatorIOMetricGroup.getNumRecordsOutCounter()
The total number of output records since the operator started.
|
Counter |
SinkWriterMetricGroup.getNumRecordsOutErrorsCounter()
The total number of records failed to send.
|
Counter |
SinkWriterMetricGroup.getNumRecordsSendCounter()
The total number of records have been sent to the downstream system.
|
Counter |
SinkWriterMetricGroup.getNumRecordsSendErrorsCounter()
The total number of records failed to send.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheMetricGroup.hitCounter(Counter hitCounter)
The number of cache hits.
|
void |
CacheMetricGroup.loadCounter(Counter loadCounter)
The number of times to load data into cache from external system.
|
void |
CacheMetricGroup.missCounter(Counter missCounter)
The number of cache misses.
|
void |
CacheMetricGroup.numLoadFailuresCounter(Counter numLoadFailuresCounter)
The number of load failures.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Counter,String> |
AbstractReporter.counters |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.