| | |
Overview/One Screen Overview | | |
| | The total request rate across all API traffic (calculated based on data from the past 5 minutes), including requests to /healthz, /apis, and the metrics API. This information reflects the request load of the add-on. - Under normal circumstances, this value should fluctuate periodically and steadily in line with the collection interval of the HPA controller.
- If there is a sustained increase or spike, it usually indicates that a large number of HPA objects are frequently pulling custom metrics. We recommend checking whether any HPA has a configuration with an excessively short collection interval or whether there are abnormal metric query requests.
|
| | The proportion of 5xx error requests to total requests (calculated based on data from the past 5 minutes), reflecting the add-on's request error rate. - Under normal circumstances, the error rate should be close to 0%, and occasional brief fluctuations are within an acceptable range.
- If the error rate remains above 0% or rises significantly, it typically indicates that the add-on is encountering errors when processing custom metric queries. Check the add-on logs and verify whether the backend Prometheus is reachable.
|
| | The P99 latency of API requests (calculated based on data from the past 5 minutes), reflecting the tail latency of request processing by the adapter. - Under normal circumstances, the P99 latency should remain low, fluctuating with request volume but remaining overall stable.
- If the P99 latency increases significantly or remains persistently high, it usually indicates that the add-on's response is slowing down, which may impact the timeliness of HPA scaling that depends on custom metrics. Check the add-on's resource usage and the performance of backend Prometheus queries.
|
| | The cumulative number of panics (calculated based on data from the past 1 hour), reflecting the stability of the add-on process. - Under normal circumstances, this value should always be 0.
- If a value greater than 0 is observed, it indicates that the add-on process has crashed and restarted. Investigate the add-on logs immediately to identify the cause of the panic and resolve the issue...
|
| | The cumulative number of cache refresh triggers (calculated based on data from the past 10 minutes), reflecting the update frequency of the add-on's metric cache. - Under normal circumstances, this value should increase periodically at a fixed cycle, consistent with the cache refresh interval specified in the add-on configuration.
- If this value remains at 0 for an extended period, it indicates that the cache is not refreshed and custom metric data may have stopped updating. In this case, check whether the add-on is running normally. If the refresh count is high, there may be frequent restarts or a configuration anomaly.
|
| Automatic conversion (seconds / minutes / hours) | The continuous execution time of the prometheus-adapter process (current time minus process start time), reflecting the stability of the Adapter instance. - Under normal circumstances, this value should keep increasing monotonically, indicating that the add-on process is running stably without a restart.
- If this value drops sharply (resets to zero and starts growing again), it indicates that the add-on process has restarted. The Reason for restart should be investigated by correlating the Panics metric and Addon log.
|
API Service/API Quality of Service | | |
API Request Rate by Subresource / Code | | The average API request rate by subresource and status code (calculated based on data from the past 5 minutes), reflecting the request volume and response distribution for different subresources. - Under normal circumstances, the request rate varies with the query frequency of clients such as HPA, and success status codes should account for the majority.
- If the 4xx or 5xx request rate for a certain subresource continues to rise, we recommend troubleshooting request failures by correlating the corresponding status code, add-on logs, and Prometheus backend status.
|
| | The proportion of 5xx error requests to total requests (calculated based on data from the past 5 minutes), reflecting server-side errors encountered by the add-on when processing API requests. - Under normal circumstances, this proportion should be close to 0%.
- If this proportion continues to rise, it usually indicates that an abnormal condition occurred when the add-on processed custom metric queries. Check the add-on logs, resource usage, and whether the backend Prometheus is reachable.
|
| | The P50, P95, and P99 latency of API requests (calculated based on data from the past 5 minutes), reflecting the overall latency and tail latency of API requests. - Under normal conditions, all percentile values should remain stable, with P95 and P99 higher than P50.
- If P95 or P99 continues to rise, it indicates that some requests are becoming slower, which may affect the timeliness of HPA retrieving custom metrics. Check the component resource usage and the query performance of the backend Prometheus.
|
| | The number of API requests being processed by prometheus-adapter at the current time, shown by request type. This information reflects the add-on's real-time concurrent request pressure. - Under normal circumstances, this value fluctuates as requests arrive and are processed.
- If this value remains high or continues to increase, it indicates that requests may be accumulating. Troubleshoot process bottlenecks using API request Latency, CPU usage, and add-on logs.
|
API Request Rate by Verb / Subresource | | The average API request rate calculated by request method and subresource (based on data from the past 5 minutes), reflecting the access frequency of different types of custom metric queries. - Under normal circumstances, the request rate changes with the query frequency of clients such as HPA.
- When the request rate of a certain type increases abnormally, we recommend checking whether there are a large number of HPAs performing high-frequency queries on the same subresource or whether the client is configured with an excessively short query interval.
|
| | The cumulative number of TLS handshake errors for prometheus-adapter (calculated based on data from the past 5 minutes), reflecting anomalies encountered when clients establish encrypted connections to the add-on. - Under normal circumstances, this value should be 0.
- If this value is greater than 0 or continues to increase, check whether the aggregation API certificates are valid, whether the TLS configurations of the client and the add-on are consistent, and review the handshake error messages in the add-on logs.
|
Metric Discovery/Metric Discovery Cache | | |
| | The average cache refresh rate by refresh type (calculated based on data from the past 5 minutes), reflecting the update frequency of the metric discovery cache. - Under normal circumstances, this value should change regularly according to the cache refresh cycle specified in the add-on configuration.
- If this value remains at 0 for an extended period, it may indicate that the cache is not being refreshed properly. If the value is significantly higher than expected, check whether the add-on is restarting frequently or whether the cache refresh configuration is abnormal.
|
| | Cache refresh latency (calculated based on data from the past 5 minutes), showing the average, P95, and P99 values broken down by refresh type. This information reflects the refresh efficiency and tail latency of the metric discovery cache. - Under normal conditions, all latency values should remain stable, with P95 and P99 higher than the average.
- If P95 or P99 continues to rise, it indicates that some cache refreshes are slowing down, which may cause new metrics or metric changes not to be discovered in time. Check backend Prometheus query performance, rule quantity, and add-on resource usage.
|
Cache Refresh Attempts (10m) | | The number of cache refresh attempts counted by refresh type (calculated based on data from the past 10 minutes), reflecting the refresh frequency of the metric discovery cache. - Under normal circumstances, this value should match the cache refresh cycle specified in the add-on configuration.
- If this value remains at 0 for a long time, it may indicate that cache refresh is not being executed. If it is significantly higher than expected, we recommend checking whether the add-on is frequently restarted or if the cache refresh configuration is abnormal.
|
Refreshes over 10s (15m) | | The number of cache refreshes that took longer than 10 seconds, broken down by refresh type (calculated based on data from the past 15 minutes). This information reflects the occurrence of slow cache refresh requests. - Under normal circumstances, this value should be 0 or remain low.
- If this value continues to increase, it indicates that cache refreshes are frequently taking longer than 10 seconds, which may cause delays in updating metric discovery results. Check the query performance of the backend Prometheus, the number of rules, and the resource usage of the component.
|
Runtime/Process Resources | | |
| | Average CPU usage of each prometheus-adapter instance (calculated based on data from the past 5 minutes). The value represents the number of CPU cores used, reflecting the add-on's computational resource consumption. - Under normal conditions, this value should vary with API request volume and cache refresh task count and remain within the CPU limit of the instance.
- If this Value continues to rise OR approaches the CPU limit, requests and cache refreshes may slow down. Troubleshoot the issue by combining API request latency, cache refresh latency, and instance resource configuration.
|
| | The resident memory size used by each prometheus-adapter instance at the current moment, reflecting the amount of data actually resident in physical memory for the add-on. - Under normal circumstances, this value fluctuates with cache size and request load, but should remain generally stable.
- If this value continues to grow or approaches the memory limit, it may indicate an excessively large cache size or abnormal memory growth. Combine the instance memory limit, restart records, and add-on logs to troubleshoot the issue.
|
File Descriptor Utilization | | The proportion of open file descriptors to the maximum allowed by the system across all prometheus-adapter instances at the current moment, reflecting the usage of file descriptor resources. - Under normal circumstances, this proportion should remain low and stable.
- If this proportion continues to rise or approaches 100%, the add-on may not be able to establish new network connections or open files. Check whether connections are properly released and examine the maximum process file descriptor limit.
|
| | The current Goroutine quantity for individual prometheus-adapter instances. This information reflects the scale of concurrent tasks within the add-on. - Under normal circumstances, this value fluctuates slightly with request volume and cache refresh tasks and remains relatively stable.
- If this value continues to increase and does not decrease, request blocking or abnormal Goroutine exits may have occurred. Troubleshoot the issue using the add-on logs, request latency, and resource usage.
|