Otel Attributes

4 attributes in this category. 4 stable

Stable Attributes

otel.scope.name

string PII: Maybe OTel: True

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

Example io.opentelemetry.contrib.mongodb
Raw JSON
{
  "key": "otel.scope.name",
  "brief": "The name of the instrumentation scope - (InstrumentationScope.Name in OTLP).",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "example": "io.opentelemetry.contrib.mongodb"
}

otel.scope.version

string PII: Maybe OTel: True

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

Example 2.4.5
Raw JSON
{
  "key": "otel.scope.version",
  "brief": "The version of the instrumentation scope - (InstrumentationScope.Version in OTLP).",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "example": "2.4.5"
}

otel.status_code

string PII: Maybe OTel: True

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

Example OK
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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "example": "OK"
}

otel.status_description

string PII: Maybe OTel: True

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

Example resource not found
Raw JSON
{
  "key": "otel.status_description",
  "brief": "Description of the Status if it has a value, otherwise not set.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "example": "resource not found"
}