trx
Published on 2025-11-16 / 9 Visits
0

curl通过api查询有哪些指标名

curl -s -G "http://your-prometheus-server:9090/api/v1/label/__name__/values" \
  | jq '.data[] | select(startswith("mysql"))'