Skip to content

Process pid get master pid  #792

@zhouguangming

Description

@zhouguangming

Process pid get master pid

Environment

  • OS: Linux
  • Python version: All versions
  • Framework and version : All Versons
  • APM Server version: All Versions
  • Agent version: All Versions

https://github.com/elastic/apm-agent-python/blob/master/elasticapm/base.py#134

 transport_kwargs = { "metadata": self._build_metadata(), "headers": headers, "verify_server_cert": self.config.verify_server_cert, "server_cert": self.config.server_cert, "timeout": self.config.server_timeout, "processors": self.load_processors(), }

Because we get pid in master process but not in workers after fork

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions