Skip to content

Commit c5f4e0e

Browse files
committed
add a few comments
1 parent d347336 commit c5f4e0e

File tree

1 file changed

+8
-0
lines changed
  • instrumentation/jmx-metrics/library/src/main/resources/jmx/rules

1 file changed

+8
-0
lines changed

instrumentation/jmx-metrics/library/src/main/resources/jmx/rules/wildfly.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,22 @@ rules:
77
wildfly.deployment: param(deployment)
88
unit: "{session}"
99
mapping:
10+
# wildfly.session.created
1011
sessionsCreated:
1112
metric: created
1213
type: counter
1314
desc: The number of sessions created
15+
# wildfly.session.count
1416
activeSessions:
1517
metric: count
1618
type: updowncounter
1719
desc: The number of active sessions
20+
# wildfly.session.expired
1821
expiredSessions:
1922
metric: expired
2023
type: counter
2124
desc: The number of expired sessions
25+
# wildfly.session.rejected
2226
rejectedSessions:
2327
metric: rejected
2428
type: counter
@@ -31,20 +35,24 @@ rules:
3135
wildfly.listener: param(http-listener)
3236
type: counter
3337
mapping:
38+
# wildfly.request.count
3439
requestCount:
3540
metric: request.count
3641
unit: "{request}"
3742
desc: The number of requests received
43+
# wildfly.request.duration.sum
3844
processingTime:
3945
metric: request.duration.sum
4046
sourceUnit: ns
4147
unit: s
4248
desc: The total amount of time spent processing requests.
49+
# wildfly.error.count
4350
errorCount:
4451
metric: error.count
4552
unit: "{request}"
4653
desc: The number of requests that have resulted in a 5xx response.
4754

55+
# wildly.network.io
4856
- bean: jboss.as:subsystem=undertow,server=*,http-listener=*
4957
metricAttribute:
5058
wildfly.server: param(server)

0 commit comments

Comments
 (0)