Datadog.Trace.Annotations
1.0.0
Prefix Reserved
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" />
paket add Datadog.Trace.Annotations --version 1.0.0
#r "nuget: Datadog.Trace.Annotations, 1.0.0"
// 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
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.
Attributes
Datadog.Trace.Annotations.TraceAttribute
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 |
-
.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 |
See release notes at https://github.com/DataDog/dd-trace-dotnet/releases