Class MillraceDiagnostics
- Namespace
- Millrace.Diagnostics
- Assembly
- Millrace.dll
The OpenTelemetry surface: one ActivitySource and one Millrace.Diagnostics.MillraceDiagnostics.Meter (ARCHITECTURE.md §8).
public static class MillraceDiagnostics
- Inheritance
-
MillraceDiagnostics
- Inherited Members
Remarks
Native rather than adapted: ActivitySource and Millrace.Diagnostics.MillraceDiagnostics.Meter are BCL types,
so this costs no dependency and G7 holds. A consumer subscribes with whatever exporter they
already run — AddSource(MillraceDiagnostics.SourceName).
Names are stable API. Changing one silently breaks a consumer's dashboards and alerts, which fail by showing nothing rather than by erroring.
Fields
- MeterName
Name to pass to
AddMeterwhen configuring metrics.
- SourceName
Name to pass to
AddSourcewhen configuring tracing.