Skip to content

statistics_emitted.karafka

View Markdown

Kafka broker and consumer statistics from librdkafka.

Source Karafka Category Metrics Fields 7 honeybadger-ruby

Fields

7
FieldTypeDescription
event_typestringAllowed value: statistics_emitted.karafka.
consumer_group_idstringKarafka consumer group identifier.
statisticsobjectRaw librdkafka statistics payload. The shape is defined by librdkafka. See https://github.com/confluentinc/librdkafka/blob/master/STATISTICS.md
statistics.*anyAdditional caller-defined keys.
request_idstringRails request UUID from the active web request context, if any. Merged globally by the Honeybadger agent.
hostnamestringServer hostname. Attached to every event by default (events.attach_hostname).
environmentstringApplication environment, e.g. "production". Attached to every event by default (events.attach_environment).

Example

{
"event_type": "statistics_emitted.karafka",
"consumer_group_id": "example_app_group",
"statistics": {
"client_id": "example_app",
"type": "consumer",
"rxmsgs": 12840
},
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}