# LibTmux.TmuxDiagnostics

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Diagnostics/TmuxDiagnostics.cs#L11
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxdiagnostics/

Names the diagnostic sources this library publishes.

Every tmux command is traced on the activity source and measured on the
meter named here. Subscribing takes the name, not a reference, so a caller
wires OpenTelemetry without this library referencing it:
<c>builder.AddSource(TmuxDiagnostics.ActivitySourceName)</c> and
<c>builder.AddMeter(TmuxDiagnostics.MeterName)</c>.
