如何在 New Relic 中动态公开和查看 ActiveMQ 队列和主题

问题描述 投票:0回答:0

我安装了一个基础设施代理并使用 JMX 将数据导入 ActiveMQ。 对于我的主题和队列条目,我的 jvm-metrics.yml 看起来像这样,但我最多只能输入两三个,没有其他人出现 -

      - query: type=Broker,brokerName=<name>,destinationType=Topic,destinationName=<name> 
        attributes:
          - AlwaysRetroactive
          - AverageBlockedTime
          - AverageEnqueueTime
          - AverageMessageSize
          - BlockedSends
          - BlockedProducerWarningInterval
          - ConsumerCount
          - DequeueCount
          - DispatchCount
          - DLQ
          - EnqueueCount
          - ExpiredCount
          - ForwardCount
          - InFlightCount
          - MaxAuditDepth
          - MaxEnqueueTime
          - MaxMessageSize
          - MaxPageSize
          - MaxProducersToAudit
          - MemoryLimit
          - MemoryPercentUsage
          - MemoryUsageByteCount
          - MemoryUsagePortion
          - MinEnqueueTime
          - MinMessageSize
          - Name
          - Options
          - PrioritizedMessages
          - ProducerCount
          - ProducerFlowControl
          - QueueSize
          - SlowConsumerStrategy
          - StoreMessageSize
          - Subscriptions
          - TotalBlockedTime
          - useCache

我试过使用通配符,但它们对我不起作用。还有另一种添加队列和主题的方法吗?我也想避免手动收集主题和队列列表。

jvm queue activemq jmx newrelic
© www.soinside.com 2019 - 2024. All rights reserved.