Query VictoriaMetrics instance for metrics, labels, and PromQL queries
Query the VictoriaMetrics instance using scripts/vm-query.sh, which handles credential loading automatically.
query (required): One of the following:
metrics - List all metric nameslabels - List all label nameslabel <name> - List values for a specific label (e.g. label source)up, balboa_temperature{source="balboa"})range (optional): Set to true to use a range query instead of instant querystart (optional): Start time for range queries (default: 1h ago)end (optional): End time for range queries (default: now)step (optional): Step interval for range queries (default: 5m)Run the query using the helper script:
metrics: ./scripts/vm-query.sh metricslabels: ./scripts/vm-query.sh labelslabel <name>: ./scripts/vm-query.sh label <name>./scripts/vm-query.sh query '<promql>'./scripts/vm-query.sh range '<promql>' --start <start> --end <end> --step <step>Report findings: Summarize the query results. For metric/label listings, show the count and the values. For queries, format the results in a readable table.