Datadog.FeatureFlags.OpenFeature
2.0.0
Prefix Reserved
dotnet add package Datadog.FeatureFlags.OpenFeature --version 2.0.0
NuGet\Install-Package Datadog.FeatureFlags.OpenFeature -Version 2.0.0
<PackageReference Include="Datadog.FeatureFlags.OpenFeature" Version="2.0.0" />
<PackageVersion Include="Datadog.FeatureFlags.OpenFeature" Version="2.0.0" />
<PackageReference Include="Datadog.FeatureFlags.OpenFeature" />
paket add Datadog.FeatureFlags.OpenFeature --version 2.0.0
#r "nuget: Datadog.FeatureFlags.OpenFeature, 2.0.0"
#:package Datadog.FeatureFlags.OpenFeature@2.0.0
#addin nuget:?package=Datadog.FeatureFlags.OpenFeature&version=2.0.0
#tool nuget:?package=Datadog.FeatureFlags.OpenFeature&version=2.0.0
Datadog.FeatureFlags.OpenFeature NuGet package
This package contains the OpenFeature provider for Datadog .NET Feature Flags Events platform (FFE).
What does Datadog.Trace.OpenFeature contain?
Datadog.Trace.OpenFeature contains two things:
- A reference to the OpenFeature v2 NuGet package for custom instrumentation.
- The native binaries required for automatic instrumentation, for the Continuous Profiler, and for ASM.
These native binaries are identical to those installed by the MSI and Linux installer packages, so Datadog.Trace.Bundle should be considered an alternative deployment mechanism for automatic instrumentation.
The main advantages of Datadog.Trace.Bundle over the MSI or Linux packages are:
- You can use it in locations where you cannot access the underlying host to install the MSI or Linux package.
- You can have multiple applications on the same host using different versions of Datadog.Trace.Bundle without issue.
Getting Started
- Configure the Datadog agent for APM as described in our documentation.
- Configure the tracer as shown in the next section
- Configure the Datadog OpenFeature SDK as described in our documentation.
- Add the Datadog.FeatureFlags.OpenFeature NuGet package to your project, using
dotnet add package Datadog.FeatureFlags.OpenFeature, for example. - Add the
Datadog.FeatureFlags.OpenFeature.DatadogProviderto theOpenFeature.Api.Instance.
- Add the Datadog.FeatureFlags.OpenFeature NuGet package to your project, using
- Use the
OpenFeature.FeatureClientto retrieve configured feature flags from Datadog's backend. - View your live data on Datadog.
Configure the tracer
After adding the NuGet package to your project, set the following required environment variables to enable automatic instrumentation of your application and restart the application.
NOTE: The following are the mandatory variables. For further configuration options, see our public documentation for the Tracer and the Continuous Profiler.
.NET Core:
CORECLR_ENABLE_PROFILING=1
CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
CORECLR_PROFILER_PATH=<System-dependent path>
DD_DOTNET_TRACER_HOME=<APP_DIRECTORY>/datadog
.NET Framework:
COR_ENABLE_PROFILING=1
COR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8}
COR_PROFILER_PATH=<System-dependent path>
DD_DOTNET_TRACER_HOME=<APP_DIRECTORY>/datadog
The value for the <APP_DIRECTORY> placeholder is the path to the directory containing the application’s .dll files. The value for the CORECLR_PROFILER_PATH/COR_PROFILER_PATH environment variable varies based on the system where the application is running:
| OPERATING SYSTEM AND PROCESS ARCHITECTURE | CORECLR_PROFILER_PATH VALUE |
|---|---|
| Alpine Linux x64 | <APP_DIRECTORY>/datadog/linux-musl-x64/Datadog.Trace.ClrProfiler.Native.so |
| Linux x64 | <APP_DIRECTORY>/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so |
| Alpine Linux ARM64 | <APP_DIRECTORY>/datadog/linux-musl-arm64/Datadog.Trace.ClrProfiler.Native.so |
| Linux ARM64 | <APP_DIRECTORY>/datadog/linux-arm64/Datadog.Trace.ClrProfiler.Native.so |
| Windows x64 | <APP_DIRECTORY>\datadog\win-x64\Datadog.Trace.ClrProfiler.Native.dll |
| Windows x86 | <APP_DIRECTORY>\datadog\win-x86\Datadog.Trace.ClrProfiler.Native.dll |
For Docker images running on Linux, configure the image to run the createLogPath.sh script:
RUN /<APP_DIRECTORY>/datadog/createLogPath.sh
Examples
Docker examples are available here
Get in touch
If you have questions, feedback, or feature requests, reach our support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 12.0.1)
- OpenFeature (>= 2.0.0)
-
.NETFramework 4.6.1
- Newtonsoft.Json (>= 12.0.1)
- OpenFeature (>= 2.0.0)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.1)
- OpenFeature (>= 2.0.0)
-
net6.0
- Newtonsoft.Json (>= 12.0.1)
- OpenFeature (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 1,619 | 1/26/2026 |
See release notes at https://github.com/DataDog/dd-trace-dotnet/releases.
Please note that Datadog does not support tracing (manual or automatic) in partial-trust environments.