o11y.ing
spec 1.2.0

    GitHub
    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

    Showing 65 entries

    Attributes33

    AttributeTypeSensitivityCardinalityBrief
    o11y.*14 attributes · attributes/o11y.yaml
    o11y.outcomeenum (3) public enum Outcome of the operation the record describes. Required on wide events and audit records.
    o11y.record.classenum (1) public enum Structural marking for special record classes.
    o11y.team.namestring public bounded Team that owns the emitting service.
    o11y.tenant.idstring 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_centerstring internal bounded Cost attribution identifier, normally injected at deploy time.
    o11y.data.classificationenum (4) internal enum Classification of the data the workload processes, used by collector redaction pipelines.
    o11y.labeltemplate[string] internal unbounded Free-form user key-value pairs, the single sanctioned map for tenant-supplied labels. Never metric labels.
    o11y.build.modifiedboolean public enum Whether the binary was built from a modified (dirty) source tree.
    o11y.build.timestring public bounded VCS commit timestamp of the built revision, RFC 3339.
    o11y.configtemplate[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.signalenum (4) public enum The telemetry signal a record refers to.
    o11y.rulestring public bounded The specification rule a schema violation breached.
    o11y.durationdouble public unbounded Duration of the operation described by a wide event, in seconds.
    o11y.log.sourceenum (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.platformenum (5) public enum The RUM platform that recorded the telemetry.
    o11y.rum.view.namestring 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.idstring internal unbounded Random identifier of one view instance within a session.
    o11y.rum.view.kindenum (5) public enum How the view started.
    o11y.rum.action.typeenum (8) public enum The kind of user interaction.
    o11y.rum.action.namestring 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.typeenum (3) public enum The kind of frustration signal.
    o11y.rum.error.sourceenum (11) public enum Where an error RUM recorded came from.
    o11y.rum.error.fingerprintstring internal bounded Stable grouping key for an error, computed after symbolication.
    o11y.rum.element.selectorstring internal unbounded Selector or view identifier of the UI element an action, vital, or frustration signal refers to.
    o11y.rum.element.textstring 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.classenum (6) public enum Coarse class of the user's device.
    o11y.rum.connection.typeenum (5) public enum The physical network the device used.
    o11y.rum.connection.effectiveenum (4) public enum The effective connection speed the platform estimated.
    o11y.rum.vital.ratingenum (3) public enum The vital's rating against its published thresholds.
    o11y.rum.session.retainedenum (3) public enum Why a session's telemetry was kept.
    o11y.rum.replay.segmentint public unbounded Index of the replay segment within the session.
    o11y.rum.config.versionstring public bounded Version of the remote configuration the session ran under.
    o11y.rum.browser.familystring public bounded Browser family parsed from the user agent by the gateway.

    Spans5

    GroupSpanAttributesBrief
    HTTP Server Span (adopted)libo11y.span.http.serverserver span6Required shape of HTTP server spans, from stable semconv.
    HTTP Client Span (adopted)libo11y.span.http.clientclient span4Required shape of HTTP client spans, from stable semconv.
    RUM View Spanlibo11y.rum.span.viewRUM view span5Required shape of the span RUM records for each view.
    RUM Action Spanlibo11y.rum.span.actionRUM action span4Required shape of the span RUM records for each user action.
    RUM App Load Spanlibo11y.rum.span.app_loadRUM app_load span3Required shape of the span for a document load (web) or an app start (mobile).

    Metrics10 metrics, 1 label overlay

    GroupInstrumentAttributesBrief
    o11y.schema.violationsmetric.o11y.schema.violationscounter · {violation}2Count 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_labelslabel allowlist5Resource attributes permitted as effective metric labels.
    o11y.rum.vital.lcpmetric.o11y.rum.vital.lcphistogram · s6Largest Contentful Paint of a view.
    o11y.rum.vital.inpmetric.o11y.rum.vital.inphistogram · s6Interaction to Next Paint of a view.
    o11y.rum.vital.clsmetric.o11y.rum.vital.clshistogram · 16Cumulative Layout Shift of a view, a unitless score.
    o11y.rum.vital.fcpmetric.o11y.rum.vital.fcphistogram · s6First Contentful Paint of a view.
    o11y.rum.vital.ttfbmetric.o11y.rum.vital.ttfbhistogram · s6Time to First Byte of a view's document.
    o11y.rum.browser.long_animation_framesmetric.o11y.rum.browser.long_animation_framescounter · {frame}1Count of long animation frames on a view.
    o11y.rum.viewsmetric.o11y.rum.viewscounter · {view}4Count of views RUM recorded.
    o11y.rum.errorsmetric.o11y.rum.errorscounter · {error}3Count of errors RUM recorded, by source.
    o11y.rum.frustrationsmetric.o11y.rum.frustrationscounter · {signal}3Count of frustration signals RUM recorded, by type.

    Events7

    GroupKindAttributesBrief
    o11y.telemetry.configuredevent.o11y.telemetry.configuredevent1Startup summary, emitted once by Setup after the pipeline is constructed and verified (the record doubles as the init canary).
    o11y.request.summaryevent.o11y.request.summaryevent7Wide 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.droppedevent2Buffered telemetry could not be flushed at shutdown. Emitted best-effort to surviving sinks so the loss is never silent.
    o11y.rum.errorevent.o11y.rum.errorevent5An error RUM captured, with its source and, after symbolication, its fingerprint.
    o11y.rum.frustrationevent.o11y.rum.frustrationevent4A frustration signal on a UI element.
    o11y.rum.session.startevent.o11y.rum.session.startevent2A RUM session started.
    o11y.rum.session.endevent.o11y.rum.session.endevent2A RUM session ended, with the reason its telemetry was kept.

    Logs1

    GroupKindAttributesBrief
    Log Record Attributeslibo11y.log.recordlog record8Attributes 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

    GroupTierAttributesBrief
    Forbidden by default (PII and credentials)libo11y.resource.forbiddenno tier9Attributes 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.tier0tier 08Resource 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.tier1tier 120Identity derived from the runtime environment.
    Resource Tier 2 (recommended)libo11y.resource.tier2tier 210Recommended identity and build provenance.
    Resource Tier 3 (opt-in)libo11y.resource.tier3tier 34Opt-in ownership, tenancy, and classification attributes.

    Deprecated3

    AttributeTypeSensitivityCardinalityBrief
    o11y.deprecated.vcs.revisionstring public Deprecated alias recorded for the pre-spec vcs.revision key.
    o11y.deprecated.vcs.timestring public Deprecated alias recorded for the pre-spec vcs.time key.
    o11y.deprecated.vcs.modifiedboolean public Deprecated alias recorded for the pre-spec vcs.modified key.