Skip to content

Commit 96e71a7

Browse files
committed
Merge branch '370-fix' into 'main'
Added example of healthState and overallHealthState of the ServerRuntime See merge request weblogic-cloud/weblogic-monitoring-exporter!296
2 parents 53a0390 + 88e4434 commit 96e71a7

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

samples/configurations/healthState.yml

+16-6
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@
55
metricsNameSnakeCase: true
66
queries:
77
- key: name
8-
keyName: server
9-
jtaRuntime:
10-
key: name
11-
keyName: jta
12-
healthState:
13-
prefix: wls_jta_health_
8+
prefix: wls_server_
9+
stringValues:
10+
state: [SHUTDOWN,STARTING,RUNNING,STANDBY,FORCE_SUSPENDING,RESUMING,SHUTTING_DOWN,FAILED,UNKNOWN,FAILED_NOT_RESTARTABLE,ADMIN,FORCE_SHUTTING_DOWN]
11+
overallHealthState:
12+
prefix: wls_server_overallhealth_
13+
stringValues:
14+
state: [ok,failed,overloaded,critical,warn]
15+
healthState:
16+
prefix: wls_server_health_
17+
stringValues:
18+
state: [ok,failed,overloaded,critical,warn]
19+
- JTARuntime:
20+
prefix: wls_jta_
21+
key: name
22+
healthState:
23+
prefix: wls_jta_health_
1424
stringValues:
1525
state: [ok,failed,overloaded,critical,warn]

0 commit comments

Comments
 (0)