Open
Description
Hi,
In order to get consolidated stats from django-prometheus plugins with multiple workers, the prom module need to setup files on tmp dir.
By default, it save the tmp file suffixed by the pid of the worker process.
Documented here: documentation
In the documentation, we can see a snippet of code to use the worker id instead of the pid when uwsgi is used as server.
How can we have the same behaviour with unit ?
I can't see any env variable pushed with the application worker or any channel open with unit to retrieve this kind of information.
Do you have any hints ?
Thx.
Metadata
Assignees
Labels
No labels
Activity