DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Public Interfaces
New Metrics
Each added metric will be on the client-level and have the following tag:
type = client-metrics
The metrics for thread state will also contain an additional tag:
thread-id=[thread-id]
The following table provides the new metric name, recording level, type, and description. Additionally, the group, tag, and converted telemetry name are provided.
| Name | Recording Level | Metric Type | Description | Group | Tags | Telemetry Name | MBEAN Name |
|---|---|---|---|---|---|---|---|
| client-state | INFO | Gauge | The current state of the Kafka Streams instance | stream-metrics | client-id, process-id | org.apache.kafka.stream.client.state | kafka.streams:type=stream-metrics,client-id=([-.\w]+), process-id=([-.\w]+) |
| thread | |||||||
| Name | Recording Level | Metric Type | Description | ||||
| client-state | INFO | Gauge | The current state of the Kafka Streams instance StreamThread | stream-thread-metrics | thread-id, process-id | org.apache.kafka.stream.thread.thread.state | kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+), process-id=([-.\w]+) |
| thread-state | INFO | GaugeString | The current state of the StreamThread | stream-thread-metrics | thread-id | N/A JMX only | kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+) |
| recording-level | INFO | GaugeInteger | The level of metrics recording | stream-metrics | client-id, process-id | org.apache.kafka.stream.recording.level | kafka.streams:type=stream-metrics,client-id=([-.\w]+), process-id=([-.\w]+) |
Values for client-state metrics
...
| Recording level | Metric Value |
|---|---|
| INFO | 0 |
| DEBUG | 1 |
| TRACE | 2 |
Proposed Changes
These new metrics will be available at the INFO level. Both the client-state and thread-state will be updated to reflect the changes in the client or thread state. The recording-level is determined on startup and contains the configured metrics recording level.
...