From 8838b7529392f479534374c8a30b8812c4d7ddd2 Mon Sep 17 00:00:00 2001 From: Francesco Del Re Date: Fri, 15 Nov 2024 21:17:55 +0100 Subject: [PATCH 1/2] Update packages --- src/OpenSharpTrace.Test/OpenSharpTrace.Test.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSharpTrace.Test/OpenSharpTrace.Test.csproj b/src/OpenSharpTrace.Test/OpenSharpTrace.Test.csproj index 53af63d..4d825da 100644 --- a/src/OpenSharpTrace.Test/OpenSharpTrace.Test.csproj +++ b/src/OpenSharpTrace.Test/OpenSharpTrace.Test.csproj @@ -10,7 +10,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 784ccc14e997e967ce3ba66ba68774e47c4bfcaa Mon Sep 17 00:00:00 2001 From: Francesco Del Re Date: Wed, 20 Nov 2024 13:20:01 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 10748a0..e4d28f7 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,25 @@ [![Build](https://github.com/engineering87/OpenSharpTrace/actions/workflows/dotnet.yml/badge.svg)](https://github.com/engineering87/OpenSharpTrace/actions/workflows/dotnet.yml) [![stars - opensharptrace](https://img.shields.io/github/stars/engineering87/OpenSharpTrace?style=social)](https://github.com/engineering87/OpenSharpTrace) -OpenSharpTrace is a C# .NET library that allows extending any WebApi controller to automate a custom trace and observability of REST APIs in microservices environment. +OpenSharpTrace is a C# .NET library that allows extending any WebApi controller to automate a custom trace and observability of REST APIs in microservices environment. + +## Features +OpenSharpTrace offers the following features to enhance tracing and logging capabilities in .NET applications: + +- **Distributed Tracing**: Seamlessly integrate distributed tracing into your application to monitor and analyze requests across services. +- **Customizable Sampling**: Support for configurable sampling strategies to manage trace data volume effectively. +- **Extensible Framework**: Easily extend and adapt the library to fit your specific tracing needs. +- **Performance Optimization**: Minimal performance overhead to ensure smooth application operation. +- **Multi-environment Support**: Effortless configuration and deployment across various environments, including development, staging, and production. + +These features make OpenSharpTrace a powerful and flexible choice for implementing robust tracing solutions in your .NET ecosystem. + +## Installation +You can install the library via the NuGet package manager with the following command: + +```bash +dotnet add package OpenSharpTrace +``` ### How it works OpenSharpTrace implements a custom controller that overrides the `OnActionExecuting` and `OnActionExecuted` events to capture the request and response data. These are then encapsulated in a Trace object, which can be persisted specifically to SQL. All the relevant information needed for tracing both the request and response is automatically persisted, in details: