o11y.ing
spec 1.2.0

    GitHub
    spec 1.2.0Schemas

    Schema URLs

    schemas.o11y.ing serves one OpenTelemetry schema file for each libo11y spec version. libo11y stamps the current version's URL on every resource, and tools that translate between schema versions download the file from it.

    Published versions

    Every version the spec manifest lists, newest first.

    VersionSchema URLTag
    1.2.0 currenthttps://schemas.o11y.ing/libo11y/1.2.0spec/v1.2.0
    1.1.0https://schemas.o11y.ing/libo11y/1.1.0spec/v1.1.0
    1.0.0https://schemas.o11y.ing/libo11y/1.0.0spec/v1.0.0

    What each URL serves

    Each URL serves one OpenTelemetry schema file in file format 1.1.0, as YAML. The file lists its own version and every earlier version. No version declares transformations yet.

    The libo11y generator writes one file per spec version to spec/schemas/<version>. The jamesainslie/o11y.ing repository copies each file verbatim and serves it at its URL.

    The URL on every resource

    The schema URL ends in the bare spec version. Go exposes it as spec.SchemaURL and TypeScript as SCHEMA_URL. The libraries stamp it on every resource they build.

    Published versions are immutable

    A released schema file never changes. A spec change bumps the version and adds a new file. From 1.0.0 on, a rename must be recorded both as a registry tombstone and as a transform in the schema file. The generator cannot write transforms yet, so the spec check refuses such a rename.

    CI in the o11y.ing repository fails any edit, deletion or rename of a published file.

    How a version is published

    Serving comes first. The schema file goes live at its URL, and a check confirms that the URL serves the generated file byte for byte. Only then is the libo11y commit tagged spec/vX.Y.Z. Section 7 of the specification describes the rules in full.