Skip to content

Commit 5a405b9

Browse files
committed
1 parent 96dc6e8 commit 5a405b9

File tree

1 file changed

+70
-22
lines changed

1 file changed

+70
-22
lines changed

src/data/relay_metrics.json

Lines changed: 70 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -344,73 +344,115 @@
344344
{
345345
"type": "Gauge",
346346
"name": "kafka.in_flight_count",
347-
"description": "The number of messages waiting to be sent to, or acknowledged by, the broker.\n\nSee <https://docs.confluent.io/platform/7.5/clients/librdkafka/html/rdkafka_8h.html#ad4b3b7659cf9a79d3353810d6b625bb7>.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `variant`: The Kafka message variant.",
347+
"description": "The number of messages waiting to be sent to, or acknowledged by, the broker.\n\nSee <https://docs.confluent.io/platform/7.5/clients/librdkafka/html/rdkafka_8h.html#ad4b3b7659cf9a79d3353810d6b625bb7>.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `variant`: The Kafka message variant.\n- `producer_name`: The configured producer name/deployment identifier.",
348348
"features": []
349349
},
350350
{
351351
"type": "Histogram",
352352
"name": "kafka.message_size",
353-
"description": "Size of emitted kafka message in bytes, tagged by message type.",
353+
"description": "Size of emitted kafka message in bytes.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `variant`: The Kafka message variant.\n- `producer_name`: The configured producer name/deployment identifier.",
354354
"features": []
355355
},
356356
{
357357
"type": "Gauge",
358358
"name": "kafka.stats.broker.connects",
359-
"description": "The number of connection attempts, including successful and failed attempts, and name resolution failures.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.",
359+
"description": "The number of connection attempts, including successful and failed attempts, and name resolution failures.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
360360
"features": []
361361
},
362362
{
363363
"type": "Gauge",
364364
"name": "kafka.stats.broker.disconnects",
365-
"description": "The number of disconnections, whether triggered by the broker, the network, the load balancer, or something else.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.",
365+
"description": "The number of disconnections, whether triggered by the broker, the network, the load balancer, or something else.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
366366
"features": []
367367
},
368368
{
369369
"type": "Gauge",
370-
"name": "kafka.stats.broker.int_latency",
371-
"description": "Maximum internal producer queue latency, in microseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.",
370+
"name": "kafka.stats.broker.int_latency.avg",
371+
"description": "Average internal producer queue latency, in milliseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
372+
"features": []
373+
},
374+
{
375+
"type": "Gauge",
376+
"name": "kafka.stats.broker.int_latency.p99",
377+
"description": "99th percentile internal producer queue latency, in milliseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
372378
"features": []
373379
},
374380
{
375381
"type": "Gauge",
376382
"name": "kafka.stats.broker.outbuf.messages",
377-
"description": "The number of messages awaiting transmission to the broker.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.",
383+
"description": "The number of messages awaiting transmission to the broker.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
378384
"features": []
379385
},
380386
{
381387
"type": "Gauge",
382388
"name": "kafka.stats.broker.outbuf.requests",
383-
"description": "The number of requests awaiting transmission to the broker.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.",
389+
"description": "The number of requests awaiting transmission to the broker.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
390+
"features": []
391+
},
392+
{
393+
"type": "Gauge",
394+
"name": "kafka.stats.broker.outbuf_latency.avg",
395+
"description": "Average output buffer latency, in milliseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
396+
"features": []
397+
},
398+
{
399+
"type": "Gauge",
400+
"name": "kafka.stats.broker.outbuf_latency.p99",
401+
"description": "99th percentile output buffer latency, in milliseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
402+
"features": []
403+
},
404+
{
405+
"type": "Gauge",
406+
"name": "kafka.stats.broker.rtt.avg",
407+
"description": "Average round-trip time to the broker, in milliseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
408+
"features": []
409+
},
410+
{
411+
"type": "Gauge",
412+
"name": "kafka.stats.broker.rtt.p99",
413+
"description": "99th percentile round-trip time to the broker, in milliseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
384414
"features": []
385415
},
386416
{
387417
"type": "Gauge",
388-
"name": "kafka.stats.broker.outbuf_latency",
389-
"description": "Maximum internal request queue latency, in microseconds.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.",
418+
"name": "kafka.stats.broker.tx",
419+
"description": "Total number of requests sent to the broker.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
420+
"features": []
421+
},
422+
{
423+
"type": "Gauge",
424+
"name": "kafka.stats.broker.txbytes",
425+
"description": "Total number of bytes sent to the broker.\n\nThis metric is tagged with:\n- `broker_name`: The broker hostname, port, and ID, in the form HOSTNAME:PORT/ID.\n- `producer_name`: The configured producer name/deployment identifier.",
390426
"features": []
391427
},
392428
{
393429
"type": "Gauge",
394430
"name": "kafka.stats.message_count",
395-
"description": "The current number of messages in producer queues.",
431+
"description": "The current number of messages in producer queues.\n\nThis metric is tagged with:\n- `producer_name`: The configured producer name/deployment identifier.",
396432
"features": []
397433
},
398434
{
399435
"type": "Gauge",
400436
"name": "kafka.stats.message_count_max",
401-
"description": "The maximum number of messages allowed in the producer queues.",
437+
"description": "The maximum number of messages allowed in the producer queues.\n\nThis metric is tagged with:\n- `producer_name`: The configured producer name/deployment identifier.",
402438
"features": []
403439
},
404440
{
405441
"type": "Gauge",
406442
"name": "kafka.stats.message_size",
407-
"description": "The current total size of messages in producer queues.",
443+
"description": "The current total size of messages in producer queues.\n\nThis metric is tagged with:\n- `producer_name`: The configured producer name/deployment identifier.",
408444
"features": []
409445
},
410446
{
411447
"type": "Gauge",
412448
"name": "kafka.stats.message_size_max",
413-
"description": "The maximum total size of messages allowed in the producer queues.",
449+
"description": "The maximum total size of messages allowed in the producer queues.\n\nThis metric is tagged with:\n- `producer_name`: The configured producer name/deployment identifier.",
450+
"features": []
451+
},
452+
{
453+
"type": "Gauge",
454+
"name": "kafka.stats.txmsgs",
455+
"description": "The total number of messages transmitted (produced) to all brokers.\n\nThis metric is tagged with:\n- `producer_name`: The configured producer name/deployment identifier.",
414456
"features": []
415457
},
416458
{
@@ -556,12 +598,6 @@
556598
"processing"
557599
]
558600
},
559-
{
560-
"type": "Counter",
561-
"name": "processing.produce.error",
562-
"description": "Number of producer errors occurred after an envelope was already enqueued for sending to\nKafka.\n\nThese errors include, for example, _\"MessageTooLarge\"_ errors when the broker does not\naccept the requests over a certain size, which is usually due to invalid or inconsistent\nbroker/producer configurations.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.",
563-
"features": []
564-
},
565601
{
566602
"type": "Timer",
567603
"name": "processor.message.duration",
@@ -579,13 +615,25 @@
579615
{
580616
"type": "Counter",
581617
"name": "producer.enqueue.error",
582-
"description": "Number of messages that failed to be enqueued in the Kafka producer's memory buffer.\n\nThese errors include, for example, _\"UnknownTopic\"_ errors when attempting to send a\nmessage a topic that does not exist.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `variant`: The Kafka message variant.",
618+
"description": "Number of messages that failed to be enqueued in the Kafka producer's memory buffer.\n\nThese errors include, for example, _\"UnknownTopic\"_ errors when attempting to send a\nmessage a topic that does not exist.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `variant`: The Kafka message variant.\n- `producer_name`: The configured producer name/deployment identifier.",
583619
"features": []
584620
},
585621
{
586622
"type": "Counter",
587623
"name": "producer.partition_key.rate_limit",
588-
"description": "Number of messages that were written to the wrong partition because of configured rate limits.\n\nEach topic in Relay can optionally be configured with a per-partition-key rate limit. This\nrate limit does not drop messages, but instead disables semantic partitioning. Everytime\nthis happens for a message, this counter is incremented.",
624+
"description": "Number of messages that were written to the wrong partition because of configured rate limits.\n\nEach topic in Relay can optionally be configured with a per-partition-key rate limit. This\nrate limit does not drop messages, but instead disables semantic partitioning. Everytime\nthis happens for a message, this counter is incremented.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `variant`: The Kafka message variant.\n- `producer_name`: The configured producer name/deployment identifier.",
625+
"features": []
626+
},
627+
{
628+
"type": "Counter",
629+
"name": "producer.produce_status.error",
630+
"description": "Number of failed message produce operations.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `producer_name`: The configured producer name/deployment identifier.",
631+
"features": []
632+
},
633+
{
634+
"type": "Counter",
635+
"name": "producer.produce_status.success",
636+
"description": "Number of successful message produce operations.\n\nThis metric is tagged with:\n- `topic`: The Kafka topic being produced to.\n- `producer_name`: The configured producer name/deployment identifier.",
589637
"features": []
590638
},
591639
{

0 commit comments

Comments
 (0)