-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No symbols in Node.JS application #4205
Comments
Could this be related to #2810? |
Maybe. Any progress with it? |
With version 0.19.0 I don't get these errors, but still there are no symbols. |
Anything I can provide to help debugging this? |
@orgads Sorry for not getting back to you sooner. Could you check this document for troubleshooting: https://www.polarsignals.com/docs/nodejs#troubleshooting We recently discovered some issues regarding some nodejs bugs. Let us know if it doesn't help. |
I'm really not sure what I did different, but it works now. Thanks! |
For what it's worth we've done many improvements in this area recently, so maybe it was just fixed with that. |
I use the same versions 😅 |
Ah ok, that's odd then. But glad it works now! |
Ok, I found out what my problem was. My application is running in Docker, so it writes the perfmap file in /tmp inside the container. I need to map it to the host for perf/parca to work correctly. |
This should not be a problem, we should be reading the tmp of any process in a different mount namespace... @kakkoyun for your attention |
Actually I did my current tests with plain perf, so maybe parca did work without it. Is there a flag for perf that enables reading it from the container? |
I'm currently having the same issue with Parca running in K8s, no error logs though. NodeJS is generating the perfmap file in the /tmp directory of the container, Parca agent is running in the host, the whole thing deployed with the Parca Helm chart. Parca only shows addresses and no symbols though. |
We need to double-check the symbolization https://discord.com/channels/877547706334199818/877547706334199821/1217440802322776094 I'm re-opening the issue to keep track of things. |
Providing more details on my previous comment: Application versionsNodejs: 20.11.1 We are running nodejs in a container based on After enabling |
Describe the bug
I'm running a Node.JS application (in a Docker container), and trying to profile it, but all I get are addresses.
I pass
--perf-basic-prof
and--interpreted-frames-native-stack
to node.Parca agent is running on the host.
To Reproduce
I don't know how to reproduce with a small app. The example in parca-demos works fine.
Expected behavior
Function names should appear.
Screenshots or Profiles (using https://pprof.me)
Logs
Not sure if it's related, but I get this frequently on the server side.
Software (please complete the following information):
parca-agent, version 0.28.0 (commit: 1a09d0149d53f7e8c60287da7ada11b8ac29bf4d, date: 2023-12-04T14:09:50Z), arch: amd64
parca, version 0.20.0 (commit: d2b3947b351823a13da1b29757b4c8901e70e90c)
Workload (please complete the following information):
Environment (please complete the following information):
node:18.18.2-alpine3.18
)6.1.0-13-cloud-amd64
x86_64
The text was updated successfully, but these errors were encountered: