<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/go-1-26-ships-green-tea-gc-opentelemetry-compile-time-instrumentation-hits-v1-nhykmtmdz" -->

---
title: Go 1.26 ships Green Tea GC, OpenTelemetry compile-time...
description: Go 1.26 makes Green Tea the default garbage collector, a meaningful runtime change worth watching in production heap profiles. OpenTelemetry&#x27;s compile-time...
canonical: https://daily.dev/posts/go-1-26-ships-green-tea-gc-opentelemetry-compile-time-instrumentation-hits-v1-nhykmtmdz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Go 1.26 ships Green Tea GC, OpenTelemetry compile-time instrumentation hits v1 | daily.dev
og:description: Go 1.26 makes Green Tea the default garbage collector, a meaningful runtime change worth watching in production heap profiles. OpenTelemetry&#x27;s compile-time...
og:url: https://daily.dev/posts/go-1-26-ships-green-tea-gc-opentelemetry-compile-time-instrumentation-hits-v1-nhykmtmdz
og:image: https://api.daily.dev/og/posts/NHyKmtmDZ.png
og:image:alt: Go 1.26 ships Green Tea GC, OpenTelemetry compile-time instrumentation hits v1
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.

# Go 1.26 ships Green Tea GC, OpenTelemetry compile-time instrumentation hits v1

**[Go Digest](https://daily.dev/sources/golang_digest)** · 4 min read · 3 upvotes · 0 comments

## Summary

Go 1.26 makes Green Tea the default garbage collector, a meaningful runtime change worth watching in production heap profiles. OpenTelemetry's compile-time instrumentation for Go reached v1 this week — one build command swap, no source changes, no eBPF. GoLand 2026.2 landed with a new optimization tool window that consolidates profiling, escape analysis, and struct layout into one place. On the ecosystem side, a pure-Go PDF renderer using React components and a WebAssembly API gateway with sub-millisecond p99 latency both showed up as interesting architectural experiments.

## Content

**TLDR:** Go 1.26 makes Green Tea the default garbage collector, a meaningful runtime change worth watching in production heap profiles. OpenTelemetry's compile-time instrumentation for Go reached v1 this week — one build command swap, no source changes, no eBPF. GoLand 2026.2 landed with a new optimization tool window that consolidates profiling, escape analysis, and struct layout into one place. On the ecosystem side, a pure-Go PDF renderer using React components and a WebAssembly API gateway with sub-millisecond p99 latency both showed up as interesting architectural experiments.

---

## Go 1.26 makes Green Tea the default GC

Green Tea is now the default garbage collector in Go 1.26. The post explores its cache-friendliness using perf tooling and visualizes heap behavior to show how allocation patterns change under the new GC. If you're running latency-sensitive services, this is worth profiling — GC behavior changes can surface in unexpected places under production load. [Read more](https://daily.dev/posts/9IZx9M5Kg)

## OpenTelemetry Go compile-time instrumentation reaches v1

The otelc tool hooks into the Go toolchain via -toolexec and injects traces and metrics at build time with no source changes required. It covers net/http, database/sql, gRPC, Redis, and Go runtime metrics. Built collaboratively by Alibaba and Datadog, it closes the gap that previously forced Go teams to either instrument manually or run eBPF agents. Swap `go build` for `otelc go build` and you're done. [Read more](https://daily.dev/feed-by-ids?id=Sf7b5uNcy&id=Y0R4u0BEY)

## GoLand 2026.2 ships Go optimization tool window and go fix integration

The new release consolidates pprof profiling, escape analysis visualization, and struct optimization into a single workflow. It also adds support for Go 1.27's goroutine leak profile and a redesigned flame graph viewer. The official go fix integration handles code modernization directly from the IDE. For teams doing performance work, having escape analysis and profiling in the same view is a genuine workflow improvement. [Read more](https://daily.dev/feed-by-ids?id=T1h8GDEOr&id=Y0R4u0BEY)

## waffle: React-authored PDFs rendered inside a Go binary at 6.6ms per page

The library uses esbuild (pure Go) to compile JSX in memory and goja to execute real React, then serializes the element tree as JSON for a Go pipeline that handles flexbox layout and PDF writing. A warm single-page render takes ~6.6ms; an 8-page document with fonts peaks at ~83 MiB versus hundreds of MB for browser-based approaches. No Node, no headless Chromium, no sidecar. Trade-offs include no arbitrary HTML/CSS and synchronous-only rendering. [Read more](https://daily.dev/posts/YOQ6VDFyj)

---

## Also notable

- **PVS-Studio V8031 finds arr[len(arr)] off-by-one in Baidu's BFE and other popular Go projects:** Scanning 1,000 popular Go projects on GitHub, the rule found the classic always-panicking index bug in real production codebases including Baidu's BFE load balancer, Ferret, fq, and Incus — the Go and JS/TS analyzers are targeting an August release. [Read more](https://daily.dev/feed-by-ids?id=H1Lppdjk4&id=Vbmev7SVo)
- **Genkit Agents API ships in preview for Go with detached turns and human-in-the-loop:** Google's Genkit now offers a Go API with detached turns (agents continue server-side after client disconnect with polling) and interruptible tools that pause for human approval with anti-forgery validation, backed by Firestore or in-memory state persistence. [Read more](https://daily.dev/posts/RhVLSVOx2)
- **DAP interop bug: same 'dap-18' version string, four different wire format differences:** A pure-Go DAP implementation and Janus (ISRG's Rust reference) both advertised dap-18 but differed in AAD field count, request body structure, HTTP method semantics, and list length encoding — the fix was dual-mode detection from the HTTP method, not version string agreement. [Read more](https://daily.dev/posts/JtNU3ZmNF)
- **Ada: zero-dependency Go web framework with runtime middleware hot-swapping:** Ada wraps net/http with a zero-allocation radix trie router and a Slot/Pipeline system that lets you replace or disable middlewares on a live server without restarts, with optional modules for CORS, OpenTelemetry, rate limiting, OAuth2, and gRPC on the same port. [Read more](https://daily.dev/posts/nwz4cRy4S)
- **Go Mobile retrospective: ~30-60MB background daemon, but broken DNS on real iOS devices:** A year-long production experience using Go Mobile for all business logic in a Flutter app found the background daemon runs at 30-60MB, but real iOS devices require the libresolv package in Xcode to fix DNS lookups — a gotcha not documented in the official guides. [Read more](https://daily.dev/posts/fpGvcqgro)

## Similar posts on daily.dev

- [Go 1.26 turned on a new garbage collector. Whether it helps you depends on how your heap is shaped.](https://daily.dev/posts/go-1-26-turned-on-a-new-garbage-collector-whether-it-helps-you-depends-on-how-your-heap-is-shaped--4agvnc3q3) · Medium · 8 upvotes · 0 comments

---

Tags: [#devtools](https://daily.dev/tags/devtools), [#golang](https://daily.dev/tags/golang), [#webassembly](https://daily.dev/tags/webassembly), [#opentelemetry](https://daily.dev/tags/opentelemetry)

[View this post on daily.dev](https://daily.dev/posts/go-1-26-ships-green-tea-gc-opentelemetry-compile-time-instrumentation-hits-v1-nhykmtmdz)

```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":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/go-1-26-ships-green-tea-gc-opentelemetry-compile-time-instrumentation-hits-v1-nhykmtmdz","headline":"Go 1.26 ships Green Tea GC, OpenTelemetry compile-time instrumentation hits v1","text":"Go 1.26 makes Green Tea the default garbage collector, a meaningful runtime change worth watching in production heap profiles. OpenTelemetry's compile-time instrumentation for Go reached v1 this week — one build command swap, no source changes, no eBPF. GoLand 2026.2 landed with a new optimization tool window that consolidates profiling, escape analysis, and struct layout into one place. On the ecosystem side, a pure-Go PDF renderer using React components and a WebAssembly API gateway with sub-millisecond p99 latency both showed up as interesting architectural experiments.","url":"https://daily.dev/posts/go-1-26-ships-green-tea-gc-opentelemetry-compile-time-instrumentation-hits-v1-nhykmtmdz","datePublished":"2026-07-20T04:17:55.394Z","dateModified":"2026-07-20T04:18:16.418Z","author":{"@type":"Organization","name":"Go Digest","logo":"https://media.daily.dev/image/upload/s--8Aro536C--/f_auto,q_auto/v1773839403/logos/golang_digest?_a=BAMAMiiu0","url":"https://daily.dev/sources/golang_digest"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/golang_digest","name":"Go Digest"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Go Digest","item":"https://daily.dev/sources/golang_digest"},{"@type":"ListItem","position":3,"name":"Go 1.26 ships Green Tea GC, OpenTelemetry compile-time instrumentation hits v1"}]}
```

