# Ollygarden otel collector config validation

> Ollygarden otel collector config validation is an open-source agent skill for developer tools. Tests an OpenTelemetry Collector processor or connector against realistic telemetry. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ollygarden/skills/tree/main/skills/ollygarden-otel-collector-config-validation
- **Repository:** https://github.com/ollygarden/skills
- **GitHub stars:** 5
- **License:** Apache-2.0
- **Skill name:** ollygarden-otel-collector-config-validation
- **Collection:** https://github.com/ollygarden/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill checks how an OpenTelemetry Collector processor or connector actually behaves, not just whether its configuration parses. It works from a throwaway copy of the production config, keeps the component block unchanged, and replaces ingress and egress with OTLP input and file output so the transformed, dropped or routed results can be inspected.

The workflow pins the deployed Collector version and runs a static validation first, then builds a harness with one file exporter per asserted destination. Each case needs both a positive and a negative check, such as a matching span being absent alongside a non-matching span being present, so an empty output is never treated as a pass. The guidance also covers preflight review of the container runtime, mounts and port publishing before any run.

Running the harness pulls and executes a pinned remote container image, so it requires explicit user confirmation of the exact registry, tag and digest. The skill expects Docker or Podman, a target Collector version, and access to the related upstream skills for component syntax and OTTL expressions.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ollygarden/skills/tree/HEAD/skills/ollygarden-otel-collector-config-validation)
- [License: Apache-2.0](https://github.com/ollygarden/skills/tree/HEAD/skills/ollygarden-otel-collector-config-validation)

## Features

- **Behavioral component testing:** Checks that a processor or connector transforms, drops or routes telemetry as intended rather than just passing structural validation.
- **Isolated harness construction:** Builds a test config that keeps the production component block unchanged while swapping in OTLP input and file output.
- **Positive and negative assertions:** Requires both presence and absence checks per case so an empty output cannot pass by accident.
- **Pinned container execution:** Runs the Collector from an immutable image digest, with a required user confirmation before any remote container code runs.
- **Bounded readiness and cleanup:** Detects container startup failure and removes the test container through a cleanup trap.
- **Reviewable evidence output:** Preserves commands, input markers, output excerpts, Collector version and image digest for review.

## Good for

- Check that a filter processor drops only the spans it should
- Prove a transform rewrites an attribute before shipping the config
- Confirm redaction removes sensitive fields from logs or traces
- Verify routing sends each record to the expected pipeline
- Test that a spanmetrics or count connector produces the expected metric value

## Install

### Claude Code

This skill ships in the `ollygarden-otel-collector-config-validation` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ollygarden/skills
/plugin install ollygarden-otel-collector-config-validation@skills
```

Or copy only this skill to `~/.claude/skills/ollygarden-otel-collector-config-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ollygarden-otel-collector-config-validation &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-validation" ~/.claude/skills/ollygarden-otel-collector-config-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ollygarden-otel-collector-config-validation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ollygarden-otel-collector-config-validation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ollygarden-otel-collector-config-validation &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-validation" ~/.agents/skills/ollygarden-otel-collector-config-validation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ollygarden-otel-collector-config-validation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ollygarden-otel-collector-config-validation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ollygarden-otel-collector-config-validation &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-validation" ~/.cursor/skills/ollygarden-otel-collector-config-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ollygarden-otel-collector-config-validation` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ollygarden/skills.git --path skills/ollygarden-otel-collector-config-validation
```

Or copy the folder to `~/.gemini/skills/ollygarden-otel-collector-config-validation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ollygarden-otel-collector-config-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ollygarden-otel-collector-config-validation &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-validation" ~/.copilot/skills/ollygarden-otel-collector-config-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ollygarden-otel-collector-config-validation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ollygarden/skills.git
```

Then copy `skills/skills/ollygarden-otel-collector-config-validation` into your agent's skills folder as `ollygarden-otel-collector-config-validation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does running Ollygarden otel collector config validation execute code on my machine?

Yes. Running the harness pulls and executes a pinned remote container image, so the skill requires explicit user confirmation of the exact registry, tag and digest before that happens.

### Does Ollygarden otel collector config validation replace otelcol validate?

No. The skill treats a clean static validation as required but not sufficient, and adds behavioral checks on the actual telemetry the component receives and outputs.

### Which components does Ollygarden otel collector config validation cover?

The skill names filter, transform, redaction, tail_sampling, routing, signaltometrics, count and spanmetrics as examples of components to test.

### Does Ollygarden otel collector config validation cover receiver or exporter testing?

No. Receiver scraping, exporter connectivity, authentication and backpressure are outside its scope.

### How do I install Ollygarden otel collector config validation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ollygarden-otel-collector-config-validation to use it in all your projects, or to .claude/skills/ollygarden-otel-collector-config-validation in one project. Or install the ollygarden-otel-collector-config-validation plugin, which includes it: /plugin marketplace add ollygarden/skills, then /plugin install ollygarden-otel-collector-config-validation@skills.

### Does Ollygarden otel collector config validation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ollygarden otel collector config validation?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ollygarden otel collector config validation?

The closest alternatives to Ollygarden otel collector config validation are Ollygarden otel collector config decomposition, Ollygarden otel declarative config, Ollygarden otel SDK setup, Ollygarden otel java setup and Ollygarden otel js setup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ollygarden otel collector config decomposition](https://ai-powered.com/skills/ollygarden-otel-collector-config-decomposition): Ollygarden otel collector config decomposition is an open-source agent skill for developer tools.
- [Ollygarden otel declarative config](https://ai-powered.com/skills/ollygarden-otel-declarative-config): Ollygarden otel declarative config is an open-source agent skill for developer tools.
- [Ollygarden otel SDK setup](https://ai-powered.com/skills/ollygarden-otel-sdk-setup): Ollygarden otel SDK setup is an open-source agent skill for developer tools.
- [Ollygarden otel java setup](https://ai-powered.com/skills/ollygarden-otel-java-setup): Ollygarden otel java setup is an open-source agent skill for developer tools.
- [Ollygarden otel js setup](https://ai-powered.com/skills/ollygarden-otel-js-setup): Ollygarden otel js setup is an open-source agent skill for developer tools.
- [Ollygarden otel manual instrumentation](https://ai-powered.com/skills/ollygarden-otel-manual-instrumentation): Ollygarden otel manual instrumentation is an open-source agent skill for developer tools.
- [Ollygarden otel instrumentation planning](https://ai-powered.com/skills/ollygarden-otel-instrumentation-planning): Ollygarden otel instrumentation planning is an open-source agent skill for developer tools.
- [Ollygarden otel go setup](https://ai-powered.com/skills/ollygarden-otel-go-setup): Ollygarden otel go setup is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ollygarden-otel-collector-config-validation
