forked from open-telemetry/opentelemetry-java-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivemq.yaml
More file actions
71 lines (70 loc) · 2.4 KB
/
activemq.yaml
File metadata and controls
71 lines (70 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
rules:
- beans:
- org.apache.activemq:type=Broker,brokerName=*,destinationType=Queue,destinationName=*
- org.apache.activemq:type=Broker,brokerName=*,destinationType=Topic,destinationName=*
metricAttribute:
destination: param(destinationName)
broker: param(brokerName)
prefix: activemq.
mapping:
ProducerCount:
metric: producer.count
unit: "{producer}"
type: updowncounter
desc: The number of producers currently attached to the broker.
ConsumerCount:
metric: consumer.count
unit: "{consumer}"
type: updowncounter
desc: The number of consumers currently reading from the broker.
MemoryPercentUsage:
metric: memory.usage
unit: "%"
type: gauge
desc: The percentage of configured memory used.
QueueSize:
metric: message.current
unit: "{message}"
type: updowncounter
desc: The current number of messages waiting to be consumed.
ExpiredCount:
metric: message.expired
unit: "{message}"
type: counter
desc: The total number of messages not delivered because they expired.
EnqueueCount:
metric: message.enqueued
unit: "{message}"
type: counter
desc: The total number of messages received by the broker.
DequeueCount:
metric: message.dequeued
unit: "{message}"
type: counter
desc: The total number of messages delivered to consumers.
AverageEnqueueTime:
metric: message.wait_time.avg
unit: ms
type: gauge
desc: The average time a message was held on a destination.
- bean: org.apache.activemq:type=Broker,brokerName=*
metricAttribute:
# minor divergence from activemq.groovy to capture broker name, making it closer to
# the definition in JMX Insights
broker: param(brokerName)
prefix: activemq.
unit: "%"
type: gauge
mapping:
CurrentConnectionsCount:
metric: connection.count
type: updowncounter
unit: "{connection}"
desc: The total number of current connections.
StorePercentUsage:
metric: disk.store_usage
desc: The percentage of configured disk used for persistent messages.
TempPercentUsage:
metric: disk.temp_usage
desc: The percentage of configured disk used for non-persistent messages.