Skip to main content

Module resource_info

Module resource_info 

Source
Expand description

Resource descriptor synthesized from OTLP metrics requests, so the entity graph reads one table instead of scanning every logical metric table for attributes the promote filter may have dropped.

Columns are a fixed allowlist under the raw OTel attribute names: the conventions whitelist matches fixed names, so they must not follow the per-request label translation strategy or the promote/ignore headers.

Structs§

ResourceInfoData
Projected attributes (sorted (name, value) pairs) -> graph window -> the newest data-point time seen in that window, which is what the row for that window is stamped with.

Constants§

MAX_PROJECTED_TAGS 🔒
Upper bound of is_projected_attr plus the derived job/instance, used to size the per-row buffers.
OTEL_RESOURCE_INFO_TABLE_NAME
Prefixed like the other engine-managed tables, so a user metric is unlikely to claim the name.

Functions§

is_projected_attr 🔒
Attributes projected under their raw OTel keys. service.instance.id is absent on purpose: it lands in instance.