(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes * 100$A represents the query result value.$A > 90 (triggers critical alert when memory usage exceeds 90%)$A > 80 (triggers warning alert when memory usage exceeds 80%)$A > 90 and $B < 50).cpu_usage_percent{instance="host-1", job="node"} and query B returns mem_usage_percent{instance="host-1", job="node"}, then $A and $B can be successfully correlated.disk="/"), but query B does not, they cannot be correlated. It's recommended to use aggregation operations like sum by (...) or avg by (...) in PromQL to explicitly control returned labels and ensure label consistency across multiple queries.$A < 75). Recovery is only confirmed when the value falls back to the specified level, preventing frequent flapping near the threshold.${label_name}), which are automatically replaced with corresponding label values from the alert event. This enables the recovery query to perform precise detection for specific alert objects (such as a specific instance or device).(node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes) / node_memory_MemTotal_bytes * 100 > 90up{instance="${instance}"} == 1 to confirm service recovery). Recovery is confirmed only when data is found. The variable ${instance} in this query will be replaced with the actual label value from the alert event.up{job="my-service"}absent() functionabsent() function requires listing every combination of identifying labels for a metric, e.g., absent(up{instance="host-1"}). Multiple statements are needed for multiple instances.${label_name} to reference label values.instance="host-1" and job="node", you can write the recovery query as:up{instance="${instance}", job="${job}"} == 1${instance} with host-1 and ${job} with node, which are the actual values from the alert event labels.mem_usage_percent to display in the alert details for troubleshooting assistance.${label_name} variables for querying specific alert objects.$relates variable. Please refer to the description field documentation for detailed usage instructions.