We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.getppid
1 parent 1e107f8 commit 575343dCopy full SHA for 575343d
elasticapm/base.py
@@ -374,7 +374,7 @@ def get_service_info(self):
374
def get_process_info(self):
375
return {
376
'pid': os.getpid(),
377
- 'ppid': os.getppid(),
+ 'ppid': os.getppid() if hasattr(os, 'getppid') else None,
378
'argv': sys.argv,
379
'title': None, # Note: if we implement this, the value needs to be wrapped with keyword_field
380
}
0 commit comments