ActiveMQ 主题指标集
编辑ActiveMQ 主题指标集编辑
这是 ActiveMQ 模块的 topic
指标集。
该指标集提供了描述可用 ActiveMQ 主题的指标,特别是交换的消息(已入队、已出队、已过期、正在传输)、已连接的消费者和生产者。
为了收集数据,该模块与 Jolokia HTTP/REST 端点通信,该端点通过 HTTP/REST/JSON 暴露 JMX 指标(JMX 密钥:org.apache.activemq:brokerName=localhost,destinationName=sample_queue,destinationType=Queue,type=Broker
)。
主题指标集附带一个预定义的仪表盘
这是一个默认指标集。如果主机模块未配置,则默认情况下会启用该指标集。
有关指标集中每个字段的描述,请参阅 导出字段 部分。
以下是由该指标集生成的示例文档
{ "@timestamp": "2019-11-19T13:14:29.796Z", "@metadata": { "beat": "metricbeat", "type": "_doc", "version": "8.0.0" }, "service": { "type": "activemq", "address": "localhost:33051" }, "activemq": { "topic": { "name": "sample_topic", "memory": { "broker": { "pct": 0 } }, "mbean": "org.apache.activemq:brokerName=localhost,destinationName=sample_topic,destinationType=Topic,type=Broker", "producers": { "count": 0 }, "consumers": { "count": 0 }, "messages": { "inflight": { "count": 0 }, "expired": { "count": 0 }, "enqueue": { "time": { "max": 0, "avg": 0, "min": 0 }, "count": 2 }, "dequeue": { "count": 0 }, "dispatch": { "count": 0 }, "size": { "avg": 1037 } } } }, "ecs": { "version": "1.2.0" }, "host": { "name": "macbook.local" }, "agent": { "version": "8.0.0", "type": "metricbeat", "ephemeral_id": "99de94c0-c183-438d-9751-428e3ea3bbbd", "hostname": "macbook.local", "id": "8d20f9a9-b24d-419b-97e6-bcccfb64679c" }, "event": { "dataset": "activemq.topic", "module": "activemq", "duration": 34431327 }, "metricset": { "period": 5000, "name": "topic" } }