Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameRecording LevelMetric TypeDescription
client-stateINFOGaugeThe current state of the Kafka Streams instance 
thread-stateINFOGaugeThe current state of the StreamThread 
recording-levelINFOGaugeThe level of metrics recording

Values for client-state metrics

The client-state metric values will reflect the current state of the Kafka Streams client instance represented by the KafkaStreams.State enum

Client StateMetric Value
CREATED0
REBALANCING1
RUNNING2
PENDING_SHUTDOWN3
NOT_RUNNING4
PENDING_ERROR5
ERROR6


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. 

...