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

How to get .NET metrics? #198

Open
TheBlueSky opened this issue Nov 5, 2024 · 0 comments
Open

How to get .NET metrics? #198

TheBlueSky opened this issue Nov 5, 2024 · 0 comments

Comments

@TheBlueSky
Copy link

If this is not the right repository for this question, please guide me to the right one.

I followed the document here, which says that all I need to do is setting the environment variable DD_RUNTIME_METRICS_ENABLED to true. I did that, but I do not see any of these metrics for my application.

So, I asked some of my colleagues, who worked on an application which has such metrics in Datadog, about the way they configured the application, and they mentioned that I need these too:

CORECLR_ENABLE_PROFILING=1
CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
CORECLR_PROFILER_PATH=/opt/app/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so

Is that true? If so, what is the reason that I do not find this information anywhere in the documentation? These seem, to me, related to profiling and tracing, more than metrics.

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

1 participant