spec 1.2.0Registry
Registry
Every attribute, span, metric, event and resource group the specification defines, generated from the registry YAML at spec/v1.2.0.
- attributes
- 33
- spans
- 5
- metrics
- 10
- events
- 7
- resource
- 5
No entries match.
Attributes33
| Attribute | Type | Sensitivity | Cardinality | Brief |
|---|---|---|---|---|
| o11y.*14 attributes · attributes/o11y.yaml | ||||
| o11y.outcome | enum (3) | public | enum | Outcome of the operation the record describes. Required on wide events and audit records. |
| o11y.record.class | enum (1) | public | enum | Structural marking for special record classes. |
| o11y.team.name | string | public | bounded | Team that owns the emitting service. |
| o11y.tenant.id | string | internal | unbounded | Tenant identity. Resource form is permitted only for single-tenant-per-deployment topologies; in shared services it is a span or log attribute propagated via baggage. Never a metric label. |
| o11y.cost_center | string | internal | bounded | Cost attribution identifier, normally injected at deploy time. |
| o11y.data.classification | enum (4) | internal | enum | Classification of the data the workload processes, used by collector redaction pipelines. |
| o11y.label | template[string] | internal | unbounded | Free-form user key-value pairs, the single sanctioned map for tenant-supplied labels. Never metric labels. |
| o11y.build.modified | boolean | public | enum | Whether the binary was built from a modified (dirty) source tree. |
| o11y.build.time | string | public | bounded | VCS commit timestamp of the built revision, RFC 3339. |
| o11y.config | template[string] | public | bounded | Resolved configuration keys reported by the startup summary event (o11y.config.traces, o11y.config.metrics, o11y.config.logs, o11y.config.console, o11y.config.level, o11y.config.sampler, o11y.config.propagators, o11y.config.runtime_metrics, o11y.config.service_version_fallback, o11y.config.endpoint, o11y.config.traces_endpoint, o11y.config.metrics_endpoint, o11y.config.logs_endpoint). Endpoint values carry no userinfo, query, or fragment. |
| o11y.signal | enum (4) | public | enum | The telemetry signal a record refers to. |
| o11y.rule | string | public | bounded | The specification rule a schema violation breached. |
| o11y.duration | double | public | unbounded | Duration of the operation described by a wide event, in seconds. |
| o11y.log.source | enum (2) | public | enum | Where a log record entered the pipeline. Implementations that capture console output mark those records console. |
| o11y.rum.*19 attributes · attributes/rum.yaml | ||||
| o11y.rum.platform | enum (5) | public | enum | The RUM platform that recorded the telemetry. |
| o11y.rum.view.name | string | public | bounded | Name of the view: the route template on the web (never the raw URL) or the screen name on mobile. |
| o11y.rum.view.id | string | internal | unbounded | Random identifier of one view instance within a session. |
| o11y.rum.view.kind | enum (5) | public | enum | How the view started. |
| o11y.rum.action.type | enum (8) | public | enum | The kind of user interaction. |
| o11y.rum.action.name | string | internal | bounded | Name of the action: the element's data-o11y label (or the platform's equivalent), or a privacy-safe accessible name. Never free text the user typed. |
| o11y.rum.frustration.type | enum (3) | public | enum | The kind of frustration signal. |
| o11y.rum.error.source | enum (11) | public | enum | Where an error RUM recorded came from. |
| o11y.rum.error.fingerprint | string | internal | bounded | Stable grouping key for an error, computed after symbolication. |
| o11y.rum.element.selector | string | internal | unbounded | Selector or view identifier of the UI element an action, vital, or frustration signal refers to. |
| o11y.rum.element.text | string | pii | unbounded | Visible text of a UI element. PII by default, because UI text can show names, addresses and other personal data. |
| o11y.rum.device.class | enum (6) | public | enum | Coarse class of the user's device. |
| o11y.rum.connection.type | enum (5) | public | enum | The physical network the device used. |
| o11y.rum.connection.effective | enum (4) | public | enum | The effective connection speed the platform estimated. |
| o11y.rum.vital.rating | enum (3) | public | enum | The vital's rating against its published thresholds. |
| o11y.rum.session.retained | enum (3) | public | enum | Why a session's telemetry was kept. |
| o11y.rum.replay.segment | int | public | unbounded | Index of the replay segment within the session. |
| o11y.rum.config.version | string | public | bounded | Version of the remote configuration the session ran under. |
| o11y.rum.browser.family | string | public | bounded | Browser family parsed from the user agent by the gateway. |
Spans5
| Group | Span | Attributes | Brief |
|---|---|---|---|
| HTTP Server Span (adopted)libo11y.span.http.server | server span | 6 | Required shape of HTTP server spans, from stable semconv. |
| HTTP Client Span (adopted)libo11y.span.http.client | client span | 4 | Required shape of HTTP client spans, from stable semconv. |
| RUM View Spanlibo11y.rum.span.view | RUM view span | 5 | Required shape of the span RUM records for each view. |
| RUM Action Spanlibo11y.rum.span.action | RUM action span | 4 | Required shape of the span RUM records for each user action. |
| RUM App Load Spanlibo11y.rum.span.app_load | RUM app_load span | 3 | Required shape of the span for a document load (web) or an app start (mobile). |
Metrics10 metrics, 1 label overlay
| Group | Instrument | Attributes | Brief |
|---|---|---|---|
| o11y.schema.violationsmetric.o11y.schema.violations | counter · {violation} | 2 | Count of telemetry records that violated the libo11y specification, by signal and rule. Emitted only when schema validation is enabled. |
| Metric Resource Label Allowlistlibo11y.metrics.resource_labels | label allowlist | 5 | Resource attributes permitted as effective metric labels. |
| o11y.rum.vital.lcpmetric.o11y.rum.vital.lcp | histogram · s | 6 | Largest Contentful Paint of a view. |
| o11y.rum.vital.inpmetric.o11y.rum.vital.inp | histogram · s | 6 | Interaction to Next Paint of a view. |
| o11y.rum.vital.clsmetric.o11y.rum.vital.cls | histogram · 1 | 6 | Cumulative Layout Shift of a view, a unitless score. |
| o11y.rum.vital.fcpmetric.o11y.rum.vital.fcp | histogram · s | 6 | First Contentful Paint of a view. |
| o11y.rum.vital.ttfbmetric.o11y.rum.vital.ttfb | histogram · s | 6 | Time to First Byte of a view's document. |
| o11y.rum.browser.long_animation_framesmetric.o11y.rum.browser.long_animation_frames | counter · {frame} | 1 | Count of long animation frames on a view. |
| o11y.rum.viewsmetric.o11y.rum.views | counter · {view} | 4 | Count of views RUM recorded. |
| o11y.rum.errorsmetric.o11y.rum.errors | counter · {error} | 3 | Count of errors RUM recorded, by source. |
| o11y.rum.frustrationsmetric.o11y.rum.frustrations | counter · {signal} | 3 | Count of frustration signals RUM recorded, by type. |
Events7
| Group | Kind | Attributes | Brief |
|---|---|---|---|
| o11y.telemetry.configuredevent.o11y.telemetry.configured | event | 1 | Startup summary, emitted once by Setup after the pipeline is constructed and verified (the record doubles as the init canary). |
| o11y.request.summaryevent.o11y.request.summary | event | 7 | Wide event: one per request, flushed at request end (fires on panic), carrying identity, outcome, duration, and everything accumulated on the request record. The primary analytics record. |
| o11y.telemetry.droppedevent.o11y.telemetry.dropped | event | 2 | Buffered telemetry could not be flushed at shutdown. Emitted best-effort to surviving sinks so the loss is never silent. |
| o11y.rum.errorevent.o11y.rum.error | event | 5 | An error RUM captured, with its source and, after symbolication, its fingerprint. |
| o11y.rum.frustrationevent.o11y.rum.frustration | event | 4 | A frustration signal on a UI element. |
| o11y.rum.session.startevent.o11y.rum.session.start | event | 2 | A RUM session started. |
| o11y.rum.session.endevent.o11y.rum.session.end | event | 2 | A RUM session ended, with the reason its telemetry was kept. |
Logs1
| Group | Kind | Attributes | Brief |
|---|---|---|---|
| Log Record Attributeslibo11y.log.record | log record | 8 | Attributes libo11y attaches or requires on log records. trace_id and span_id are reserved top-level console keys written only by the correlation layer. SeverityNumber maps from slog as slog.Level + 9. |
Resource5
| Group | Tier | Attributes | Brief |
|---|---|---|---|
| Forbidden by default (PII and credentials)libo11y.resource.forbidden | no tier | 9 | Attributes that carry personal data or credentials. libo11y never emits them by default; the sensitivity layer drops them if they appear. |
| Resource Tier 0 (required at init)libo11y.resource.tier0 | tier 0 | 8 | Resource identity every libo11y process must carry on every signal. Sources, lowest to highest precedence: detector, environment (OTEL_* variables), explicit option. |
| Resource Tier 1 (required by environment)libo11y.resource.tier1 | tier 1 | 20 | Identity derived from the runtime environment. |
| Resource Tier 2 (recommended)libo11y.resource.tier2 | tier 2 | 10 | Recommended identity and build provenance. |
| Resource Tier 3 (opt-in)libo11y.resource.tier3 | tier 3 | 4 | Opt-in ownership, tenancy, and classification attributes. |
Deprecated3
| Attribute | Type | Sensitivity | Cardinality | Brief |
|---|---|---|---|---|
| o11y.deprecated.vcs.revision | string | public | Deprecated alias recorded for the pre-spec vcs.revision key. | |
| o11y.deprecated.vcs.time | string | public | Deprecated alias recorded for the pre-spec vcs.time key. | |
| o11y.deprecated.vcs.modified | boolean | public | Deprecated alias recorded for the pre-spec vcs.modified key. |