subprocess.pidDeprecated
integerScrub: ManualVisibility: PublicOTel: FalseThe process ID of a subprocess.
Example
12345Aliases
process.pidUse 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"
}
]
}