You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at dd-trace-python, I see that library performs container discovery by examining the /proc/ filesystem, and populates the Datadog-Entity-Id and Datadog-Container-Id headers accordingly.
Perhaps discovering these is out of scope of a C implementation, but would not at least looking for environment variables, DD_CONTAINER_ID and/or DD_ENTITY_ID be helpful?
(Getting container id is not guaranteed to work in cgroups2, depending on namespace, but the cgroup inode number apparently does...)
I also see the python lib populate the Datadog-External-Env with the DD_EXTERNAL_ENV environment variable, although I don't know what that is supposed to do...