Subprocess Attributes

1 attribute in this category.1 deprecated

1 attribute

Deprecated Attributes

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

subprocess.pidDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The process ID of a subprocess.

Example12345

Use process.pid instead.

This attribute is being deprecated in favor of process.pid, which is the OTel-aligned replacement.

Status: backfill

Changelog
nextAdded subprocess.pid attribute, deprecated in favor of process.pid
Raw JSON
{
  "key": "subprocess.pid",
  "brief": "The process ID of a subprocess.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 12345,
  "deprecation": {
    "replacement": "process.pid",
    "reason": "This attribute is being deprecated in favor of process.pid, which is the OTel-aligned replacement.",
    "_status": "backfill"
  },
  "alias": [
    "process.pid"
  ],
  "changelog": [
    {
      "version": "next",
      "description": "Added subprocess.pid attribute, deprecated in favor of process.pid"
    }
  ]
}