Vion.Telemetry.Instrumentation
1.1.0
Prefix Reserved
dotnet add package Vion.Telemetry.Instrumentation --version 1.1.0
NuGet\Install-Package Vion.Telemetry.Instrumentation -Version 1.1.0
<PackageReference Include="Vion.Telemetry.Instrumentation" Version="1.1.0" />
<PackageVersion Include="Vion.Telemetry.Instrumentation" Version="1.1.0" />
<PackageReference Include="Vion.Telemetry.Instrumentation" />
paket add Vion.Telemetry.Instrumentation --version 1.1.0
#r "nuget: Vion.Telemetry.Instrumentation, 1.1.0"
#:package Vion.Telemetry.Instrumentation@1.1.0
#addin nuget:?package=Vion.Telemetry.Instrumentation&version=1.1.0
#tool nuget:?package=Vion.Telemetry.Instrumentation&version=1.1.0
Vion.Telemetry.Instrumentation
BCL-only span instrumentation for Vion applications: the Messaging ActivitySource, the Activity tag
helpers, and consume/publish span factories with high-volume-topic suppression. It has no OpenTelemetry
dependency, so code that only creates spans can reference it without pulling OpenTelemetry into its closure.
using Vion.Telemetry.Instrumentation;
// Producer side — span parented on the ambient Activity.Current:
using var activity = MessageActivities.StartMessagePublishActivity(topic);
// ... publish ...
// Consumer side — span parented on the propagated W3C traceparent:
using var activity = MessageActivities.StartMessageConsumeActivity(topic, traceParent)
// ... handle ...
activity?.MarkFailed(exception); // on error
High-volume topics are suppressed client-side — an excluded topic produces no span. The topicsToExclude
argument is tri-state: null uses the default exclusions, an empty array excludes nothing (trace everything),
and a populated array excludes exactly those topics. The tag helpers (SetMqttTopic, MarkFailed,
SetServiceIdentifier, …) set the messaging tag names on a span.
Full documentation: https://docs.vion.swiss
Licensed under the Apache License 2.0.
| 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
- Vion.Contracts (>= 0.14.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Vion.Telemetry.Instrumentation:
| Package | Downloads |
|---|---|
|
Vion.ServiceProvider.Sdk
SDK for building service providers that integrate with the Vion IoT platform. Handles MQTT connection, registration flow, setup schema exchange, message handler registration, and health reporting. |
GitHub repositories
This package is not used by any popular GitHub repositories.