Skip to content

Metrics with multiple workers not properly working? #24

Answered by ayyuno
ayyuno asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Tim, I presume the fault is on our side. We missed the hint on the multiproc mentioned in the automatic doc, function expose. It's mentioned in the raise condition (If prometheus_multiproc_dir env var is found ... ).

THANKS for the tip!

Together with https://github.com/prometheus/client_python#multiprocess-mode-gunicorn we were able to reconfigure the API. Looks good now, but we will need some more investigation.

best Hans

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by trallnag
Comment options

You must be logged in to vote
1 reply
@trallnag
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants