Otel Attributes

5 attributes in this category. 4 stable · 1 deprecated

5 attributes

Stable Attributes

otel.scope.name

string Scrub: Manual Visibility: Public OTel: True

The name of the instrumentation scope - (InstrumentationScope.Name in OTLP).

Example io.opentelemetry.contrib.mongodb
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "otel.scope.name",
  "brief": "The name of the instrumentation scope - (InstrumentationScope.Name in OTLP).",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "io.opentelemetry.contrib.mongodb",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

otel.scope.version

string Scrub: Manual Visibility: Public OTel: True

The version of the instrumentation scope - (InstrumentationScope.Version in OTLP).

Example 2.4.5
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "otel.scope.version",
  "brief": "The version of the instrumentation scope - (InstrumentationScope.Version in OTLP).",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "2.4.5",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

otel.status_code

string Scrub: Manual Visibility: Public OTel: True

Name of the code, either “OK” or “ERROR”. MUST NOT be set if the status code is UNSET.

Example OK
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "otel.status_code",
  "brief": "Name of the code, either “OK” or “ERROR”. MUST NOT be set if the status code is UNSET.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "OK",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

otel.status_description

string Scrub: Auto Visibility: Public OTel: True

Description of the Status if it has a value, otherwise not set.

Example resource not found
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "otel.status_description",
  "brief": "Description of the Status if it has a value, otherwise not set.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "resource not found",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

Deprecated Attributes

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

otel.kind Deprecated

string Scrub: Manual Visibility: Public OTel: False

The span kind (https://opentelemetry.io/docs/concepts/signals/traces/#span-kind). Deprecated, use `sentry.kind` instead.

Example SERVER
Aliases sentry.kind

Use sentry.kind instead.

Deprecated in favor of sentry.kind

Status: backfill

Changelog
v0.13.0 #440 Added otel.kind attribute
Raw JSON
{
  "key": "otel.kind",
  "brief": "The span kind (https://opentelemetry.io/docs/concepts/signals/traces/#span-kind). Deprecated, use `sentry.kind` instead.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "SERVER",
  "deprecation": {
    "replacement": "sentry.kind",
    "reason": "Deprecated in favor of sentry.kind",
    "_status": "backfill"
  },
  "alias": [
    "sentry.kind"
  ],
  "changelog": [
    {
      "version": "0.13.0",
      "prs": [
        440
      ],
      "description": "Added otel.kind attribute"
    }
  ]
}