<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc" -->

---
title: Flight Recorder in Go 1.25 | daily.dev
description: Go 1.25 introduces flight recording, a new diagnostic tool that captures execution traces in memory and allows developers to snapshot the last few seconds of...
canonical: https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Flight Recorder in Go 1.25 | daily.dev
og:description: Go 1.25 introduces flight recording, a new diagnostic tool that captures execution traces in memory and allows developers to snapshot the last few seconds of...
og:url: https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc
og:image: https://api.daily.dev/og/posts/2v6fCJ1Vc.png
og:image:alt: Flight Recorder in Go 1.25
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.

# Flight Recorder in Go 1.25

**[Go](https://daily.dev/sources/golang)** · 12 min read · 17 upvotes · 0 comments

## Summary

Go 1.25 introduces flight recording, a new diagnostic tool that captures execution traces in memory and allows developers to snapshot the last few seconds of execution when problems are detected. This feature is particularly useful for long-running web services where issues occur unpredictably. The post demonstrates how to use flight recording to debug a performance problem in an HTTP server, showing how to configure the recorder, capture snapshots when slow requests are detected, and analyze the resulting traces to identify root causes like improper mutex usage.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://go.dev/blog/flight-recorder>

---

Tags: [#performance](https://daily.dev/tags/performance), [#golang](https://daily.dev/tags/golang)

[View this post on daily.dev](https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc)

```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":"Flight Recorder in Go 1.25","url":"https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc"},"datePublished":"2025-09-26T17:20:31.009Z","dateModified":"2025-09-26T17:20:53.811Z","description":"Go 1.25 introduces flight recording, a new diagnostic tool that captures execution traces in memory and allows developers to snapshot the last few seconds of...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/39b837b91d435ac673a1daa7b32a05fa?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/39b837b91d435ac673a1daa7b32a05fa?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"Go","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":"Go","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f416aeab0a1f4b9faa22d93768c97905","url":"https://daily.dev/sources/golang"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/flight-recorder-in-go-1-25-2v6fcj1vc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":17},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,golang","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Go","item":"https://daily.dev/sources/golang"},{"@type":"ListItem","position":3,"name":"Flight Recorder in Go 1.25"}]}
```

