Toolkit: Exporters, Linters & Hosted Options
The core stack (Prometheus, Alertmanager, Grafana, Loki, OpenTelemetry, Tempo/Jaeger) is covered in the lessons. These are the tools around it that experienced teams reach for, grouped by job. Versions and pricing change quickly: check each project's site before adopting.
Checking and linting
| Tool | What it does |
|---|---|
| `promtool check rules | config |
| pint (Cloudflare) | a Prometheus rule linter that also queries a live Prometheus: flags rules that reference metrics that don't exist, labels that are never there, risky rate() windows, missing for |
amtool check-config, amtool config routes test |
Alertmanager config and routing tests |
otelcol validate, OTel Collector Builder (ocb) |
Collector config checks; build a minimal Collector with only the components you use |
logcli |
LogQL from the terminal; --stats shows bytes scanned per query |
| mimirtool, cortextool | lint, upload and analyse rules and dashboards for Mimir/Cortex; find unused metrics |
promtool check rules also has a linter of its own. It catches, for example, two rules recording the same series, which silently overwrite each other:
cat > rules.yml <<'YML'
groups:
- name: linkly
rules:
- record: job:http_requests:rate5m
expr: sum by (job) (rate(http_requests_total[5m]))
- name: linkly-copy-pasted
rules:
- record: job:http_requests:rate5m
expr: sum by (job) (rate(http_requests_total{code!~"5.."}[5m]))
YML
promtool check rules --lint=all --lint-fatal rules.yml
echo "exit code: $?"Checking rules.yml
FAILED:
lint error 1 duplicate rule(s) found.
Metric: job:http_requests:rate5m
Label(s):
Might cause inconsistency while recording expressions
exit code: 3
Collecting
| Tool | Notes |
|---|---|
| Grafana Alloy | one agent for metrics, logs, traces and profiles; replaced Promtail and Grafana Agent (Alloy lesson) |
| Vector (Datadog) | fast log/metrics router with a transformation language (VRL) |
| Fluent Bit / Fluentd | the CNCF logging agents (Fluent Bit lesson) |
| OpenTelemetry Operator | Collectors as Kubernetes resources, auto-instrumentation injection |
| Beyla / OBI | eBPF-based zero-code instrumentation: HTTP/gRPC RED metrics and spans from the kernel, for any language |
| kube-state-metrics, node_exporter, blackbox_exporter | the standard exporters (Exporters) |
Storing and querying
| Signal | Self-hosted | Notes |
|---|---|---|
| metrics | Prometheus, Thanos, Mimir, VictoriaMetrics | Prometheus at Scale |
| logs | Loki, OpenSearch/Elasticsearch, ClickHouse-based stacks, VictoriaLogs | Loki for cost, OpenSearch for full-text |
| traces | Tempo, Jaeger | both accept OTLP |
| profiles | Grafana Pyroscope, Parca | continuous CPU/memory profiling; the "fourth signal" |
| all-in-one OTel-native | SigNoz, HyperDX, Uptrace (on ClickHouse) | one store and UI for all signals |
Hosted
Grafana Cloud, Datadog, New Relic, Honeycomb, Dynatrace, Elastic Cloud, Splunk Observability, and the clouds' own services (Amazon CloudWatch + Managed Prometheus/Grafana, Google Cloud Observability, Azure Monitor). They remove the operations work and add per-GB, per-series or per-host billing. With OpenTelemetry in the apps, switching is a Collector exporter change, not a re-instrumentation; that is the strongest argument for OTel.
Dashboards and rules from the community
- kubernetes-mixin, node-mixin, prometheus-mixin: dashboards, recording rules and alerts as Jsonnet libraries, shipped by kube-prometheus-stack.
- Awesome Prometheus alerts (a community collection): starting points for exporter alerts; adapt thresholds before use.
- Sloth and Pyrra: generate SLO recording rules and multi-window burn-rate alerts from a short SLO spec (SRE).
- Grafana dashboards site (grafana.com/grafana/dashboards): ready-made dashboards for most exporters; check the data source variables and the metric names they expect.
Load and failure tools for testing observability
You only know an alert works when you've seen it fire. k6 and vegeta generate load (and errors with bad requests), toxiproxy injects latency between a service and its database, and chaos tools (Chaos Mesh, LitmusChaos) kill pods: run them in staging and check that the right alert reached the right receiver. The SRE course builds game days on that.
Test yourself
What does pint add over promtool check rules?
- Nothing
- Checks against a live Prometheus, e.g. that the metrics and labels a rule uses actually exist
- It runs Alertmanager
- It draws dashboards
Which tool generates SLO burn-rate alerts from a short SLO specification?
- Fluent Bit
- Sloth or Pyrra
- logcli
- ocb
Why does instrumenting with OpenTelemetry make switching vendors easier?
- Vendors require it
- Apps emit OTLP to a Collector; changing backend means changing the Collector's exporter, not the code
- It is free
- It stores data locally