Label-based filtering can use a regular expression as the filtering condition. For example, the following query statement filters out the metric data based on the regular expression cluster=~"sls-mall|sls-demo": filtering can use a regular expression as the filtering condition. For example, the following query statement filters out the metric data based on the regular expression cluster=~"sls-mall|sls-demo":
SQL
process_resident_memory_bytes{cluster=~"sls-mall|sls-demo"}