# How Encore Implements Automatic Tracing for TypeScript and Go Backend Applications

DevFeed: [How Encore Implements Automatic Tracing for TypeScript and Go Backend Applications](<https://devfeed.tech/articles/tracing-typescript-s-trails-17855.md>)

Original publisher: [Read original article](<https://encore.dev/blog/tracing-typescripts-trails>)

Author: Dominic Black

Published: 2023-11-10T00:00:00Z

Content type: article

Language: en

Sources: [Encore Updates](<https://devfeed.tech/sources/encore-updates.md>)

Topics: [tracing](<https://devfeed.tech/topics/tracing.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>)

Tags: [automatic](<https://devfeed.tech/tags/automatic.md>), [backend](<https://devfeed.tech/tags/backend.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [tracing](<https://devfeed.tech/tags/tracing.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

This article explains Encore's automatic tracing for distributed backend applications, focusing on its TypeScript request-tracking implementation and comparing it with the Go approach. It describes how traces and spans are generated for API calls, external HTTP calls, database queries, and Pub/Sub work, then streamed to a trace engine and displayed in a dashboard.

## Source excerpt

The wizardry of AsyncLocalStorage