collector-queries
Proven metrics queries for Better Stack Collector sources (the source tool's Platform "Collector") - per-host node_* metrics, per-container and per-service container_resources_*, requests and errors by destination, TCP health, and the container-level saturation checks that host averages hide. Load after metrics-query when the source platform is Collector, for health checks, resource questions and service dashboards.
Install
With your agent
Install OMGSkills skill "betterstackhq/claude-plugin:skills/collector-queries" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/BetterStackHQ/claude-plugin /tmp/claude-plugin && ln -s /tmp/claude-plugin/skills/collector-queries ~/.claude/skills/collector-queries
From README
Collector sources: proven queries Taken from the Hosts and Services dashboard templates; every metric and label below was verified on a live Collector source. Queries use {{source}}, {{time}}, {{starttime}}, {{endtime}} exactly as metrics-query describes: as written in dashboard charts, substituted in ad-hoc query calls. What the collector emits Every infrastructure metric carries host, service, container; container is the readable container name (namespace/pod/container on Kubernetes). Prefer these container and node families over the OTel container. (dotted, docker-stats) family, whose labels are resource attributes. Per host, node exporter: nodecpusecondstotal (mode, cpu), nodememorybytes, nodeload1/5/15, nodedisk (device), nodefilesystem (mountpoint, fstype), nodenetwork (device), nodepressure{cpu,io,memory}{waiting,stalled}secondstotal, nodevmstatoomkill, nodeprocs{running,blocked}, nodenetstatTcp.
More from this repo
chart-alerts
Guide for creating and managing Better Stack chart alerts.
chart-generation
Complete reference for chart types, units, and settings on Better Stack dashboards.
chart-styling
Better Stack chart styling and advanced settings reference - series colors and order, number chart coloring thresholds,...
