Purview Telemetry SourceGenerator
StableInterface-based telemetry for .NET with zero boilerplate.
Overview
A source generator that turns simple interface methods into OpenTelemetry-aligned Activities, structured ILogger logging, and Metrics. Define telemetry once on an interface; the generator emits the implementation, DI registration helpers, and multi-target generation — no runtime reflection, no boilerplate.
Packages
| Package | Stable | Prerelease | Downloads |
|---|---|---|---|
| Purview.Telemetry.SourceGenerator | 4.4.0 | 5.0.0-prerelease.8 | 16,175 |
Install
dotnet add package Purview.Telemetry.SourceGenerator