Struct TelemetryFlagDescriptor
One node of the telemetry flag catalog — its config key, C# gate field, default and tree position.
public readonly struct TelemetryFlagDescriptor
- Inherited Members
Constructors
TelemetryFlagDescriptor(string, string, string, string, string, bool, TelemetryFlagKind, int, int)
Create a descriptor.
public TelemetryFlagDescriptor(string key, string path, string name, string field, string description, bool @default, TelemetryFlagKind kind, int parentIndex, int depth)
Parameters
keystringpathstringnamestringfieldstringdescriptionstringdefaultboolkindTelemetryFlagKindparentIndexintdepthint
Properties
Default
Built-in default (true only for the un-gated firehose gauges).
public bool Default { get; }
Property Value
Depth
Depth from the root (root = 0).
public int Depth { get; }
Property Value
Description
User-facing description (docs + CLI tooltips).
public string Description { get; }
Property Value
Field
Exact TelemetryConfig gate field name; null for pure grouping nodes.
public string Field { get; }
Property Value
Key
Full config key, e.g. Typhon:Profiler:Concurrency:AccessControl:Contention:Enabled.
public string Key { get; }
Property Value
Kind
How the gate resolves.
public TelemetryFlagKind Kind { get; }
Property Value
Name
Single-segment node name.
public string Name { get; }
Property Value
ParentIndex
Index of the parent node in All, or -1 for the root.
public int ParentIndex { get; }
Property Value
Path
Path below the prefix, colon-joined (empty for the master node).
public string Path { get; }