Skip to content

Commit ded4cef

Browse files
committed
fix linting issue
1 parent 98a1dfc commit ded4cef

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

instrumentation/jmx-metrics/library/kafka-connect.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Here is the list of metrics based on MBeans exposed by Apache Kafka Connect. String-valued JMX
44
attributes (class/type/version information) are exported as state metrics with value `1` and
5-
carry the raw string value as metric attributes.
5+
carry the raw string value as metric attributes.
66

77
## Compatibility
88

@@ -17,47 +17,47 @@ formatting between the docs are cosmetic; bean names align across both variants.
1717

1818
## Worker metrics
1919

20-
| Metric Name | Type | Unit | Attributes | Description |
21-
|-------------|------|------|------------|-------------|
22-
| kafka.connect.worker.connector.count | UpDownCounter | {connector} | | The number of connectors run in this worker. |
23-
| kafka.connect.worker.connector.startup.attempts | Counter | {attempt} | | The total number of connector startups that this worker has attempted. |
24-
| kafka.connect.worker.connector.startup.failure.percentage | Gauge | 1 | | The average percentage of this worker's connectors starts that failed. |
25-
| kafka.connect.worker.connector.startup.failure.total | Counter | {startup} | | The total number of connector starts that failed. |
26-
| kafka.connect.worker.connector.startup.success.percentage | Gauge | 1 | | The average percentage of this worker's connectors starts that succeeded. |
27-
| kafka.connect.worker.connector.startup.success.total | Counter | {startup} | | The total number of connector starts that succeeded. |
28-
| kafka.connect.worker.task.count | UpDownCounter | {task} | | The number of tasks run in this worker. |
29-
| kafka.connect.worker.task.startup.attempts | Counter | {attempt} | | The total number of task startups that this worker has attempted. |
30-
| kafka.connect.worker.task.startup.failure.percentage | Gauge | 1 | | The average percentage of this worker's tasks starts that failed. |
31-
| kafka.connect.worker.task.startup.failure.total | Counter | {startup} | | The total number of task starts that failed. |
32-
| kafka.connect.worker.task.startup.success.percentage | Gauge | 1 | | The average percentage of this worker's tasks starts that succeeded. |
33-
| kafka.connect.worker.task.startup.success.total | Counter | {startup} | | The total number of task starts that succeeded. |
20+
| Metric Name | Type | Unit | Attributes | Description |
21+
|-------------------------------------------------|---------------|-------------|------------|---------------------------------------------------------------------------------------------|
22+
| kafka.connect.worker.connector.count | UpDownCounter | {connector} | | The number of connectors run in this worker. |
23+
| kafka.connect.worker.connector.startup.attempts | Counter | {attempt} | | The total number of connector startups that this worker has attempted. |
24+
| kafka.connect.worker.connector.startup.failure.percentage | Gauge | 1 | | The average percentage of this worker's connectors starts that failed. |
25+
| kafka.connect.worker.connector.startup.failure.total | Counter | {startup} | | The total number of connector starts that failed. |
26+
| kafka.connect.worker.connector.startup.success.percentage | Gauge | 1 | | The average percentage of this worker's connectors starts that succeeded. |
27+
| kafka.connect.worker.connector.startup.success.total | Counter | {startup} | | The total number of connector starts that succeeded. |
28+
| kafka.connect.worker.task.count | UpDownCounter | {task} | | The number of tasks run in this worker. |
29+
| kafka.connect.worker.task.startup.attempts | Counter | {attempt} | | The total number of task startups that this worker has attempted. |
30+
| kafka.connect.worker.task.startup.failure.percentage | Gauge | 1 | | The average percentage of this worker's tasks starts that failed. |
31+
| kafka.connect.worker.task.startup.failure.total | Counter | {startup} | | The total number of task starts that failed. |
32+
| kafka.connect.worker.task.startup.success.percentage | Gauge | 1 | | The average percentage of this worker's tasks starts that succeeded. |
33+
| kafka.connect.worker.task.startup.success.total | Counter | {startup} | | The total number of task starts that succeeded. |
3434

3535
## Worker connector task metrics
3636

37-
| Metric Name | Type | Unit | Attributes | Description |
38-
|-------------|------|------|------------|-------------|
39-
| kafka.connect.worker.connector.task.destroyed | UpDownCounter | {task} | kafka.connect.connector | The number of destroyed tasks of the connector on the worker. |
40-
| kafka.connect.worker.connector.task.failed | UpDownCounter | {task} | kafka.connect.connector | The number of failed tasks of the connector on the worker. |
41-
| kafka.connect.worker.connector.task.paused | UpDownCounter | {task} | kafka.connect.connector | The number of paused tasks of the connector on the worker. |
42-
| kafka.connect.worker.connector.task.restarting | UpDownCounter | {task} | kafka.connect.connector | The number of restarting tasks of the connector on the worker. |
43-
| kafka.connect.worker.connector.task.running | UpDownCounter | {task} | kafka.connect.connector | The number of running tasks of the connector on the worker. |
44-
| kafka.connect.worker.connector.task.total | UpDownCounter | {task} | kafka.connect.connector | The number of tasks of the connector on the worker. |
45-
| kafka.connect.worker.connector.task.unassigned | UpDownCounter | {task} | kafka.connect.connector | The number of unassigned tasks of the connector on the worker. |
37+
| Metric Name | Type | Unit | Attributes | Description |
38+
|-------------------------------------------------|---------------|--------|------------------------|--------------------------------------------------------------------|
39+
| kafka.connect.worker.connector.task.destroyed | UpDownCounter | {task} | kafka.connect.connector | The number of destroyed tasks of the connector on the worker. |
40+
| kafka.connect.worker.connector.task.failed | UpDownCounter | {task} | kafka.connect.connector | The number of failed tasks of the connector on the worker. |
41+
| kafka.connect.worker.connector.task.paused | UpDownCounter | {task} | kafka.connect.connector | The number of paused tasks of the connector on the worker. |
42+
| kafka.connect.worker.connector.task.restarting | UpDownCounter | {task} | kafka.connect.connector | The number of restarting tasks of the connector on the worker. |
43+
| kafka.connect.worker.connector.task.running | UpDownCounter | {task} | kafka.connect.connector | The number of running tasks of the connector on the worker. |
44+
| kafka.connect.worker.connector.task.total | UpDownCounter | {task} | kafka.connect.connector | The number of tasks of the connector on the worker. |
45+
| kafka.connect.worker.connector.task.unassigned | UpDownCounter | {task} | kafka.connect.connector | The number of unassigned tasks of the connector on the worker. |
4646

4747
## Worker rebalance metrics
4848

4949
All metrics include `kafka.connect.worker.leader`.
5050

51-
| Metric Name | Type | Unit | Attributes | Description |
52-
|-------------|------|------|------------|-------------|
53-
| kafka.connect.worker.rebalance.completed.total | Counter | {rebalance} | | The total number of rebalances completed by this worker. |
54-
| kafka.connect.worker.rebalance.protocol | UpDownCounter | 1 | kafka.connect.protocol.state | The Connect protocol used by this cluster. |
55-
| kafka.connect.worker.rebalance.epoch | UpDownCounter | {epoch} | | The epoch or generation number of this worker. |
56-
| kafka.connect.worker.rebalance.leader | UpDownCounter | 1 | kafka.connect.worker.leader.state | The name of the group leader. |
57-
| kafka.connect.worker.rebalance.avg.time | Gauge | s | | The average time in milliseconds spent by this worker to rebalance. |
58-
| kafka.connect.worker.rebalance.max.time | Gauge | s | | The maximum time in milliseconds spent by this worker to rebalance. |
59-
| kafka.connect.worker.rebalance.active | UpDownCounter | 1 | kafka.connect.worker.rebalance.state | Whether this worker is currently rebalancing. |
60-
| kafka.connect.worker.rebalance.since_last | Gauge | s | | The time in milliseconds since this worker completed the most recent rebalance. |
51+
| Metric Name | Type | Unit | Attributes | Description |
52+
|---------------------------------------------|---------------|------------|-----------------------------------|---------------------------------------------------------------------------------|
53+
| kafka.connect.worker.rebalance.completed.total | Counter | {rebalance} | | The total number of rebalances completed by this worker. |
54+
| kafka.connect.worker.rebalance.protocol | UpDownCounter | 1 | kafka.connect.protocol.state | The Connect protocol used by this cluster. |
55+
| kafka.connect.worker.rebalance.epoch | UpDownCounter | {epoch} | | The epoch or generation number of this worker. |
56+
| kafka.connect.worker.rebalance.leader | UpDownCounter | 1 | kafka.connect.worker.leader.state | The name of the group leader. |
57+
| kafka.connect.worker.rebalance.avg.time | Gauge | s | | The average time in milliseconds spent by this worker to rebalance. |
58+
| kafka.connect.worker.rebalance.max.time | Gauge | s | | The maximum time in milliseconds spent by this worker to rebalance. |
59+
| kafka.connect.worker.rebalance.active | UpDownCounter | 1 | kafka.connect.worker.rebalance.state | Whether this worker is currently rebalancing. |
60+
| kafka.connect.worker.rebalance.since_last | Gauge | s | | The time in milliseconds since this worker completed the most recent rebalance. |
6161

6262
## Connector metrics
6363

0 commit comments

Comments
 (0)