Logo ProcessKit API Reference

ProcessKitDiagnostics Module

The well-known names and identifiers of ProcessKit's `System.Diagnostics` / `Microsoft.Extensions.Logging` observability surface, so a consumer references them without a magic string or number — e.g. `builder.AddSource(ProcessKitDiagnostics.ActivitySourceName)` / `builder.AddMeter(ProcessKitDiagnostics.MeterName)`, or filter logs by `ProcessKitDiagnostics.Events.ProcessExited`. **Security:** neither a log message, a trace span tag, nor a metric tag ever carries argv or environment **values** — only the program *name* and non-secret facts (outcome, duration, exit code / signal, pid, run id).

Nested modules

Modules Description

Events

The stable `EventId`s (name + number) ProcessKit tags its `ILogger` lifecycle events with, so a consumer can filter or route by id. The numbers are part of the public contract — kept stable.

Functions and values

Function or value Description

ProcessKitDiagnostics.ActivitySourceName

Full Usage: ProcessKitDiagnostics.ActivitySourceName

Returns: string

The name of the `ActivitySource` ProcessKit emits one span per completed run on (`"ProcessKit"`).

Returns: string

ProcessKitDiagnostics.MeterName

Full Usage: ProcessKitDiagnostics.MeterName

Returns: string

The name of the `Meter` ProcessKit publishes its run/retry/supervisor instruments on (`"ProcessKit"`).

Returns: string

Type something to start searching.