跳转至

Kafka

·


采集 Kafka 指标和日志上报到观测云,帮助你监控分析 Kafka 各种异常情况。

配置

前置条件

安装或下载 Jolokia。DataKit 安装目录下的 data 目录中已经有下载好的 Jolokia jar 包。

Jolokia 是作为 Kafka 的 Java agent,基于 HTTP 协议提供了一个使用 JSON 作为数据格式的外部接口,提供给 DataKit 使用。 Kafka 启动时,先配置 KAFKA_OPTS 环境变量:(port 可根据实际情况修改成可用端口)

export KAFKA_OPTS="$KAFKA_OPTS -javaagent:/usr/local/datakit/data/jolokia-jvm-agent.jar=host=*,port=8080"

另外,也可以单独启动 Jolokia,将其指向 Kafka 进程 PID:

java -jar </path/to/jolokia-jvm-agent.jar> --host 127.0.0.1 --port=8080 start <Kafka-PID>
Note
  • Jolokia 不允许运行过程中修改端口号。如果发现通过 --port 命令无法修改端口号,就是这个原因。若想修改 Jolokia 端口号必须先退出 Jolokia 再启动才能成功。
  • 退出 Jolokia 命令是: java -jar </path/to/jolokia-jvm-agent.jar> --quiet stop <Kafka-PID>。更多 Jolokia 命令信息可参考这里

采集器配置

进入 DataKit 安装目录下的 conf.d/samples 目录,复制 kafka.conf.sample 并命名为 kafka.conf。示例如下:

[[inputs.kafka]]
  # default_tag_prefix      = ""
  # default_field_prefix    = ""
  # default_field_separator = "."

  # username = ""
  # password = ""
  # response_timeout = "5s"

  ## Optional TLS config
  # tls_ca   = "/var/private/ca.pem"
  # tls_cert = "/var/private/client.pem"
  # tls_key  = "/var/private/client-key.pem"
  # insecure_skip_verify = false

  ## Monitor Interval
  # interval   = "60s"

  election = true

  # Add agents URLs to query
  urls = ["http://localhost:8080/jolokia"]

  ## Auto collect mode: when enable_auto_collect is true,
  ## automatically discover and collect all Kafka MBeans using search interface (kafka.*:*).
  ## Default is true.
  enable_auto_collect = true

  ## MBean blacklist for auto collect mode: exclude MBeans matching these patterns (supports wildcard * and ?).
  ## Note: Auto collect mode only collects Kafka-related MBeans (kafka.*:*)
  # mbean_blacklist = [
  #   "kafka.log:*",
  #   "kafka.server:name=*,topic=*,type=BrokerTopicMetrics",
  # ]

  ## Add metrics to read (only used when enable_auto_collect = false)
  [[inputs.kafka.metric]]
    name         = "kafka_controller"
    mbean        = "kafka.controller:name=*,type=*"
    field_prefix = "#1."

  [[inputs.kafka.metric]]
    name         = "kafka_replica_manager"
    mbean        = "kafka.server:name=*,type=ReplicaManager"
    field_prefix = "#1."

  [[inputs.kafka.metric]]
    name         = "kafka_zookeeper"
    mbean        = "kafka.server:type=ZooKeeperClientMetrics,name=*"
    field_prefix = "#1."

  [[inputs.kafka.metric]]
    name         = "kafka_purgatory"
    mbean        = "kafka.server:delayedOperation=*,name=*,type=DelayedOperationPurgatory"
    field_name   = "#1.#2"

  [[inputs.kafka.metric]]
    name     = "kafka_client"
    mbean    = "kafka.server:client-id=*,type=*"
    tag_keys = ["client-id", "type"]

  [[inputs.kafka.metric]]
    name         = "kafka_request"
    mbean        = "kafka.network:name=*,request=*,type=RequestMetrics"
    field_prefix = "#1."
    tag_keys     = ["request"]

  [[inputs.kafka.metric]]
    name         = "kafka_request_handler"
    mbean        = "kafka.server:type=KafkaRequestHandlerPool,name=*"
    field_prefix = "#1."

  [[inputs.kafka.metric]]
    name         = "kafka_network"
    mbean        = "kafka.network:type=*,name=*"
    field_name   = "#2"
    tag_keys     = ["type"]

  [[inputs.kafka.metric]]
    name         = "kafka_topics"
    mbean        = "kafka.server:name=*,type=BrokerTopicMetrics"
    field_prefix = "#1."

  [[inputs.kafka.metric]]
    name         = "kafka_topic"
    mbean        = "kafka.server:name=*,topic=*,type=BrokerTopicMetrics"
    field_prefix = "#1."
    tag_keys     = ["topic"]

  [[inputs.kafka.metric]]
    name       = "kafka_partition"
    mbean      = "kafka.log:name=*,partition=*,topic=*,type=Log"
    field_name = "#1"
    tag_keys   = ["topic", "partition"]

  [[inputs.kafka.metric]]
    name       = "kafka_log"
    mbean      = "kafka.log:type=*,name=*"
    field_name = "#2"
    tag_keys   = ["type"]

  [[inputs.kafka.metric]]
    name       = "kafka_partition"
    mbean      = "kafka.cluster:name=UnderReplicated,partition=*,topic=*,type=Partition"
    field_name = "UnderReplicatedPartitions"
    tag_keys   = ["topic", "partition"]

  # # The following metrics are available on consumer instances.
  # [[inputs.kafka.metric]]
  #   name       = "kafka_consumer"
  #   mbean      = "kafka.consumer:type=*,client-id=*"
  #   tag_keys   = ["client-id", "type"]

  # # The following metrics are available on producer instances.  
  # [[inputs.kafka.metric]]
  #   name       = "kafka_producer"
  #   mbean      = "kafka.producer:type=*,client-id=*"
  #   tag_keys   = ["client-id", "type"]

  # # The following metrics are available on connector instances.
  # [[inputs.kafka.metric]]
  #   name       = "kafka_connect"
  #   mbean      = "kafka.connect:type=*"
  #   tag_keys   = ["type"]

  # [[inputs.kafka.metric]]
  #   name       = "kafka_connect"
  #   mbean      = "kafka.connect:type=*,connector=*"
  #   tag_keys   = ["type", "connector"]

  # [[inputs.kafka.metric]]
  #   name       = "kafka_connect"
  #   mbean      = "kafka.connect:type=*,connector=*,task=*"
  #   tag_keys   = ["type", "connector", "task"]

  # [inputs.kafka.log]
  # files = []
  # #grok pipeline script path
  # pipeline = "kafka.p"

  [inputs.kafka.tags]
  # some_tag = "some_value"
  # more_tag = "some_other_value"

配置好后,重启 DataKit 即可。

目前可以通过 ConfigMap 方式注入采集器配置来开启采集器。

采集模式

Kafka 采集器支持两种采集模式:

  1. 自动采集模式(默认):自动发现并采集所有 Kafka 相关的 MBean 指标(kafka.*:*),无需手动配置。
  2. 手动模式:需要手动配置要采集的 MBean 指标,通过 [[inputs.kafka.metric]] 配置项指定。

自动采集模式(默认)

默认情况下,Kafka 采集器使用自动采集模式,会自动发现并采集所有 Kafka MBean 指标。无需额外配置即可使用:

[[inputs.kafka]]
  urls = ["http://localhost:8080/jolokia"]
  enable_auto_collect = true  # 默认已启用

重要提示:启用自动采集模式后,所有指标会统一上报到指标集 kafka,以及指标名(字段名)会按照 domain.type.name.attr 格式命名。如果需要使用之前的指标集(如 kafka_controllerkafka_replica_managerkafka_topic 等)以及指标名,请设置 enable_auto_collect = false 并使用手动模式进行配置。

MBean 黑名单

在自动采集模式下,可以通过 mbean_blacklist 配置项排除不需要采集的 MBean(支持通配符 *?):

[[inputs.kafka]]
  mbean_blacklist = [
    "kafka.log:*",  # 排除 kafka.log 域下的所有 MBean
    "kafka.server:name=*,topic=*,type=BrokerTopicMetrics",  # 排除所有 topic 级别的 BrokerTopicMetrics MBean
  ]
字段命名规则

在自动采集模式下,字段名遵循以下格式:domain.type.name.attr

  • domain:MBean 的域名(如 kafka.serverkafka.controller
  • type:MBean 的 type 属性值(如 BrokerTopicMetricsReplicaManager
  • name:MBean 的 name 属性值(如 MessagesInPerSecBytesInPerSec
  • attr:MBean 的属性名(如 CountValueMeanRateOneMinuteRateFiveMinuteRateFifteenMinuteRate

常见的 MBean 属性包括:

  • Count:自启动以来的累计值
  • Value:当前值(用于 Gauge 类型指标)
  • MeanRate:自启动以来的平均速率
  • OneMinuteRate:过去一分钟的平均速率
  • FiveMinuteRate:过去五分钟的平均速率
  • FifteenMinuteRate:过去十五分钟的平均速率

示例字段名:

  • kafka.controller.KafkaController.GlobalTopicCount.Value:全局 Topic 数
  • kafka.server.ReplicaManager.PartitionCount.Value:分区数
标签提取规则

自动采集模式会从 MBean 的属性中提取标签,常见的标签包括:

  • request:请求类型
  • topic:Kafka topic 名称
  • delayedOperation:延迟操作类型
  • error:错误类型
  • version:版本信息
  • partition:Kafka 分区 ID

注意:domaintypename 默认不会作为标签。这些信息会作为字段名的一部分(格式:domain.type.name.attr)。

MBean 参考文档

关于 Kafka MBean 的详细说明和含义,建议参考 Kafka 官方文档 中的监控指标部分。

使用手动模式

如果需要使用手动模式,可以设置 enable_auto_collect = false 并配置 [[inputs.kafka.metric]] 项:

[[inputs.kafka]]
  urls = ["http://localhost:8080/jolokia"]
  enable_auto_collect = false

  [[inputs.kafka.metric]]
    name         = "kafka_controller"
    mbean        = "kafka.controller:name=*,type=*"
    field_prefix = "#1."

指标

以下所有数据采集,默认会追加全局选举 tag,也可以在配置中通过 [inputs.kafka.tags] 指定其它标签:

[inputs.kafka.tags]
  # some_tag = "some_value"
  # more_tag = "some_other_value"
  # ...

kafka

指标集仅用于自动采集模式。当 enable_auto_collect=true 时,包含所有自动采集的 Kafka MBean 指标。字段格式为 domain.type.name.attr。

Tags & Fields Description
delayedOperation
(tag)
Delayed operation type.
host
(tag)
Hostname.
jolokia_agent_url
(tag)
Full Jolokia agent URL.
partition
(tag)
Partition number.
request
(tag)
Request type.
topic
(tag)
Topic name.
kafka.controller.ControllerChannelManager.TotalQueueSize.Value
Type: int | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueSize.Value
Type: int | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerEventManager.EventQueueTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerEventManager.EventQueueTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.AutoLeaderBalanceRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControlledShutdownRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerChangeRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ControllerShutdownRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.IsrChangeRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderAndIsrResponseReceivedRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LeaderElectionRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ListPartitionReassignmentRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.LogDirChangeRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.ManualLeaderBalanceRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.PartitionReassignmentRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicChangeRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicDeletionRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.TopicUncleanLeaderElectionEnableRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionEnableRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UncleanLeaderElectionsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.50thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.75thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.95thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.98thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.999thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.99thPercentile
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.Count
Type: int | (count)
Unit: count
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.Max
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.Mean
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.MeanRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.Min
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.controller.ControllerStats.UpdateFeaturesRateAndTimeMs.StdDev
Type: float | (gauge)
Unit: -
kafka.controller.KafkaController.ActiveControllerCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.ControllerState.Value
Type: int | (gauge)
Unit: -
kafka.controller.KafkaController.GlobalPartitionCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.GlobalTopicCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.OfflinePartitionsCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.PreferredReplicaImbalanceCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.ReplicasIneligibleToDeleteCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.ReplicasToDeleteCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.TopicsIneligibleToDeleteCount.Value
Type: int | (count)
Unit: count
kafka.controller.KafkaController.TopicsToDeleteCount.Value
Type: int | (count)
Unit: count
kafka.log.Log.LogEndOffset.Value
Type: int | (gauge)
Unit: -
Tagged by: partition, topic
kafka.log.Log.LogStartOffset.Value
Type: int | (gauge)
Unit: -
Tagged by: partition, topic
kafka.log.Log.NumLogSegments.Value
Type: int | (gauge)
Unit: -
Tagged by: partition, topic
kafka.log.Log.Size.Value
Type: int | (gauge)
Unit: -
Tagged by: partition, topic
kafka.log.LogCleaner.DeadThreadCount.Value
Type: int | (count)
Unit: count
kafka.log.LogCleaner.cleaner_recopy_percent.Value
Type: float | (gauge)
Unit: -
kafka.log.LogCleaner.max_buffer_utilization_percent.Value
Type: float | (gauge)
Unit: -
kafka.log.LogCleaner.max_clean_time_secs.Value
Type: int | (gauge)
Unit: time,s
kafka.log.LogCleaner.max_compaction_delay_secs.Value
Type: int | (gauge)
Unit: time,s
kafka.log.LogManager.OfflineLogDirectoryCount.Value
Type: int | (count)
Unit: count
kafka.network.RequestMetrics.LocalTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.LocalTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RemoteTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestBytes.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.RequestQueueTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseQueueTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ResponseSendTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.ThrottleTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.Count
Type: int | (count)
Unit: count
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.Max
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.Mean
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.Min
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.RequestMetrics.TotalTimeMs.StdDev
Type: float | (gauge)
Unit: time,ms
Tagged by: request
kafka.network.SocketServer.ExpiredConnectionsKilledCount.Value
Type: int | (count)
Unit: count
kafka.network.SocketServer.MemoryPoolAvailable.Value
Type: int | (count)
Unit: count
kafka.network.SocketServer.MemoryPoolUsed.Value
Type: int | (count)
Unit: count
kafka.network.SocketServer.NetworkProcessorAvgIdlePercent.Value
Type: float | (gauge)
Unit: -
kafka.network.SocketServer.kafka.network.SocketServer.ControlPlaneExpiredConnectionsKilledCount.Value
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.BytesInPerSec.Count
Type: int | (count)
Unit: count
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesInPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesInPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesInPerSec.MeanRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesInPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesOutPerSec.Count
Type: int | (count)
Unit: count
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesOutPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesOutPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesOutPerSec.MeanRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesOutPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.BytesRejectedPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.BytesRejectedPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.BytesRejectedPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.BytesRejectedPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.BytesRejectedPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedFetchRequestsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.FailedFetchRequestsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedFetchRequestsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedFetchRequestsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedFetchRequestsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedProduceRequestsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.FailedProduceRequestsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedProduceRequestsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedProduceRequestsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FailedProduceRequestsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FetchMessageConversionsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.FetchMessageConversionsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FetchMessageConversionsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FetchMessageConversionsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.FetchMessageConversionsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMagicNumberRecordsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.InvalidMagicNumberRecordsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMagicNumberRecordsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMagicNumberRecordsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMagicNumberRecordsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMessageCrcRecordsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.InvalidMessageCrcRecordsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMessageCrcRecordsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMessageCrcRecordsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidMessageCrcRecordsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidOffsetOrSequenceRecordsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.InvalidOffsetOrSequenceRecordsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidOffsetOrSequenceRecordsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidOffsetOrSequenceRecordsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.InvalidOffsetOrSequenceRecordsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.MessagesInPerSec.Count
Type: int | (count)
Unit: count
Tagged by: topic
kafka.server.BrokerTopicMetrics.MessagesInPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.MessagesInPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.MessagesInPerSec.MeanRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.MessagesInPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.NoKeyCompactedTopicRecordsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.NoKeyCompactedTopicRecordsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.NoKeyCompactedTopicRecordsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.NoKeyCompactedTopicRecordsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.NoKeyCompactedTopicRecordsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ProduceMessageConversionsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.ProduceMessageConversionsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ProduceMessageConversionsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ProduceMessageConversionsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ProduceMessageConversionsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesInPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.ReassignmentBytesInPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesInPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesInPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesInPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesOutPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.ReassignmentBytesOutPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesOutPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesOutPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReassignmentBytesOutPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesInPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.ReplicationBytesInPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesInPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesInPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesInPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesOutPerSec.Count
Type: int | (count)
Unit: count
kafka.server.BrokerTopicMetrics.ReplicationBytesOutPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesOutPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesOutPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.ReplicationBytesOutPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.BrokerTopicMetrics.TotalFetchRequestsPerSec.Count
Type: int | (count)
Unit: count
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalFetchRequestsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalFetchRequestsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalFetchRequestsPerSec.MeanRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalFetchRequestsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalProduceRequestsPerSec.Count
Type: int | (count)
Unit: count
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalProduceRequestsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalProduceRequestsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalProduceRequestsPerSec.MeanRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.BrokerTopicMetrics.TotalProduceRequestsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
Tagged by: topic
kafka.server.DelayedOperationPurgatory.NumDelayedOperations.Value
Type: int | (gauge)
Unit: -
Tagged by: delayedOperation
kafka.server.DelayedOperationPurgatory.PurgatorySize.Value
Type: int | (gauge)
Unit: -
Tagged by: delayedOperation
kafka.server.KafkaRequestHandlerPool.RequestHandlerAvgIdlePercent.Count
Type: int | (count)
Unit: count
kafka.server.KafkaRequestHandlerPool.RequestHandlerAvgIdlePercent.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.KafkaRequestHandlerPool.RequestHandlerAvgIdlePercent.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.KafkaRequestHandlerPool.RequestHandlerAvgIdlePercent.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.KafkaRequestHandlerPool.RequestHandlerAvgIdlePercent.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.AtMinIsrPartitionCount.Value
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.FailedIsrUpdatesPerSec.Count
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.FailedIsrUpdatesPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.FailedIsrUpdatesPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.FailedIsrUpdatesPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.FailedIsrUpdatesPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrExpandsPerSec.Count
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.IsrExpandsPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrExpandsPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrExpandsPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrExpandsPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrShrinksPerSec.Count
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.IsrShrinksPerSec.FifteenMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrShrinksPerSec.FiveMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrShrinksPerSec.MeanRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.IsrShrinksPerSec.OneMinuteRate
Type: float | (gauge)
Unit: -
kafka.server.ReplicaManager.LeaderCount.Value
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.OfflineReplicaCount.Value
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.PartitionCount.Value
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.ReassigningPartitions.Value
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.UnderMinIsrPartitionCount.Value
Type: int | (count)
Unit: count
kafka.server.ReplicaManager.UnderReplicatedPartitions.Value
Type: int | (count)
Unit: count
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.50thPercentile
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.75thPercentile
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.95thPercentile
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.98thPercentile
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.999thPercentile
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.99thPercentile
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.Count
Type: int | (count)
Unit: count
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.Max
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.Mean
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.Min
Type: float | (gauge)
Unit: time,ms
kafka.server.ZooKeeperClientMetrics.ZooKeeperRequestLatencyMs.StdDev
Type: float | (gauge)
Unit: time,ms

collector

Tags & Fields Description
instance
(tag)
Server addr of the instance
job
(tag)
Server name of the instance
up
Type: int | (gauge)
Unit: -

日志

如需采集 Kafka 的日志,可在 kafka.conf 中 将 files 打开,并写入 kafka 日志文件的绝对路径。比如:

[[inputs.kafka]]
  ...
  [inputs.kafka.log]
    files = ["/usr/local/var/log/kafka/error.log","/usr/local/var/log/kafka/kafka.log"]

开启日志采集以后,默认会产生日志来源(source)为 kafka 的日志。

注意:必须将 DataKit 安装在 Kafka 所在主机才能采集 Kafka 日志

切割日志示例:

[2020-07-07 15:04:29,333] DEBUG Progress event: HTTP_REQUEST_COMPLETED_EVENT, bytes: 0 (io.confluent.connect.s3.storage.S3OutputStream:286)

切割后的字段列表如下:

字段名 字段值
msg Progress event: HTTP_REQUEST_COMPLETED_EVENT, bytes: 0
name io.confluent.connect.s3.storage.S3OutputStream:286
status DEBUG
time 1594105469333000000

FAQ

为什么看不到 kafka_producer/kafka_consumer/kafka_connect 指标集?

在开启 Kafka 服务后,如需采集 Producer/Consumer/Connector 指标,则需分别为其配置 Jolokia。

参考 Kafka Quick Start ,以 Producer 为例,先配置 KAFKA_OPTS 环境变量,示例如下:

export KAFKA_OPTS="-javaagent:/usr/local/datakit/data/jolokia-jvm-agent.jar=host=127.0.0.1,port=8090"

进入 Kafka 目录下启动一个 Producer:

bin/kafka-console-producer.sh --topic quickstart-events --bootstrap-server localhost:9092

复制出一个 kafka.conf 以开启多个 Kafka 采集器,并配置该 url:

  urls = ["http://localhost:8090/jolokia"]

并将采集 Producer 指标部分的字段去掉注释:

  # The following metrics are available on producer instances.  
  [[inputs.kafka.metric]]
    name       = "kafka_producer"
    mbean      = "kafka.producer:type=*,client-id=*"
    tag_keys   = ["client-id", "type"]

重启 DataKit,这时 DataKit 便可采集到 Producer 实例的指标。

文档评价

文档内容是否对您有帮助? ×