<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i" -->

---
title: The lazy developer’s guide to observing your own code
description: Developers are increasingly asked to instrument their own code with OpenTelemetry, and this piece makes the case for why that benefits developers directly:...
canonical: https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The lazy developer’s guide to observing your own code | daily.dev
og:description: Developers are increasingly asked to instrument their own code with OpenTelemetry, and this piece makes the case for why that benefits developers directly:...
og:url: https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i
og:image: https://api.daily.dev/og/posts/zVcqNpe8I.png
og:image:alt: The lazy developer’s guide to observing your own code
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The lazy developer’s guide to observing your own code

**[CNCF](https://daily.dev/sources/cncf)** · 19 min read · 1 upvotes · 0 comments

## Summary

Developers are increasingly asked to instrument their own code with OpenTelemetry, and this piece makes the case for why that benefits developers directly: faster debugging, quicker shipping, better code quality, clearer understanding of distributed systems, and easier untangling of AI-generated code. It covers common instrumentation pain points (SDK maturity gaps, lack of auto-instrumentation for languages like Rust/Elixir, verbose APIs, cardinality issues), practical tips (start with zero-code instrumentation, supplement manually, practice observability-driven development, use AI carefully), what to instrument (spans, logs, latency metrics, home-grown frameworks), and how to use AI coding assistants effectively for instrumentation. It also walks through setting up the OpenTelemetry Collector with sample YAML configs and compares three open-source desktop visualization tools: OTel Desktop Viewer, otel-tui, and OTel Front, including Docker Compose setups and their respective trade-offs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.cncf.io/blog/2026/08/25/the-lazy-developers-guide-to-observing-your-own-code>

## Questions this post answers

### What are some open source tools for locally viewing OpenTelemetry traces, logs, and metrics during development?

Three open source desktop tools support this: OTel Desktop Viewer (traces only, web UI, started October 2022), otel-tui (traces, logs, and metrics with a topology view, terminal UI, started March 2024), and OTel Front (traces, logs, and metrics with a dashboard, web UI, started November 2025). All three can be run via Docker and connected to an OpenTelemetry Collector using OTLP exporters.

_Compare emerging OpenTelemetry visualization tools alongside other developer tooling picks on daily.dev._

### What is the difference between zero-code and manual OpenTelemetry instrumentation?

Zero-code (auto) instrumentation adds telemetry to application code without touching source code, using shims or bytecode agents at runtime or compile-time, and is available for Java, .NET, Python, JavaScript, PHP, and Go. It covers common third-party libraries but misses application-specific logic, so manual (code-based) instrumentation is still needed to add traces, metrics, logs, context propagation, and attributes for what matters to a given application.

_Developers weighing zero-code versus manual OpenTelemetry setups can track practical guidance like this on daily.dev._

### What is the spanmetrics connector used for in an OpenTelemetry Collector configuration?

The spanmetrics connector acts as an exporter in a traces pipeline and calculates the duration of an OpenTelemetry span, then feeds that span duration as input into a metrics pipeline. This helps developers detect latency issues when a span takes longer than usual to complete, without needing a separate manual latency-tracking mechanism.

_Engineers building Collector pipelines can find configuration details like this collected on daily.dev._

## Similar posts on daily.dev

- [Introduction to instrumentation with OpenTelemetry for Developers – Key Concepts A \(maybe not so\) quick introduction to the universe of instrumentation and observability.](https://daily.dev/posts/introduction-to-instrumentation-with-opentelemetry-for-developers-key-concepts-a-maybe-not-so-qu-zvvnihl7j) · The Miners · 1 upvotes · 0 comments
- [How Observability and Telemetry Can Enhance the Practice of Software Engineering](https://daily.dev/posts/how-observability-and-telemetry-can-enhance-the-practice-of-software-engineering-xf1p9gwkg) · InfoQ · 0 upvotes · 0 comments
- [From chaos to clarity: How OpenTelemetry unified observability across clouds](https://daily.dev/posts/from-chaos-to-clarity-how-opentelemetry-unified-observability-across-clouds-tcz02bm9h) · CNCF · 1 upvotes · 0 comments
- [How to use auto-instrumentation with OpenTelemetry](https://daily.dev/posts/how-to-use-auto-instrumentation-with-opentelemetry-oji0ioxgp) · Red Hat Developer · 0 upvotes · 0 comments

---

Tags: [#observability](https://daily.dev/tags/observability), [#ai-coding](https://daily.dev/tags/ai-coding), [#opentelemetry](https://daily.dev/tags/opentelemetry), [#docker-compose](https://daily.dev/tags/docker-compose)

[View this post on daily.dev](https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The lazy developer’s guide to observing your own code","url":"https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i"},"datePublished":"2026-08-25T11:35:53.526Z","dateModified":"2026-09-13T21:59:56.758Z","description":"Developers are increasingly asked to instrument their own code with OpenTelemetry, and this piece makes the case for why that benefits developers directly:...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0df9b27ab517b03b1f2481beb725d636?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0df9b27ab517b03b1f2481beb725d636?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"CNCF","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"CNCF","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/55536a03390741eebd96d2f9b74d2d8d","url":"https://daily.dev/sources/cncf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"observability,ai-coding,opentelemetry,docker-compose","timeRequired":"PT19M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"CNCF","item":"https://daily.dev/sources/cncf"},{"@type":"ListItem","position":3,"name":"The lazy developer’s guide to observing your own code"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-lazy-developer-s-guide-to-observing-your-own-code-zvcqnpe8i#faq","mainEntity":[{"@type":"Question","name":"What are some open source tools for locally viewing OpenTelemetry traces, logs, and metrics during development?","acceptedAnswer":{"@type":"Answer","text":"Three open source desktop tools support this: OTel Desktop Viewer (traces only, web UI, started October 2022), otel-tui (traces, logs, and metrics with a topology view, terminal UI, started March 2024), and OTel Front (traces, logs, and metrics with a dashboard, web UI, started November 2025). All three can be run via Docker and connected to an OpenTelemetry Collector using OTLP exporters. Compare emerging OpenTelemetry visualization tools alongside other developer tooling picks on daily.dev."}},{"@type":"Question","name":"What is the difference between zero-code and manual OpenTelemetry instrumentation?","acceptedAnswer":{"@type":"Answer","text":"Zero-code (auto) instrumentation adds telemetry to application code without touching source code, using shims or bytecode agents at runtime or compile-time, and is available for Java, .NET, Python, JavaScript, PHP, and Go. It covers common third-party libraries but misses application-specific logic, so manual (code-based) instrumentation is still needed to add traces, metrics, logs, context propagation, and attributes for what matters to a given application. Developers weighing zero-code versus manual OpenTelemetry setups can track practical guidance like this on daily.dev."}},{"@type":"Question","name":"What is the spanmetrics connector used for in an OpenTelemetry Collector configuration?","acceptedAnswer":{"@type":"Answer","text":"The spanmetrics connector acts as an exporter in a traces pipeline and calculates the duration of an OpenTelemetry span, then feeds that span duration as input into a metrics pipeline. This helps developers detect latency issues when a span takes longer than usual to complete, without needing a separate manual latency-tracking mechanism. Engineers building Collector pipelines can find configuration details like this collected on daily.dev."}}]}
```

