Difference between revisions of "PEC-OU/Current/CXCPEGuide/DMMetrics"
(Published) |
(Published) |
||
Line 6: | Line 6: | ||
|Endpoint=/metrics | |Endpoint=/metrics | ||
|MetricsUpdateInterval=15 seconds | |MetricsUpdateInterval=15 seconds | ||
+ | |MetricsDefined=Yes | ||
|PEMetric={{PEMetric | |PEMetric={{PEMetric | ||
|Metric=cxc_dm_healthy_instance | |Metric=cxc_dm_healthy_instance | ||
Line 102: | Line 103: | ||
}} | }} | ||
|AlertsDefined=Yes | |AlertsDefined=Yes | ||
+ | |PEAlert={{PEAlert | ||
+ | |Alert=CXC-DM-LatencyHigh | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the latency for dial manager is above the defined threshold. | ||
+ | |Threshold=5000ms for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-CPUUsage | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the CPU utilization of a pod is beyond the threshold | ||
+ | |Threshold=300% for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-MemoryUsage | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the memory utilization of a pod is beyond the threshold. | ||
+ | |Threshold=70% for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-PodNotReadyCount | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the number of pods ready for a CX Contact deployment is less than or equal to the threshold. | ||
+ | |Threshold=1 for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-PodRestartsCount | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the restart count for a pod is beyond the threshold. | ||
+ | |Threshold=1 for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-MemoryUsagePD | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the memory usage of a pod is above the critical threshold. | ||
+ | |Threshold=90% for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-PodRestartsCountPD | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when the restart count is beyond the critical threshold. | ||
+ | |Threshold=5 for 5m | ||
+ | }}{{PEAlert | ||
+ | |Alert=CXC-PodsNotReadyPD | ||
+ | |Severity=HIGH | ||
+ | |AlertDescription=Triggered when there are no pods ready for CX Contact deployment. | ||
+ | |Threshold=0 for 1m | ||
+ | }} | ||
}} | }} |
Latest revision as of 14:22, February 7, 2022
Find the metrics DM exposes and the alerts defined for DM.
Service | CRD or annotations? | Port | Endpoint/Selector | Metrics update interval |
---|---|---|---|---|
Dial Manager | ServiceMonitor | 3109 | /metrics | 15 seconds |
See details about:
Metrics[edit source]
Metric and description | Metric details | Indicator of |
---|---|---|
cxc_ Healthy instance. |
Unit: Type: Gauge |
|
cxc_ Total processed batches. |
Unit: Type: Counter |
|
cxc_ Total processed messages. |
Unit: Type: Counter |
|
cxc_ Total opt out messages. |
Unit: Type: Counter |
|
cxc_ Total failed messages. |
Unit: Type: Counter |
|
cxc_ Batch size histogram. |
Unit: Type: Histogram |
|
cxc_ Processing message duration histogram. |
Unit: Type: Histogram |
|
cxc_ Delivery buffer size. |
Unit: Type: Gauge |
|
cxc_ Total test messages. |
Unit: Type: Counter |
|
cxc_ Total failed test messages. |
Unit: Type: Counter |
|
cxc_ The current status of the connection to the Nexus service. |
Unit: Type: Gauge |
|
cxc_ Total requests made to Nexus via websocket. |
Unit: Type: Counter |
|
cxc_ Request latencies histogram by tenant, 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_ Elasticsearch Request latencies histogram by verb, destination, and code, in milliseconds. |
Unit: Type: Histogram |
Alerts[edit source]
The following alerts are defined for Dial Manager.
Alert | Severity | Description | Based on | Threshold |
---|---|---|---|---|
CXC-DM-LatencyHigh | HIGH | Triggered when the latency for dial manager 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 |