Skip to content
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

Dotnet Language SDK example not working #3680

Open
AstralJaeger opened this issue Nov 13, 2024 · 2 comments
Open

Dotnet Language SDK example not working #3680

AstralJaeger opened this issue Nov 13, 2024 · 2 comments

Comments

@AstralJaeger
Copy link

Describe the bug

The DotNet Language SDK example isn't working. After running the example using docker compose up I'm not getting any profiles from the applications in Pyroscope, only the Pyroscope self-profiling. Application also doesn't log ENV PYROSCOPE_APPLICATION_NAME=fast-slow.dotnet.app from dockerfile, but instead logs unknown_service:dotnet.

To Reproduce

Steps to reproduce the behavior:

  1. Clone the repository
  2. Navigate to the example folder examples\language-sdk-instrumentation\dotnet\rideshare
  3. run docker compose up
  4. observe the profiles collected in the pyroscope frontend localhost:4040

Expected behavior

To get the profiles of the instrumented application and the correct PYROSCOPE_APPLICATION_NAME is logged on the console.

Environment

  • Infrastructure: Docker Compose on Docker Desktop
  • Deployment tool: VSCode, Docker, Windows

Additional Context

Screenshot of logs:
Image

Applications in Pyroscope:
Image

A little support here would be nice, I've tried to instrument my own application using Pyroscope and had issues and thus tried to run the dotnet rideshare example but I'm having the same issues. Issues occur on Kubernetes, Docker Desktop (Windows) and Docker Desktop (MacOS)

@AstralJaeger
Copy link
Author

Update:
The rideshare example works with verison 0.8.20 of the pyroscope profiler, but not with version 0.9.0

@korniltsev
Copy link
Collaborator

korniltsev commented Nov 18, 2024

The rideshare example works with verison 0.8.20 of the pyroscope profiler, but not with version 0.9.0

I will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants