I released **oteldoctor v0.1.0** — an open-source Go CLI for checking OpenTelemetry Collector config

I released **oteldoctor v0.1.0** — an open-source Go CLI for checking OpenTelemetry Collector config

●2 ●15 ●34
calendar_today • schedule1 min read

OpenTelemetry Collector configs are easy to grow and hard to reason about.

A config can be valid and still have production risks:

exporters:
  otlphttp:
    endpoint: http://backend.example.com
    headers:
      X-API-KEY: "hardcoded-secret"

or:

service:
  pipelines:
    traces:
      processors: [batch, memory_limiter]

These are the kinds of things oteldoctor is designed to catch.

What it does

oteldoctor checks:

  • undefined receivers/processors/exporters
  • missing memory_limiter
  • wrong processor order
  • missing retry/queue config
  • hardcoded secrets
  • plain HTTP exporters
  • debug exporters in production
  • high-cardinality attributes
  • missing sampling/filtering hints
  • semantic convention issues
  • Kubernetes readiness gaps

Commands

oteldoctor analyze ./deploy --profile production
oteldoctor analyze ./deploy --format json
oteldoctor analyze ./deploy --format sarif > oteldoctor.sarif
oteldoctor graph collector.yaml --format mermaid
oteldoctor explain OTEL-SEC-202
oteldoctor fix collector.yaml --dry-run

Install

go install github.com/firfircelik/oteldoctor/cmd/oteldoctor@v0.1.0

Why it exists

This is not a replacement for Collector validation.

It is more like a production-readiness layer for Collector configs.

The goal is to catch reliability, security, cost, semantic, and Kubernetes deployment risks earlier — ideally in CI, before the config is deployed.

GitHub: https://github.com/firfircelik/oteldoctor

If you work with OpenTelemetry Collector, I’d really appreciate feedback, issue reports, and real-world config edge cases.

Want more #learning-in-public & #dev deep dives?

Join 6,051+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

2 Comments

0 votes
0

More Posts

AAIF Hits 10 Projects. Its CTO on What to Adopt Now and the Security Gaps Left Open

Tom Smithverified - Oct 23

Kamal vs Kubernetes: An Honest Comparison for Teams Who Don’t Need 1,000 Services

Alexandre Vazquez - Jul 24

StarlingX 13.0 Turns Two Edge Upgrades Into One Reboot. Test the Targets Yourself.

Tom Smithverified - Nov 24

Automate your open-source project's builds & deployments with CI/CD using GitHub Actions!

Ayush Thakur - Oct 2, 2025

You Can Be an Angular Contributor: A Guide to Your First Open-Source PR

Sunny - Aug 5, 2025
chevron_left
1.7k Points • 51 Badges
15Posts
9Comments
13Connections
Senior Engineer with 7+ years of experience and a dual-specialty in Full-Stack Development and Data ... Show more

Related Jobs

View all jobs →

Commenters (This Week)

2 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!