Skip to main content

Module trace_fields

Module trace_fields 

Source
Expand description

The field catalogue of span schema rustev.otel/1 (spec 028, 3.5 and 3.6): the closed table of exportable field names and each one’s class rule. A name outside it is never exported, and a reader withholds it.

Span attributes are named as in 3.5.4. An event attribute is catalogued as <event name>.<attribute key> (rustev.input.source for the source attribute of a rustev.input event), and a metric attribute that is no span attribute as <instrument>.<attribute key>. Two names are templates whose last segment is instance-specific: rustev.outcome.param.<name> (the plan’s parameter name) and rustev.exchange.extra.<key> (a key the provider supplies).

Modules§

event
Event names (3.5.5).
fixed
The fixed fields (3.4.4): always allow, never overridable.
span
Span names (3.5.1). Constant; they never carry a value (3.4.4).

Structs§

CatalogueField
One catalogue entry.

Enums§

ClassRule
How a catalogue field’s class is decided.

Constants§

CATALOGUE
The catalogue (3.5.4, 3.5.5, 3.6.1), sorted by name.
EXTRA_PREFIX
The template prefix of provider extras (3.5.4).
EXTRA_WITHHELD
How a dropped provider extra is listed in rustev.redaction.withheld: once per span, never by its key (3.4.6).
PARAM_PREFIX
The template prefix of outcome parameters (3.5.4).
SCHEMA_URL
The pinned semantic-conventions schema URL (3.2.2).
SPAN_SCHEMA_VERSION
The span schema version of rustev.otel/1 (3.2.4).

Functions§

event_field
The catalogue name of attribute key of event event.
lookup
The catalogue entry name names, exactly or as a template instance.
withheld_name
The name a dropped field is listed under in rustev.redaction.withheld (3.4.6): its own name, except provider extras.