Skip to content

Low level consumer, producer, and admin client

IharYakimush edited this page Feb 12, 2025 · 4 revisions

Metrics

If consumer or producer created by IKafkaFactory with statistics.interval.ms configuration > 0, then following meters are available.

Common tags used by all statistics meters:

  • Name - The configured (or default) client.id
  • Handler - Handle instance name
  • Type - Instance type (producer or consumer)

Epam.Kafka.Statistics

Instruments:

  • epam_kafka_stats_trx_msgs- Number of messages consumed or produced.
  • epam_kafka_stats_trx - Number of requests transmitted or received.
  • epam_kafka_stats_age - Time since this client instance was created (seconds).
  • epam_kafka_stats_lag - Sum of known lags for desired topic partitions.

Epam.Kafka.Statistics.Eos

Instruments:

Epam.Kafka.Statistics.ConsumerGroup

Instruments:

Epam.Kafka.Statistics.TopicPartition

Additional tags:

  • Group - Consumer 'group.id'.
  • Desired - Is partition explicitly desired by application
  • Topic - Topic name
  • Partition - Partition value

Instruments: