OrionGuard.OpenTelemetry
6.7.1
dotnet add package OrionGuard.OpenTelemetry --version 6.7.1
NuGet\Install-Package OrionGuard.OpenTelemetry -Version 6.7.1
<PackageReference Include="OrionGuard.OpenTelemetry" Version="6.7.1" />
<PackageVersion Include="OrionGuard.OpenTelemetry" Version="6.7.1" />
<PackageReference Include="OrionGuard.OpenTelemetry" />
paket add OrionGuard.OpenTelemetry --version 6.7.1
#r "nuget: OrionGuard.OpenTelemetry, 6.7.1"
#:package OrionGuard.OpenTelemetry@6.7.1
#addin nuget:?package=OrionGuard.OpenTelemetry&version=6.7.1
#tool nuget:?package=OrionGuard.OpenTelemetry&version=6.7.1
OrionGuard.OpenTelemetry
OpenTelemetry instrumentation for OrionGuard. Emits validation metrics and distributed tracing spans so you can see how your validators behave in production.
What this package emits
Metrics (Meter: Moongazing.OrionGuard):
orionguard.validation.count— total validations run, tagged byvalidatorandresult(valid/invalid).orionguard.validation.failures— validations that produced errors, tagged byvalidatoranderror_code.orionguard.validation.duration— histogram of validation latency in milliseconds, tagged byvalidator.
Traces (ActivitySource: Moongazing.OrionGuard):
OrionGuard.Validatespans around every validator execution with tags for input type, result, and error count.- Automatic correlation with inbound ASP.NET Core / gRPC / SignalR activities.
Install
dotnet add package OrionGuard.OpenTelemetry
Requires OpenTelemetry in your application. The core OrionGuard package is brought in transitively.
Quick start
using Moongazing.OrionGuard.OpenTelemetry;
using OpenTelemetry.Metrics;
using OpenTelemetry.Trace;
builder.Services.AddOpenTelemetry()
.WithMetrics(m => m.AddOrionGuardInstrumentation().AddPrometheusExporter())
.WithTracing(t => t.AddOrionGuardInstrumentation().AddOtlpExporter());
After that, any validator executed through Ensure, Validate.For, Validate.Nested, or a registered IValidator<T> is automatically measured and traced.
Targets
.NET 8.0, .NET 9.0, .NET 10.0.
License
MIT. See the main repository for full docs, CHANGELOG, and samples.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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 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
- OpenTelemetry.Api (>= 1.15.3)
- OrionGuard (>= 6.7.0)
-
net8.0
- OpenTelemetry.Api (>= 1.15.3)
- OrionGuard (>= 6.7.0)
-
net9.0
- OpenTelemetry.Api (>= 1.15.3)
- OrionGuard (>= 6.7.0)
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 |
|---|---|---|
| 6.7.1 | 94 | 7/20/2026 |
| 6.7.0 | 87 | 7/20/2026 |
| 6.6.2 | 122 | 6/20/2026 |
| 6.6.1 | 105 | 6/20/2026 |
| 6.6.0 | 106 | 6/19/2026 |
| 6.5.30 | 118 | 6/17/2026 |
| 6.5.29 | 103 | 6/15/2026 |
| 6.5.28 | 105 | 6/15/2026 |
| 6.5.27 | 103 | 6/15/2026 |
| 6.5.26 | 105 | 6/13/2026 |
| 6.5.25 | 99 | 6/13/2026 |
| 6.5.24 | 100 | 6/12/2026 |
| 6.5.23 | 110 | 6/12/2026 |
| 6.5.22 | 109 | 6/11/2026 |
| 6.5.21 | 104 | 6/11/2026 |
| 6.5.20 | 97 | 6/11/2026 |
| 6.5.19 | 104 | 6/11/2026 |
| 6.5.18 | 108 | 6/11/2026 |
| 6.5.16 | 103 | 6/11/2026 |
| 6.5.15 | 113 | 6/11/2026 |