OrionGuard.OpenTelemetry
6.5.22
See the version list below for details.
dotnet add package OrionGuard.OpenTelemetry --version 6.5.22
NuGet\Install-Package OrionGuard.OpenTelemetry -Version 6.5.22
<PackageReference Include="OrionGuard.OpenTelemetry" Version="6.5.22" />
<PackageVersion Include="OrionGuard.OpenTelemetry" Version="6.5.22" />
<PackageReference Include="OrionGuard.OpenTelemetry" />
paket add OrionGuard.OpenTelemetry --version 6.5.22
#r "nuget: OrionGuard.OpenTelemetry, 6.5.22"
#:package OrionGuard.OpenTelemetry@6.5.22
#addin nuget:?package=OrionGuard.OpenTelemetry&version=6.5.22
#tool nuget:?package=OrionGuard.OpenTelemetry&version=6.5.22
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.9.0)
- OrionGuard (>= 6.5.22)
-
net8.0
- OpenTelemetry.Api (>= 1.9.0)
- OrionGuard (>= 6.5.22)
-
net9.0
- OpenTelemetry.Api (>= 1.9.0)
- OrionGuard (>= 6.5.22)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OrionGuard.OpenTelemetry:
| Package | Downloads |
|---|---|
|
OrionGuard.Aspire
Aspire integration for OrionGuard. One call, builder.AddOrionGuardDefaults(), subscribes the app's OpenTelemetry pipeline to every OrionGuard meter and activity source (validation, domain events, EF Core outbox) so they appear in the Aspire dashboard, and registers the OrionGuard health checks for the packages the app uses. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.0 | 94 | 9/20/2026 |
| 6.7.1 | 123 | 7/20/2026 |
| 6.7.0 | 106 | 7/20/2026 |
| 6.6.2 | 138 | 6/20/2026 |
| 6.6.1 | 119 | 6/20/2026 |
| 6.6.0 | 123 | 6/19/2026 |
| 6.5.30 | 130 | 6/17/2026 |
| 6.5.29 | 114 | 6/15/2026 |
| 6.5.28 | 114 | 6/15/2026 |
| 6.5.27 | 114 | 6/15/2026 |
| 6.5.26 | 118 | 6/13/2026 |
| 6.5.25 | 108 | 6/13/2026 |
| 6.5.24 | 112 | 6/12/2026 |
| 6.5.23 | 120 | 6/12/2026 |
| 6.5.22 | 124 | 6/11/2026 |
| 6.5.21 | 121 | 6/11/2026 |
| 6.5.20 | 109 | 6/11/2026 |
| 6.5.19 | 116 | 6/11/2026 |
| 6.5.18 | 124 | 6/11/2026 |
| 6.5.16 | 114 | 6/11/2026 |