grafana / grafana/pyroscope-nodejs

Support Node.js in source code / line-by-line integration

Open
#321 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
51
Forks
36
PR merge metrics
No merged PRs in 30d

Description

The line-by-line source code integration only supports Go, Java, and Python.

**Node.js apps profiled with @pyroscope/nodejs have no way to link a function back to the exact source line in GitHub, unlike the supported languages.**

doc: https://grafana.com/docs/pyroscope/latest/view-and-analyze-profile-data/line-by-line/

- Support service_repository / service_git_ref / service_root_path tags for Node.js profiles, same as Go/Python.
- Automatic file path resolution for .js/.ts, with source map support for transpiled/bundled TS.
- .pyroscope.yaml mapping support consistent with existing languages.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing Go, Java, and Python line-by-line integrations and the linked documentation. Check how Node.js profiles expose service_repository, service_git_ref, and service_root_path, then investigate .js/.ts path resolution, source maps, and .pyroscope.yaml mappings. Done means Node.js profiles link functions to exact GitHub source lines consistently with the supported languages.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.