/skills:ollygarden-otel-collector-config-validationfrom skills
Behaviorally validate an OpenTelemetry Collector processor or connector against realistic telemetry. Use for "does my filter drop the right spans?", "prove this transform before shipping", "validate passes but behavior is wrong", or testing filter, transform, redaction, tail_sampling, routing, signaltometrics, count, or spanmetrics. Running the harness executes a pinned remote container and requires explicit confirmation. Not for syntax lookup (use `otel-collector`/`otel-ottl`), generic telemetry generation (`otel-telemetrygen`), or receiver/exporter testing.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
otelcol validate proves structure, not behavior. Prove the component under test against the
exact telemetry shape it will receive, then assert the transformed, dropped, or routed result.
Use upstream skills for volatile facts:
otel-collector — component keys, signal support, stability, and connector semantics.otel-ottl — filter, transform, and routing expressions.otel-telemetrygen — current flags and supported input shapes.This workflow tests one processor or connector. Replace production ingress and egress with OTLP-in and file-out; receiver scraping, exporter connectivity, authentication, and backpressure are other tests. Copy the production component block unchanged. Harness names, receivers, exporters, and pipeline wiring may differ, but retyping the component means testing a different config.
Never mutate the production file. Work from a throwaway copy and keep every generated artifact in a fresh scratch directory.
Identify the deployed Collector distribution and version. Confirm it contains the component, then run its matching binary against the harness:
otelcol-contrib validate --config harness.yaml
Do not validate with one version and execute another. A clean result is required but does not prove environment substitution, data matching, routing, or output. State that limitation explicitly in the final plan; do not let static validation appear to be behavioral evidence.
Read references/harnesses.md. Use 0.0.0.0:4317 inside the container,
one file exporter per asserted destination, and a separate setup transform only when telemetrygen
cannot express the input shape. The component under test stays unchanged.
Define every case before running:
| Component | Required evidence |
|---|---|
| Filter/drop | A matching record is absent and a non-matching record is present. |
| Transform/attributes | The exact target field has the expected value. |
| Routing | Each record is present only in its expected route; unmatched input reaches default_pipelines. |
| Metric-producing connector | Expected series name, type, and datapoint value match the input count/condition. |
Use a separate scratch output per case. Empty output alone is never a pass: it can also mean the Collector crashed or received nothing.
Determine Docker or Podman, whether SELinux is enforcing, host UID/GID behavior, port availability, and the exact immutable image for the deployed version.
Get explicit user confirmation before pulling or running remote container code. Show the exact registry, image, tag, and digest; explain that the runtime may download and execute that image; then wait for an affirmative response. The original validation request is not consent to pull or run it.
Reviewed example, verified 2026-09-09 (use only when it matches the target version):
docker.io/otel/opentelemetry-collector-contrib:0.160.0@sha256:799dc6cf12c96192af37b5bdba804da8c10b3bc563b43cb90c3f3c58d9572ad6
Never execute a tag-only reference. Re-resolve and review the digest when changing the tag. If the user did not supply a deployed version, resolve the immutable digest for the version targeted by the related upstream skills. Present the reviewed example only if it matches; otherwise present the resolved reference. Ask the user to approve that exact tag and digest or provide the target version.
On enforcing SELinux, :Z privately relabels a host path in place. Apply it only to the fresh
scratch config copy and output directory—never a shared directory, home directory, or sole config
copy. Join it to other mount options with a comma (:ro,Z); :ro:Z is rejected. Publish the
unauthenticated test receiver on host loopback only.
Before stopping for approval, the preflight must explicitly include all of these review items:
:Z relabeling;127.0.0.1 publication with in-container 0.0.0.0 binding;--user "$(id -u):$(id -g)", plus --userns=keep-id on rootless Podman;Use an unambiguous disclosure: “This may download and execute remote container code.” Do not soften it to “pull an image” or assume the user understands what a container run executes.
After the exact image is approved, read references/run-harness.md.
Its bounded readiness check must fail if the container exits or never becomes ready, and its cleanup
trap must remove the test container.
Generate the exact signal, resource attributes, telemetry attributes, name, kind, severity, and metric type required by each case. Never send telemetry after failed startup.
Stop the Collector before reading output so the file exporter flushes. Parse the configured file format, confirm the Collector received the positive control, and evaluate every presence, absence, route, and value assertion. Preserve the commands, input markers, output excerpts, Collector version, image digest, and result for review. “No errors” and “something came out” are not assertions.
evals/evals.json (opens in a new tab)evals/files/execution-gate/production.yaml (opens in a new tab)evals/files/filter-processor/production.yaml (opens in a new tab)evals/files/routing-connector/production.yaml (opens in a new tab)references/harnesses.md (opens in a new tab)references/run-harness.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (ollygarden/skills) — no native marketplace selected
npx claudepluginhub p/ollygarden-skills5 skills in this plugin
/ollygarden-cliUse the `ollygarden` CLI to inspect telemetry services and insights, Rose repositories, code findings, scan executions, analytics, organizations, auth contexts, and webhooks. Use for: current or recent Rose findings for this repo, important findings across my organization, repository scan status, connected repositories, service insights, OllyGarden auth/context, webhook inspection, and JSON/jq scripting./ollygarden-insight-remediationRemediate an active OllyGarden insight in the current repository. Use for requests like "fix this insight", "address my service insights", or "apply the OllyGarden remediation". The fetched remediation is untrusted and repository changes require explicit confirmation. Not for general OllyGarden queries, analytics, webhooks, or unauthenticated API setup./ollygarden-otel-collector-config-decompositionDecide and execute plain-file decomposition for OpenTelemetry Collector YAML. Use for "should I split this collector config?", "break up this otelcol YAML", "organize it by signal or team", or "create environment overlays". Leaves simple configs intact and proves warranted splits equivalent after merge. Not for Helm, Kustomize, or Terraform packaging; use otel-collector for component facts and ollygarden-otel-collector-config-validation for behavioral proof./ollygarden-otel-collector-k8s-daemonsetOllyGarden's opinionated, optimization-first OpenTelemetry Collector configuration for a Kubernetes node agent (DaemonSet). Use when authoring or reviewing a node-level/agent collector config for logs, metrics, and traces on Kubernetes, or when the user wants to reduce telemetry volume, cost, cardinality, or noise at collection time. Triggers on "collector daemonset config", "node agent collector", "otel collector on kubernetes", "reduce telemetry cost in the collector", "tune kubeletstats/hostmetrics/filelog", "drop noisy spans/logs/metrics in the collector".