Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-dotnet latest

TmuxDiagnostics

Namespace LibTmux.TmuxDiagnostics LibTmux

Names the diagnostic sources this library publishes.

View as Markdown

Source and package
Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Diagnostics/TmuxDiagnostics.cs
class LibTmux.TmuxDiagnostics
classstatic [source]

Description#

Every tmux command a handle runs as its own tmux process is traced on the activity source and measured on the meter named here. Commands sent through a control client, including the reads a pane wait makes through one, are not. Subscribing takes the name, not a reference, so a caller wires OpenTelemetry without this library referencing it: builder.AddSource(TmuxDiagnostics.ActivitySourceName) and builder.AddMeter(TmuxDiagnostics.MeterName).

Esc

Type to search.