Skip to content

Repository files navigation

dotnet-trace

Build Nuget (with prereleases) Nuget GitHub

This project aims to allow for distributed tracing through .NET applications in Kubernetes by propagating the B3 trace headers.

Getting started

Add reference to the nuget package:

dotnet nuget add Haland.DotNetTrace

In your Startup.cs file (or where ever you've placed your service collection registration and middleware pipeline setup):

Add import

using Haland.DotNetTrace;

Register tracing services

public void ConfigureServices(IServiceCollection services)
{
    services.AddTracing();
}

Add tracing middleware to the middleware pipeline

public void Configure(IApplicationBuilder app)
{
    app.UseTracing();
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages