forked from open-telemetry/opentelemetry-java-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwildfly.yaml
More file actions
106 lines (102 loc) · 3.04 KB
/
wildfly.yaml
File metadata and controls
106 lines (102 loc) · 3.04 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
---
rules:
- bean: jboss.as:deployment=*,subsystem=undertow
metricAttribute:
deployment: param(deployment)
prefix: wildfly.session.
unit: "{session}"
mapping:
sessionsCreated:
metric: count
type: counter
desc: The number of sessions created.
activeSessions:
metric: active
type: updowncounter
desc: The number of currently active sessions.
expiredSessions:
metric: expired
type: counter
desc: The number of sessions that have expired.
rejectedSessions:
metric: rejected
type: counter
desc: The number of sessions that have been rejected.
- bean: jboss.as:subsystem=undertow,server=*,http-listener=*
metricAttribute:
server: param(server)
listener: param(http-listener)
prefix: wildfly.
type: counter
mapping:
requestCount:
metric: request.count
unit: "{request}"
desc: The number of requests received.
processingTime:
metric: request.time
unit: ns
desc: The total amount of time spent on requests.
errorCount:
metric: request.server_error
unit: "{request}"
desc: The number of requests that have resulted in a 5xx response.
bytesSent:
metric: &metric network.io
unit: &unit By
desc: &desc "The number of bytes transmitted."
metricAttribute:
state: const(out)
bytesReceived:
metric: *metric
unit: *unit
desc: *desc
metricAttribute:
state: const(in)
- bean: jboss.as:subsystem=datasources,data-source=*,statistics=pool
metricAttribute:
data_source: param(data-source)
prefix: wildfly.jdbc.
mapping:
ActiveCount:
metric: &metric connection.open
type: updowncounter
unit: &unit "{connection}"
desc: &desc The number of open jdbc connections.
metricAttribute:
state: const(active)
IdleCount:
metric: *metric
type: updowncounter
unit: *unit
desc: *desc
metricAttribute:
state: const(idle)
WaitCount:
type: counter
metric: request.wait
unit: "{request}"
desc: The number of jdbc connections that had to wait before opening.
- bean: jboss.as:subsystem=transactions
prefix: wildfly.jdbc.
unit: "{transaction}"
type: counter
mapping:
numberOfTransactions:
metric: transaction.count
desc: The number of transactions created.
numberOfSystemRollbacks:
metric: rollback.count
desc: The number of transactions rolled back.
metricAttribute:
cause: const(system)
numberOfResourceRollbacks:
metric: rollback.count
desc: The number of transactions rolled back.
metricAttribute:
cause: const(resource)
numberOfApplicationRollbacks:
metric: rollback.count
desc: The number of transactions rolled back.
metricAttribute:
cause: const(application)