Monitoring ActiveMQ Artemis
在安裝 Instana 代理程式之後,會自動部署並安裝 ActiveMQ Artemis 感應器。
支援的版本
已確認支援下列版本的度量及配置資料: 2.0.0 至 2.6.x。 藉由支援這些 Artemis 版本, Instana 支援 JBoss AMQ 第 7 版以及更新版本。
啟用 JMX
如果未啟用 JMX ,則會在使用者介面中顯示下列訊息:
Jmx is not enabled.
You can enable it in activemq config by setting the broker property useJmx to true.
您可以從 /apache-artemis/bin/myinstance/etc/management.xml中移除 <authorisation> 元素來啟用 JMX 存取。
配置
若要啟用深度度量值監視,請將您要監視的佇列新增至代理程式配置檔 <agent_install_dir>/etc/instana/configuration.yaml:
com.instana.plugin.activemqartemis:
monitorQueues:
- 'test-queue'
- 'DLQ'
度量值集合
若要檢視度量值,請在「Instana 使用者」介面的資訊看板中選取 基礎架構 ,按一下特定的受監視主機,然後您可以看到包含所有已收集度量值及受監視處理程序的主機儀表板。
配置資料
- 版本
- 分配管理系統名稱
- 節點 ID
- 埠
- 記憶體 限制
- 位址
- 佇列
- 傳輸接收器
效能度量
整個分配管理系統
| 度量 | 說明 | 精度 |
|---|---|---|
| 已新增的訊息 | 新增至分配管理系統並從 activemq.artemis:broker#TotalMessagesAdded收集的訊息數。 |
1 秒 |
| 已確認的訊息 | 從分配管理系統確認 (及移除) 並從 activemq.artemis:broker#TotalMessagesAcknowledged收集的訊息數。 |
1 秒 |
| 已過期的訊息 | 分配管理系統上過期且從所有佇列的 subcomponent=queues#MessagesExpired 總和收集的訊息數。 |
1 秒 |
| 已停止的訊息數 | 在分配管理系統上停止的訊息數目,超出遞送嘗試次數上限,並從所有佇列的 subcomponent=queues#MessagesKilled 總和收集。 |
1 秒 |
| 訊息計數 | 所有佇列上的訊息計數,收集自所有佇列的 subcomponent=queues#MessageCount 總和。 |
1 秒 |
| 連線總數 | 分配管理系統上的連線總數,並從 activemq.artemis:broker#ConnectionCount收集。 |
1 秒 |
| 消費者總計 | 分配管理系統上並從 activemq.artemis:broker#TotalConsumerCount收集的消費者總數。 |
1 秒 |
| 記憶體用量 | 分配管理系統上所有位址使用並從 activemq.artemis:broker#AddressMemoryUsagePercentage收集的記憶體限制百分比。 |
1 秒 |
佇列
| 度量 | 說明 | 精度 |
|---|---|---|
| 訊息計數 | 目前在此佇列中的訊息數 (包括已排程、已分頁及遞送中訊息) ,並從 subcomponent=queues#MessageCount收集。 |
1 秒 |
| 已新增的訊息 | 新增至佇列並從 subcomponent=queues#MessagesAdded收集的訊息數。 |
1 秒 |
| 已確認的訊息 | 從佇列中確認 (及移除) 並從 subcomponent=queues#MessagesAcknowledged收集的訊息數。 |
1 秒 |
| 已過期的訊息 | 在此佇列上過期並從 subcomponent=queues#MessagesExpired收集的訊息數。 |
1 秒 |
| 已停止的訊息數 | 由於超出遞送嘗試次數上限而在此佇列上停止並從 subcomponent=queues#MessagesKilled收集的訊息數。 |
1 秒 |
性能簽章
對於每一個感應器,有一個經過策劃的性能簽章知識庫,可根據送入的度量值持續評估,並用來提出取決於使用者影響的問題或發生事件。
內建事件 會根據實體上失敗的性能簽章來觸發問題或突發事件,而 自訂事件 會根據任何實體的個別度量值臨界值來觸發問題或突發事件。
如需 ActiveMQ Artemis 感應器之內建事件的相關資訊,請參閱 內建事件參照。