Skip to content

How to get .NET metrics? #198

@TheBlueSky

Description

@TheBlueSky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions