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.
2 parents 4698b9e + 5ea12be commit 09df22aCopy full SHA for 09df22a
templates/configuration.py.j2
@@ -8,7 +8,8 @@ if "prometheus_multiproc_dir" in os.environ:
8
import prometheus_client
9
import uwsgi
10
prometheus_client.values.ValueClass = prometheus_client.values.MultiProcessValue(
11
- _pidFunc=uwsgi.worker_id)
+ uwsgi.worker_id
12
+ )
13
except ImportError:
14
pass # not running in uwsgi
15
{% endif %}
0 commit comments