FastTechFoods.Observability 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FastTechFoods.Observability --version 1.1.0
                    
NuGet\Install-Package FastTechFoods.Observability -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FastTechFoods.Observability" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FastTechFoods.Observability" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="FastTechFoods.Observability" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FastTechFoods.Observability --version 1.1.0
                    
#r "nuget: FastTechFoods.Observability, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FastTechFoods.Observability@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FastTechFoods.Observability&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=FastTechFoods.Observability&version=1.1.0
                    
Install as a Cake Tool

FastTechFoods.Observability

NuGet Build Status

Biblioteca de observabilidade para aplicações .NET, focada em telemetria, tracing, métricas e integração facilitada com OpenTelemetry.


✨ Características

  • Integração com OpenTelemetry: Suporte a traces, métricas e logs.
  • Exportação para múltiplos destinos: Console, OTLP (OpenTelemetry Protocol), entre outros.
  • Configuração Simples: Pensado para microserviços e aplicações modernas .NET.
  • Instrumentação automática: Para ASP.NET Core, HTTP e EntityFramework Core.
  • Pronto para uso em produção.

🚀 Instalação

Via NuGet:

dotnet add package FastTechFoods.Observability

🛠️ Como Usar

  1. Adicione a biblioteca ao seu projeto.
  2. Configure os serviços no Program.cs:
using FastTechFoods.Observability;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddFastTechFoodsObservability(options =>
{
    // Configure endpoints, sampling, exporters, etc.
});

var app = builder.Build();

app.UseFastTechFoodsObservability();

app.Run();

Consulte a documentação dos métodos de configuração para customizações avançadas.


📦 Exportadores Suportados

  • Console
  • OTLP (gRPC/HTTP)
  • Jaeger (via OTLP)
  • Outros facilmente configuráveis via OpenTelemetry

🎯 Suporte a Instrumentações

  • ASP.NET Core
  • HTTP Client
  • EntityFramework Core

📝 Exemplo de Configuração OTLP

builder.Services.AddFastTechFoodsObservability(options =>
{
    options.UseOtlpExporter("http://localhost:4317");
});

🧩 Requisitos

  • .NET 8.0 ou superior
  • Pacotes OpenTelemetry até 1.10.x (para .NET 8)

🤝 Contribuindo

Contribuições são bem-vindas! Sinta-se à vontade para abrir Issues ou Pull Requests.


📄 Licença

Este projeto está licenciado sob a licença MIT.


📢 Observações

  • Para uso com .NET 9, utilize versões do OpenTelemetry a partir de 1.11.x e ajuste o TargetFramework conforme necessário.

Desenvolvido por FastTechFoods 🥡

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.7.0 457 7/21/2025
2.6.0 28 7/19/2025
2.5.0 41 7/12/2025
2.4.0 131 7/8/2025
2.3.0 132 7/8/2025
2.2.0 115 7/8/2025
2.1.0 111 7/8/2025
2.0.0 108 7/5/2025
1.1.0 119 7/8/2025
1.0.0 52 7/5/2025