![]() |
VOOZH | about |
dotnet add package Rig.TUnit.Observability --version 0.1.0-beta.2
NuGet\Install-Package Rig.TUnit.Observability -Version 0.1.0-beta.2
<PackageReference Include="Rig.TUnit.Observability" Version="0.1.0-beta.2" />
<PackageVersion Include="Rig.TUnit.Observability" Version="0.1.0-beta.2" />Directory.Packages.props
<PackageReference Include="Rig.TUnit.Observability" />Project file
paket add Rig.TUnit.Observability --version 0.1.0-beta.2
#r "nuget: Rig.TUnit.Observability, 0.1.0-beta.2"
#:package Rig.TUnit.Observability@0.1.0-beta.2
#addin nuget:?package=Rig.TUnit.Observability&version=0.1.0-beta.2&prereleaseInstall as a Cake Addin
#tool nuget:?package=Rig.TUnit.Observability&version=0.1.0-beta.2&prereleaseInstall as a Cake Tool
Observability family-base:
ITelemetryRig,TelemetryFixtureBase,TelemetryRigBuilder<TSelf>— shared shape with deterministicIsolationKey/ServiceName.
The shared contract for every Observability provider (.AppInsights,
.Logging, .Logging.Analyzers, .Metrics, .Seq, .Tracing).
Defines ITelemetryRig, TelemetryFixtureBase, and
TelemetryRigBuilder<TSelf> so every provider threads IsolationKey
into its ServiceName tag / resource attribute. Without this
consistent thread, traces and logs from parallel tests become
inscrutable.
Install one of the leaves directly for concrete testing.
using Rig.TUnit.Observability.Fixtures;
public sealed class MyFixture : TelemetryFixtureBase
{
public override string ConnectionString => string.Empty;
public override Task InitializeAsync() => Task.CompletedTask;
public override ValueTask DisposeAsync() => ValueTask.CompletedTask;
}
| Property | Type | Default | Description |
|---|---|---|---|
ServiceName |
string |
$"rigtunit-{IsolationKey}" |
Resource attribute / activity source |
ServiceVersion |
string |
"0.0.0-test" |
OTEL resource version |
EnableAutoInstrumentation |
bool |
true |
Attach ASP.NET Core / HttpClient instrumentations |
Rig.TUnit.Observability.ITelemetryRigRig.TUnit.Observability.Fixtures.TelemetryFixtureBaseRig.TUnit.Observability.Builder.TelemetryRigBuilder<TSelf>ServiceName includes IsolationKey so every test's telemetry has a
unique provenance. Safe under full parallelism.
is a few µs/event; Seq involves network I/O.
Activity.Current is
reset at test boundaries; the TelemetryFixtureBase disposer handles
this for fixtures that derive from it.See .
*Benchmarks.cs entries under tests/Rig.TUnit.Benchmarks/.
MIT. See .
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Rig.TUnit.Observability:
| Package | Downloads |
|---|---|
|
Rig.TUnit.All
Meta-package containing every Rig.TUnit.* package. DISCOURAGED — prefer per-feature or per-stack meta-packages (Rig.TUnit, Rig.TUnit.Microservices). |
|
|
Rig.TUnit.Observability.Tracing
TUnit fixture for OpenTelemetry traces - Activity capture, parent-child propagation, and cross-boundary correlation assertions. |
|
|
Rig.TUnit.Observability.Metrics
TUnit fixture for System.Diagnostics.Metrics - meter/instrument capture, histogram-bucket assertions. |
|
|
Rig.TUnit.Observability.Seq
TUnit fixture for Seq backed by Testcontainers. End-to-end log pipeline assertions against a real Seq instance. |
|
|
Rig.TUnit.Observability.Logging
TUnit fixture for ILogger-based assertions - captured-log buffer, level filters, scope-aware queries. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-beta.2 | 73 | 4/27/2026 |
| 0.0.0-alpha.0.14 | 71 | 4/26/2026 |