-
Notifications
You must be signed in to change notification settings - Fork 945
/
Copy pathtomcat.yaml
67 lines (67 loc) · 1.76 KB
/
tomcat.yaml
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
---
rules:
- bean: Catalina:type=GlobalRequestProcessor,name=*
unit: 1
prefix: http.server.tomcat.
metricAttribute:
name: param(name)
mapping:
errorCount:
metric: errorCount
type: gauge
desc: The number of errors per second on all request processors
requestCount:
metric: requestCount
type: gauge
desc: The number of requests per second across all request processors
maxTime:
metric: maxTime
type: gauge
unit: ms
desc: The longest request processing time
processingTime:
metric: processingTime
type: counter
unit: ms
desc: Total time for processing all requests
bytesReceived:
metric: traffic
type: counter
unit: By
desc: The number of bytes transmitted
metricAttribute:
direction: const(received)
bytesSent:
metric: traffic
type: counter
unit: By
desc: The number of bytes transmitted
metricAttribute:
direction: const(sent)
- bean: Catalina:type=Manager,host=localhost,context=*
unit: 1
prefix: http.server.tomcat.
type: updowncounter
metricAttribute:
context: param(context)
mapping:
activeSessions:
metric: sessions.activeSessions
desc: The number of active sessions
- bean: Catalina:type=ThreadPool,name=*
unit: '{threads}'
prefix: http.server.tomcat.
type: updowncounter
metricAttribute:
name: param(name)
mapping:
currentThreadCount:
metric: threads
desc: Thread Count of the Thread Pool
metricAttribute:
state: const(idle)
currentThreadsBusy:
metric: threads
desc: Thread Count of the Thread Pool
metricAttribute:
state: const(busy)