-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtomcat-metrics.yml.sample
36 lines (35 loc) · 1.07 KB
/
tomcat-metrics.yml.sample
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
# Standard JVM Metrics
collect:
- domain: Catalina
event_type: TomcatSample
beans:
- query: type=Executor,name=*
attributes:
- poolSize
- activeCount
- query: type=ThreadPool,name=*
attributes:
- maxThreads
- connectionCount
- query: type=GlobalRequestProcessor,name=*
attributes:
- attr: bytesSent
metric_type: rate
- attr: bytesReceived
metric_type: rate
- attr: errorCount
metric_type: rate
- maxTime
- attr: requestCount
metric_type: rate
- query: type=Manager,*
attributes:
- activeSessions
- attr: sessionCounter
metric_type: rate
- attr: expiredSessions
metric_type: rate
- query: type=DataSource,*
attributes:
- numActive
- numIdle