Datadog.Trace.Annotations 1.0.0 The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved

.NET Standard 2.0 .NET Framework 4.6.1
Install-Package Datadog.Trace.Annotations -Version 1.0.0
dotnet add package Datadog.Trace.Annotations --version 1.0.0
<PackageReference Include="Datadog.Trace.Annotations" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Datadog.Trace.Annotations --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Datadog.Trace.Annotations, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Datadog.Trace.Annotations as a Cake Addin
#addin nuget:?package=Datadog.Trace.Annotations&version=1.0.0

// Install Datadog.Trace.Annotations as a Cake Tool
#tool nuget:?package=Datadog.Trace.Annotations&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Datadog.Trace.Annotations NuGet package

This package contains custom attribute types to enable additional features of the Datadog APM instrumentation library.

Note: Automatic instrumentation is required for the attributes in this package to take effect. Please read our documentation for details on how to install the tracer for automatic instrumentation.

Note: If you are unable to add new package references to your application, you may still enable this functionality by defining types inside your application whose full name and type members match the definitions in this package.



An attribute that marks the decorated method to be instrumented by Datadog automatic instrumentation. Source

using System;

namespace Datadog.Trace.Annotations;

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public class TraceAttribute : Attribute
    public string OperationName { get; set; }

    public string ResourceName { get; set; }

Get in touch

If you have questions, feedback, or feature requests, reach our support.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

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
1.0.0 10,627 4/22/2022