Vion.Telemetry.Instrumentation
2.1.0
Prefix Reserved
dotnet add package Vion.Telemetry.Instrumentation --version 2.1.0
NuGet\Install-Package Vion.Telemetry.Instrumentation -Version 2.1.0
<PackageReference Include="Vion.Telemetry.Instrumentation" Version="2.1.0" />
<PackageVersion Include="Vion.Telemetry.Instrumentation" Version="2.1.0" />
<PackageReference Include="Vion.Telemetry.Instrumentation" />
paket add Vion.Telemetry.Instrumentation --version 2.1.0
#r "nuget: Vion.Telemetry.Instrumentation, 2.1.0"
#:package Vion.Telemetry.Instrumentation@2.1.0
#addin nuget:?package=Vion.Telemetry.Instrumentation&version=2.1.0
#tool nuget:?package=Vion.Telemetry.Instrumentation&version=2.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 suppression of the topics the caller passes. It has no
OpenTelemetry dependency, so code that only creates spans can reference it without pulling OpenTelemetry into
its closure.
using Vion.Telemetry.Instrumentation;
var topicsToExclude = new[] { "measuringPoint/state" };
// Producer side — span parented on the ambient Activity.Current:
using var publishActivity = MessageActivities.StartMessagePublishActivity(topic, topicsToExclude);
// ... publish ...
// Consumer side — span parented on the propagated W3C traceparent:
using var consumeActivity = MessageActivities.StartMessageConsumeActivity(topic, traceParent, topicsToExclude);
// ... handle ...
consumeActivity?.MarkFailed(exception); // on error
High-volume topics are suppressed client-side — an excluded topic produces no span. The caller decides which
topics those are — the topicsToExclude argument is tri-state: null or an empty array excludes nothing
(trace everything), and a populated array excludes every topic that contains one of its entries (ordinal
Contains). 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
- No dependencies.
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.