Fluens.Observability
0.6.6
dotnet add package Fluens.Observability --version 0.6.6
NuGet\Install-Package Fluens.Observability -Version 0.6.6
<PackageReference Include="Fluens.Observability" Version="0.6.6" />
<PackageVersion Include="Fluens.Observability" Version="0.6.6" />
<PackageReference Include="Fluens.Observability" />
paket add Fluens.Observability --version 0.6.6
#r "nuget: Fluens.Observability, 0.6.6"
#:package Fluens.Observability@0.6.6
#addin nuget:?package=Fluens.Observability&version=0.6.6
#tool nuget:?package=Fluens.Observability&version=0.6.6
Fluens.Observability
OpenTelemetry tracing, metrics, logging, and Serilog structured logging integration with optional Seq sink.
Installation
dotnet add package Fluens.Observability
Usage
fluensBuilder
.AddObservability(opts =>
{
opts.OtlpEndpoint = "http://localhost:4317";
opts.SamplingRatio = 1.0;
})
.AddSerilog();
ObservabilityOptions properties: Enabled, EnableTracing, EnableMetrics, EnableLogging, OtlpEndpoint, SamplingRatio, AdditionalSources, AdditionalMeters, SeqEndpoint, SeqApiKey.
Configuration section: Fluens:Observability.
Both AddObservability and AddSerilog accept optional configuration callbacks for inline customization.
LogSanitizer
Static helpers for redacting PII from log messages. Uses [GeneratedRegex] for AOT-compatible pattern matching.
LogSanitizer.Redact(value); // Replaces entire value with ***REDACTED***
LogSanitizer.MaskEmail(value); // Preserves first two chars of local part and full domain
LogSanitizer.MaskCardNumber(value); // Preserves last four digits
LogSanitizer.MaskPhone(value); // Preserves last four digits
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Fluens (>= 0.6.6)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.0)
- OpenTelemetry.Extensions.Hosting (>= 1.15.0)
- OpenTelemetry.Instrumentation.Http (>= 1.15.0)
- OpenTelemetry.Instrumentation.Runtime (>= 1.15.0)
- Serilog (>= 4.3.1)
- Serilog.Enrichers.Environment (>= 3.0.1)
- Serilog.Enrichers.Thread (>= 4.0.0)
- Serilog.Extensions.Hosting (>= 10.0.0)
- Serilog.Formatting.Compact (>= 3.0.0)
- Serilog.Settings.Configuration (>= 10.0.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Serilog.Sinks.Seq (>= 9.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Fluens.Observability:
| Package | Downloads |
|---|---|
|
Fluens.Web.Observability
ASP.NET Core observability features: Prometheus metrics endpoint and request logging middleware. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.6 | 75 | 3/11/2026 |
| 0.6.5 | 81 | 3/4/2026 |
| 0.6.4 | 78 | 3/4/2026 |
| 0.6.3 | 88 | 3/3/2026 |
| 0.6.2 | 90 | 3/2/2026 |
| 0.6.1 | 91 | 3/2/2026 |
| 0.6.0 | 91 | 3/1/2026 |
| 0.5.7 | 85 | 3/1/2026 |
| 0.5.6 | 90 | 3/1/2026 |
| 0.5.5 | 84 | 2/28/2026 |
| 0.5.4 | 83 | 2/28/2026 |
| 0.5.3 | 92 | 2/27/2026 |
| 0.5.2 | 91 | 2/27/2026 |
| 0.5.1 | 90 | 2/27/2026 |
| 0.5.0 | 91 | 2/26/2026 |
| 0.3.2 | 92 | 2/26/2026 |
| 0.3.1 | 88 | 2/26/2026 |
| 0.3.0 | 87 | 2/24/2026 |
| 0.2.5 | 89 | 2/24/2026 |
| 0.2.4 | 90 | 2/24/2026 |