Prometheus Statements
AOM is interconnected with Prometheus Query Language (PromQL), which provides various built-in functions. These functions can be used to filter and aggregate metric data. You can run Prometheus statements to add metrics.
Prometheus Statement Syntax
For details about the Prometheus statement syntax, go to the Prometheus official website.
Common Prometheus Commands
Table 1 lists the common Prometheus commands for querying metrics. You can modify parameters such as the IP address and ID based on site requirements.
Metric |
Tag Definition |
PromQL |
---|---|---|
Host CPU usage |
{nodeIP="", hostID=""} |
aom_node_cpu_usage{nodeIP="192.168.57.93",hostID="ca76b63f-dbf8-4b60-9c71-7b9f13f5ad61"} |
Host application request throughput |
{aomApplicationID="",aomApplicationName=""} |
http_requests_throughput{aomApplicationID="06dc9f3b0d8cb867453ecd273416ce2a",aomApplicationName="root"} |
Success rate of host application requests |
{appName="",serviceID="",clusterId=""} |
http_requests_success_rate{aomApplicationID="06dc9f3b0d8cb867453ecd273416ce2a",aomApplicationName="root" |
Host component CPU usage |
{appName="",serviceID="",clusterId=""} |
aom_process_cpu_usage{appName="icagent",serviceID="2d29673a69cd82fabe345be5f0f7dc5f",clusterId="00000000-0000-0000-0000-00000000"} |
Host process threads |
{processCmd=""}{processID=""}{processName=""} |
aom_process_thread_count{processCmd="cdbc06c2c05b58d598e9430fa133aff7_b14ee84c-2b78-4f71-9ecc-2d06e053172c_ca4d29a846e9ad46a187ade88048825e",processName="icwatchdog"} |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot