mirror of
https://github.com/magnus919/agent-skills.git
synced 2026-09-12 12:06:29 +03:00
Squash-merge verified telemetry query depth at exact head 02d16c58a4. Required validate and paired evaluation checks passed; advisory droid review had no blocking findings.
4.1 KiB
4.1 KiB
Telemetry Operations — Source Index
Last Updated: 2026-08-03
This index tracks the authoritative sources behind the telemetry skill (Prometheus + OpenTelemetry Collector + Loki as one stack) and the refresh procedure for keeping it current.
Canonical sources
Version observations (as of this refresh)
- Prometheus 3.x defaults to UTF-8 metric-name validation; the legacy metric
name pattern
[a-zA-Z_:][a-zA-Z0-9_:]*remains the documented pattern for recording rule names and is whatpromtoolenforces under legacy validation. promtool check rulesvalidates rule files structurally and parses every expression with the full PromQL parser;telemetry-checkdeliberately covers the structural subset so it can run with no Prometheus tooling.- The OpenTelemetry Collector's
memory_limiterprocessor is recommended before every exporter;tail_samplingandprobabilistic_samplerare the two supported sampler processors for traces. - Loki retention is enforced by the compactor on a per-tenant basis;
retention_periodandretention_sizeare per-tenant limits, andretention_enabledmust betruefor period-based retention. - OTLP is the current stable protocol; the Collector can also receive/export Prometheus exposition format, and its Loki exporter translates structured log records into LogQL-compatible streams.
Refresh procedure
- Re-check the sources above for new minor or major releases.
- Update the version observations that changed (defaults, renamed components, new processors, changed retention semantics).
- Re-run the bundled checker against a rules fixture and a scrape config and
confirm every check still parses:
telemetry/scripts/telemetry-check --rules telemetry/fixtures/prometheus-rules.yml --json. - Re-verify the SKILL.md keyword sweep from the validation contract and the
routing links to
platform-engineeringandgrafana.
Related skill sources
platform-engineeringowns observability strategy (SLIs, SLOs, what to instrument) and its observability reference treats Prometheus, OTel, and Loki as one stack; this skill owns operating that stack.grafanaowns dashboards, panels, and Grafana-side alerting; it queries Prometheus (PromQL) and Loki (LogQL) but does not operate the backends.traefikships Prometheus and OTel configuration for the edge; its observability reference documents the metric names this stack ingests.