LaunchDarkly.ServerSdk.Telemetry
1.5.1
Prefix Reserved
dotnet add package LaunchDarkly.ServerSdk.Telemetry --version 1.5.1
NuGet\Install-Package LaunchDarkly.ServerSdk.Telemetry -Version 1.5.1
<PackageReference Include="LaunchDarkly.ServerSdk.Telemetry" Version="1.5.1" />
<PackageVersion Include="LaunchDarkly.ServerSdk.Telemetry" Version="1.5.1" />
<PackageReference Include="LaunchDarkly.ServerSdk.Telemetry" />
paket add LaunchDarkly.ServerSdk.Telemetry --version 1.5.1
#r "nuget: LaunchDarkly.ServerSdk.Telemetry, 1.5.1"
#:package LaunchDarkly.ServerSdk.Telemetry@1.5.1
#addin nuget:?package=LaunchDarkly.ServerSdk.Telemetry&version=1.5.1
#tool nuget:?package=LaunchDarkly.ServerSdk.Telemetry&version=1.5.1
LaunchDarkly Server-Side SDK for .NET - Telemetry
This library provides OpenTelemetry integration for the LaunchDarkly Server-Side .NET SDK. It includes a TracingHook that automatically creates OpenTelemetry spans for feature flag evaluations using System.Diagnostics.Activity.
For more information, see: OpenTelemetry.
Supported .NET versions
This version of the library is built for the following targets:
- .NET 8.0: runs on .NET 8.0 and above (including higher major versions).
- .NET Framework 4.6.2: runs on .NET Framework 4.6.2 and above.
- .NET Standard 2.0: runs in any project that is targeted to .NET Standard 2.x rather than to a specific runtime platform.
The .NET build tools should automatically load the most appropriate build of the library for whatever platform your application or library is targeted to.
Getting started
Install the NuGet package:
dotnet add package LaunchDarkly.ServerSdk.Telemetry
Then register the TracingHook with the LaunchDarkly SDK:
var hook = LaunchDarkly.Sdk.Server.Telemetry.TracingHook
.Builder()
.Build();
var config = Configuration.Builder("my-sdk-key")
.Hooks(Components.Hooks().Add(hook))
.Build();
var client = new LdClient(config);
Signing
The published version of this assembly is digitally signed with Authenticode and strong-named. Building the code locally in the default Debug configuration does not use strong-naming and does not require a key file. The public key file is in this repository at LaunchDarkly.pk as well as here:
Public Key:
0024000004800000940000000602000000240000525341310004000001000100f121bbf427e4d7
edc64131a9efeefd20978dc58c285aa6f548a4282fc6d871fbebeacc13160e88566f427497b625
56bf7ff01017b0f7c9de36869cc681b236bc0df0c85927ac8a439ecb7a6a07ae4111034e03042c
4b1569ebc6d3ed945878cca97e1592f864ba7cc81a56b8668a6d7bbe6e44c1279db088b0fdcc35
52f746b4
Public Key Token: f86add69004e6885
Contributing
We encourage pull requests and other contributions from the community. Check out our contributing guidelines for instructions on how to contribute to this project.
Verifying build provenance with the SLSA framework
LaunchDarkly uses the SLSA framework (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published packages. To learn more, see the provenance guide.
About LaunchDarkly
- LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
- Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
- Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
- Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
- Grant access to certain features based on user attributes, like payment plan (eg: users on the 'gold' plan get access to more features than users in the 'silver' plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read our documentation for a complete list.
- Explore LaunchDarkly
- launchdarkly.com for more information
- docs.launchdarkly.com for our documentation and SDK reference guides
- apidocs.launchdarkly.com for our API documentation
- blog.launchdarkly.com for the latest product updates
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. 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. |
-
.NETFramework 4.6.2
- LaunchDarkly.ServerSdk (>= 8.7.0 && < 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 5.0.0 && < 11.0.0)
-
.NETStandard 2.0
- LaunchDarkly.ServerSdk (>= 8.7.0 && < 9.0.0)
- System.Diagnostics.DiagnosticSource (>= 5.0.0 && < 11.0.0)
-
net8.0
- LaunchDarkly.ServerSdk (>= 8.7.0 && < 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LaunchDarkly.ServerSdk.Telemetry:
| Package | Downloads |
|---|---|
|
LaunchDarkly.Observability
LaunchDarkly Observability for Server-Side .NET SDK |
GitHub repositories
This package is not used by any popular GitHub repositories.