Job Scheduler metrics and alerts
Find the metrics JS exposes and the alerts defined for JS.
Service | CRD or annotations? | Port | Endpoint/Selector | Metrics update interval |
---|---|---|---|---|
Job Scheduler | ServiceMonitor | 3108 | /metrics | 15 seconds |
See details about:
Metrics[edit source]
Metric and description | Metric details | Indicator of |
---|---|---|
сxc_ Total jobs executed. |
Unit: Type: Counter |
|
cxc_ Total failed jobs. |
Unit: Type: Counter |
|
cxc_ Total successful jobs. |
Unit: Type: Counter |
|
cxc_ Total jobs with Nothing TO DO result. |
Unit: Type: Counter |
|
cxc_ Total jobs that were started manually. |
Unit: Type: Counter |
|
cxc_ Total files imported. |
Unit: Type: Counter |
|
cxc_ Total ttl exceeded jobs. |
Unit: Type: Counter |
|
cxc_ Number of currently active jobs. |
Unit: Type: Gauge |
|
cxc_ Count of active connections to Redis server. |
Unit: Type: Gauge |
|
cxc_ Job duration histogram. |
Unit: Type: Histogram |
|
cxc_ Job import file size histogram. |
Unit: Type: Histogram |
|
cxc_ Healthy instance. |
Unit: Type: Gauge |
|
cxc_ Total requests by verb and code. |
Unit: Type: Counter |
|
cxc_ Request latencies histogram by verb, in milliseconds. |
Unit: Type: Histogram |
|
cxc_ Total out requests by verb, destination, and code. |
Unit: Type: Counter |
|
cxc_ Out Request latencies histogram by verb, destination, and code, in milliseconds. |
Unit: Type: Histogram |
|
cxc_ Healthy tenants. |
Unit: Type: Gauge |
Alerts[edit source]
The following alerts are defined for Job Scheduler.
Alert | Severity | Description | Based on | Threshold |
---|---|---|---|---|
CXC-JS-LatencyHigh | HIGH | Triggered when the latency for job scheduler is above the defined threshold. | 5000ms for 5m
| |
CXC-CPUUsage | HIGH | Triggered when the CPU utilization of a pod is beyond the threshold | 300% for 5m
| |
CXC-MemoryUsage | HIGH | Triggered when the memory utilization of a pod is beyond the threshold. | 70% for 5m
| |
CXC-PodNotReadyCount | HIGH | Triggered when the number of pods ready for a CX Contact deployment is less than or equal to the threshold. | 1 for 5m
| |
CXC-PodRestartsCount | HIGH | Triggered when the restart count for a pod is beyond the threshold. | 1 for 5m
| |
CXC-MemoryUsagePD | HIGH | Triggered when the memory usage of a pod is above the critical threshold. | 90% for 5m
| |
CXC-PodRestartsCountPD | HIGH | Triggered when the restart count is beyond the critical threshold. | 5 for 5m
| |
CXC-PodsNotReadyPD | HIGH | Triggered when there are no pods ready for CX Contact deployment. | 0 for 1m |