
Ollygarden otel java setup
Sets up OpenTelemetry in Java services with a checklist for setup path and telemetry
Ollygarden otel java setup is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Ollygarden otel java setup
This skill guides an agent through adding OpenTelemetry to a Java project. It starts with a decision between the Javaagent, the Spring Boot Starter and manual autoconfigure, then gives the Maven BOM declarations that match each path. The checklist asks the agent to strip query strings from exported HTTP spans with a span processor, give in-memory databases a stable name so span names stay bounded, and keep startup database work from producing detached root spans.
The skill also covers declarative YAML configuration and how it interacts with standard OTEL_* environment variables, including substitution patterns for service name, resource attributes and the OTLP endpoint. It asks for a verification report with observed evidence for each checklist item, such as a marker value sent in a request and inspected in the exported spans. It also warns about agent jar and config path drift between image layers and deployment manifests.
The skill is Maven and Java oriented and refers to other skills for detailed mechanics. It is marked deprecated in its repository.
When your agent uses it
Ollygarden's recommended pattern for setting up OpenTelemetry in Java services. Covers the Javaagent vs Spring Boot Starter vs manual autoconfigure decision-making, the Maven BOM dependency pattern, and the setup checklist (no query strings in telemetry, startup DB span hygiene, declarative YAML config, standard OTEL_* env vars honored). Use when adding OTel to a Java project, choosing a setup path, or reviewing dependency declarations. Triggers on "java otel setup", "javaagent vs starter", "opentelemetry-bom", "url.query", "query parameter PII".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (14 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/ollygarden-otel-java-setup to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ollygarden-otel-java-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-java-setup" ~/.claude/skills/ollygarden-otel-java-setup &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ollygarden-otel-java-setup inside it instead.
Copy the skill folder to ~/.agents/skills/ollygarden-otel-java-setup to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ollygarden-otel-java-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-java-setup" ~/.agents/skills/ollygarden-otel-java-setup &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ollygarden-otel-java-setup inside it instead.
Copy the skill folder to ~/.cursor/skills/ollygarden-otel-java-setup to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ollygarden-otel-java-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-java-setup" ~/.cursor/skills/ollygarden-otel-java-setup &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ollygarden-otel-java-setup inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ollygarden/skills.git --path deprecated/ollygarden-otel-java-setupOr copy the folder to ~/.gemini/skills/ollygarden-otel-java-setup yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ollygarden-otel-java-setup:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ollygarden-otel-java-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-java-setup" ~/.copilot/skills/ollygarden-otel-java-setup &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ollygarden-otel-java-setup inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ollygarden/skills.gitThen copy skills/deprecated/ollygarden-otel-java-setup into your agent's skills folder as ollygarden-otel-java-setup. Agents that support SKILL.md read one folder per skill.
What it does
- Setup path selection
- Guides choosing between the Javaagent, Spring Boot Starter and manual autoconfigure based on whether zero-code instrumentation is enough.
- Maven BOM declarations
- Provides dependency management snippets for the OpenTelemetry BOM and instrumentation BOM.
- Query string stripping
- Explains how to remove URL query strings from exported spans so user input is not captured.
- Startup span hygiene
- Covers stable naming for in-memory databases and handling of parentless startup database spans.
- Declarative YAML configuration
- Describes replacing scattered otel properties with one declarative configuration file per setup path.
- Standard environment variable support
- Shows how to keep OTEL_* variables effective when a YAML file is active.
- Verification report template
- Asks for observed evidence per checklist item, such as exported span excerpts and config changes.
Good for
- Add OpenTelemetry to a Spring Boot service without the Javaagent
- Choose between the Javaagent and manual SDK setup for a Java service
- Review Maven dependency declarations for OpenTelemetry version alignment
- Stop query string parameters from appearing in exported HTTP spans
- Make OTEL_SERVICE_NAME and resource attributes take effect with a YAML config
Ollygarden otel java setup FAQ
Which Java setup paths does the skill cover?
It covers the Javaagent with declarative config, the Spring Boot Starter, and manual autoconfigure for plain Java.
Does the skill change how query strings are handled by default?
It instructs the agent to strip url.query and url.full from exported spans in a SpanProcessor or Collector processor, because the instrumentation exports them by default.
Which tools or files does the skill rely on?
It refers to the otel-java and ollygarden-otel-declarative-config skills for detailed reference material. The skill folder contains a single SKILL.md file and no scripts.
Is Ollygarden otel java setup still maintained?
The repository path marks it as deprecated.
How do I install Ollygarden otel java setup in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ollygarden-otel-java-setup to use it in all your projects, or to .claude/skills/ollygarden-otel-java-setup in one project.
Does Ollygarden otel java setup 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 java setup?
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 java setup?
The closest alternatives to Ollygarden otel java setup are Ollygarden otel js setup, Ollygarden otel manual instrumentation, Ollygarden otel SDK setup, Ollygarden otel go setup and Ollygarden otel instrumentation planning.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ollygarden/skills

Guides planning and review of OpenTelemetry auto-instrumentation for noise, PII and cost
- Open source
- 5 GitHub stars
- Developer tools

Review policy for OpenTelemetry declarative YAML config, following OllyGarden conventions
- Open source
- 5 GitHub stars
- Developer tools

Sets up OpenTelemetry tracing, metrics and logs in a Go service via a YAML config
- Open source
- 5 GitHub stars
- Developer tools

Plans minimal viable OpenTelemetry instrumentation for a codebase, tied to SLIs
- Open source
- 5 GitHub stars
- Developer tools

Guides setting up OpenTelemetry tracing in Node.js services with a checklist for telemetry
- Open source
- 5 GitHub stars
- Developer tools

Guides an agent through OpenTelemetry manual instrumentation design, implementation
- Open source
- 5 GitHub stars
- Developer tools

