Workshops: Agentic Engineering Practices
Observability with Coding Agents: OpenTelemetry Workshop
Coding agents write code quickly, but they rarely know how that code behaves at runtime. In this workshop your developers let agents instrument services with OpenTelemetry, clean up logging and then feed real traces and metrics back to the agent, so it verifies its own changes instead of guessing.
Who is this workshop for?
- Backend developers who own services in production
- SRE and platform teams standardising telemetry across many services
- Tech leads of services with patchy or inconsistent instrumentation
- Teams moving from proprietary APM agents to OpenTelemetry
- Developers already working with Claude Code, OpenAI Codex, Cursor or GitHub Copilot
What you will take away
- Have an agent add OpenTelemetry traces, metrics and log correlation to an existing service, following the semantic conventions.
- Migrate free-text log lines to structured logs with trace context, consistent levels and masked personal data.
- Run a local collector and trace viewer so the agent proves each change with real spans before it opens a pull request.
- Give agents tightly scoped, read-only access to telemetry and use it for performance and error analysis.
- Capture telemetry conventions in CLAUDE.md or AGENTS.md so every agent instruments code the same way.
Agenda
Module 1
Why agents need runtime feedback
- Compiler and test feedback versus actual runtime behaviour
- Traces, metrics and logs in one shared model
- OpenTelemetry building blocks: API, SDK, Collector, OTLP and semantic conventions
Module 2
Instrumenting a service with an agent
- Exercise: automatic plus manual instrumentation in your stack
- Span names, attributes and the cardinality trap
- A review checklist for agent-written instrumentation
Module 3
Structured logging
- Exercise: converting log statements module by module with an agent
- Trace and span IDs in every log line
- Masking personal data and secrets before they reach the backend
Module 4
Telemetry as the agent's feedback loop
- A local stack with Collector, Jaeger or Grafana via Docker Compose
- Exercise: the agent finds the slow span and proposes a fix
- Read-only access through MCP servers or your observability backend's CLI
Module 5
Conventions and operations
- Telemetry rules in the agents' instruction files
- Dashboards and alerts as code, drafted by agents
- Sampling, retention and the cost of high-cardinality data
From guessing to measuring
Without telemetry, an agent fixing a performance problem can only reason about the code. It may optimise the wrong function or add a cache that hides the real cause. With a trace in front of it, the agent sees which call is slow, how often it happens and what the downstream services are doing.
Bugs work the same way. An agent that can read the structured error log and the trace of a failed request reproduces the issue far more precisely than one working from a ticket alone. That is why we treat instrumentation as part of making a codebase agent-ready.
Vendor-neutral by design
OpenTelemetry is an open standard hosted by the Cloud Native Computing Foundation and supported by most observability platforms. We work with open-source stacks such as Prometheus, Jaeger and the Grafana tools as well as with commercial backends you already run; the instrumentation itself stays vendor-neutral.
- SDKs for Java, .NET, Python, Go, JavaScript/Node.js and more
- Collector pipelines for filtering, enriching and routing
- Export to your existing backend via OTLP
Telemetry and data protection
Traces and logs often contain IP addresses, user IDs or request payloads. We show how to strip such attributes in the SDK and the Collector, and why agents should work with staging data or masked production data. Which data may be processed under GDPR remains a decision for your data protection officer.
Frequently asked questions
Do we have to replace our current monitoring tool?
No. Most commercial and open-source platforms accept OpenTelemetry data. You instrument once against the open standard and can keep or change the backend later without touching application code.
Should an agent see production telemetry?
If at all, then read-only, tightly scoped and ideally filtered for personal data. For many exercises a local or staging environment is enough, and we design the access model together with your security team.
Which languages and frameworks do you cover?
OpenTelemetry has SDKs for all major languages, and many frameworks are covered by automatic instrumentation. We prepare the exercises in the language of your services, for example Java with Spring Boot, .NET, Python or Node.js.
Workshop
Get in touch
Should your coding agents see what their code actually does at runtime?
Tell us roughly how many people will join and pick dates that work – we will get back to you within 24 hours with a proposal for content, format and schedule.
Prefer to talk first?
15 minutes, free and without obligation – with our AI Trainers and AI Code Engineers.
Book a call for free (opens in new tab) +49 761 519 751 50 (24/7)Request a training / workshop
Workshop: Observability with Coding Agents: OpenTelemetry Workshop · 1 day
More workshops
- Workshops: Agentic Engineering Practicesi18n & Localization with Coding Agents: Half-Day Workshop
- Workshops: Agentic Engineering PracticesScripts, CLIs & Internal Tools with Coding Agents: Workshop
- Workshops: Agentic Engineering PracticesSoftware Architecture with AI Agents: ADRs, C4 & Fitness Functions
- Workshops: Agentic Engineering PracticesMonolith to Microservices with AI Agents: 2-Day Workshop
- Workshops: Agentic Engineering PracticesGuardrails for Coding Agents: Linters, Types & Pre-Commit Hooks
- Workshops: AI Tools at WorkAdvanced ChatGPT: Custom GPTs, Projects & Deep Research
