Runtime Attributes

4 attributes in this category. 4 deprecated

4 attributes

Deprecated Attributes

These attributes are deprecated and should not be used in new code. See each attribute for migration guidance.

runtime.build Deprecated

string PII: Maybe Visibility: Public OTel: False

The application build string, when it is separate from the version.

Example stable

No replacement available at this time.

The runtime.* namespace is deprecated in favor of process.runtime.*. No direct OTel equivalent exists for this attribute.

Changelog
next #383 Added and deprecated runtime.build attribute
Raw JSON
{
  "key": "runtime.build",
  "brief": "The application build string, when it is separate from the version.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "stable",
  "deprecation": {
    "reason": "The runtime.* namespace is deprecated in favor of process.runtime.*. No direct OTel equivalent exists for this attribute.",
    "_status": null
  },
  "changelog": [
    {
      "version": "next",
      "prs": [
        383
      ],
      "description": "Added and deprecated runtime.build attribute"
    }
  ]
}

runtime.name Deprecated

string PII: Maybe Visibility: Public OTel: False

The name of the runtime. For example node, CPython, or rustc.

Example node

Use process.runtime.name instead.

Prefer OTel-aligned process.runtime.name

Changelog
next #383 Added and deprecated runtime.name attribute in favor of process.runtime.name
Raw JSON
{
  "key": "runtime.name",
  "brief": "The name of the runtime. For example node, CPython, or rustc.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "node",
  "deprecation": {
    "replacement": "process.runtime.name",
    "reason": "Prefer OTel-aligned process.runtime.name",
    "_status": null
  },
  "alias": [
    "process.runtime.name"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        383
      ],
      "description": "Added and deprecated runtime.name attribute in favor of process.runtime.name"
    }
  ]
}

runtime.raw_description Deprecated

string PII: Maybe Visibility: Public OTel: False

Unprocessed description string as obtained from the runtime. Used to extract name and version for well-known runtimes.

Example Eclipse OpenJ9 VM openj9-0.21.0

Use process.runtime.description instead.

Prefer OTel-aligned process.runtime.description

Changelog
next #383 Added and deprecated runtime.raw_description attribute in favor of process.runtime.description
Raw JSON
{
  "key": "runtime.raw_description",
  "brief": "Unprocessed description string as obtained from the runtime. Used to extract name and version for well-known runtimes.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "Eclipse OpenJ9 VM openj9-0.21.0",
  "deprecation": {
    "replacement": "process.runtime.description",
    "reason": "Prefer OTel-aligned process.runtime.description",
    "_status": null
  },
  "alias": [
    "process.runtime.description"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        383
      ],
      "description": "Added and deprecated runtime.raw_description attribute in favor of process.runtime.description"
    }
  ]
}

runtime.version Deprecated

string PII: Maybe Visibility: Public OTel: False

The version of the runtime.

Example 18.04.2

Use process.runtime.version instead.

Prefer OTel-aligned process.runtime.version

Changelog
next #383 Added and deprecated runtime.version attribute in favor of process.runtime.version
Raw JSON
{
  "key": "runtime.version",
  "brief": "The version of the runtime.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "18.04.2",
  "deprecation": {
    "replacement": "process.runtime.version",
    "reason": "Prefer OTel-aligned process.runtime.version",
    "_status": null
  },
  "alias": [
    "process.runtime.version"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        383
      ],
      "description": "Added and deprecated runtime.version attribute in favor of process.runtime.version"
    }
  ]
}