Table of Contents

Struct TelemetryFlagDescriptor

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

key string
path string
name string
field string
description string
default bool
kind TelemetryFlagKind
parentIndex int
depth int

Properties

Default

Built-in default (true only for the un-gated firehose gauges).

public bool Default { get; }

Property Value

bool

Depth

Depth from the root (root = 0).

public int Depth { get; }

Property Value

int

Description

User-facing description (docs + CLI tooltips).

public string Description { get; }

Property Value

string

Field

Exact TelemetryConfig gate field name; null for pure grouping nodes.

public string Field { get; }

Property Value

string

Key

Full config key, e.g. Typhon:Profiler:Concurrency:AccessControl:Contention:Enabled.

public string Key { get; }

Property Value

string

Kind

How the gate resolves.

public TelemetryFlagKind Kind { get; }

Property Value

TelemetryFlagKind

Name

Single-segment node name.

public string Name { get; }

Property Value

string

ParentIndex

Index of the parent node in All, or -1 for the root.

public int ParentIndex { get; }

Property Value

int

Path

Path below the prefix, colon-joined (empty for the master node).

public string Path { get; }

Property Value

string