AWS.Distro.OpenTelemetry.Exporter.Xray.Udp
v1.0.0Latest Stable
.NETFramework4.6.2net8.0
Package Description
Published
May 28, 2025
1y ago
Total Downloads
40.2K
40,247
Install
dotnet add package AWS.Distro.OpenTelemetry.Exporter.Xray.Udp --version 1.0.0
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
AWS Distro for OpenTelemetry X-Ray UDP Exporter
The AWS Distro for OpenTelemetry X-Ray UDP Exporter allows you to send OpenTelemetry traces to the AWS X-Ray Daemon endpoint in Lambda environments over UDP.
Installation
dotnet add package AWS.Distro.OpenTelemetry.Exporter.Xray.Udp
Prerequisites
- .NET 8.0 or higher
Usage Example
// AWS_LAMBDA_FUNCTION_NAME Environment Variable will be defined in AWS Lambda Environment
private static String serviceName = Environment.GetEnvironmentVariable("AWS_LAMBDA_FUNCTION_NAME");
private static ResourceBuilder resourceBuilder = ResourceBuilder
.CreateDefault()
.AddService(serviceName);
TracerProvider tracerProvider = Sdk.CreateTracerProviderBuilder()
.AddAWSLambdaConfigurations()
.SetSampler(new ParentBasedSampler(new AlwaysOnSampler()))
.AddAWSInstrumentation()
.AddProcessor(
new SimpleActivityExportProcessor(
// Add the X-Ray UDP Exporter
new XrayUdpExporter(resourceBuilder.Build())
)
)
.Build();
License
This project is licensed under the Apache-2.0 License.
Changes from Previous Version
No structural changes between v0.1.0 and v1.0.0.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.