Fluens.Observability
0.6.2
dotnet add package Fluens.Observability --version 0.6.2
NuGet\Install-Package Fluens.Observability -Version 0.6.2
<PackageReference Include="Fluens.Observability" Version="0.6.2" />
<PackageVersion Include="Fluens.Observability" Version="0.6.2" />
<PackageReference Include="Fluens.Observability" />
paket add Fluens.Observability --version 0.6.2
#r "nuget: Fluens.Observability, 0.6.2"
#:package Fluens.Observability@0.6.2
#addin nuget:?package=Fluens.Observability&version=0.6.2
#tool nuget:?package=Fluens.Observability&version=0.6.2
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.2)
- 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.2 | 0 | 3/2/2026 |
| 0.6.1 | 0 | 3/2/2026 |
| 0.6.0 | 27 | 3/1/2026 |
| 0.5.7 | 27 | 3/1/2026 |
| 0.5.6 | 29 | 3/1/2026 |
| 0.5.5 | 31 | 2/28/2026 |
| 0.5.4 | 32 | 2/28/2026 |
| 0.5.3 | 37 | 2/27/2026 |
| 0.5.2 | 32 | 2/27/2026 |
| 0.5.1 | 37 | 2/27/2026 |
| 0.5.0 | 40 | 2/26/2026 |
| 0.3.2 | 41 | 2/26/2026 |
| 0.3.1 | 37 | 2/26/2026 |
| 0.3.0 | 39 | 2/24/2026 |
| 0.2.5 | 40 | 2/24/2026 |
| 0.2.4 | 41 | 2/24/2026 |
| 0.2.3 | 37 | 2/24/2026 |
| 0.1.0 | 42 | 2/23/2026 |