Reputation: 2793
Just a quick question here as I am quiet lazy to go through the code.. :) Where does python prometheus_client stores all the data it captures? Is it stored in memory of current thread? If not then where?
I would like to use it with my django project in production, but my django app is seriously multi-threaded... How it will all play together?
I am planing to use django-prometheus for that.
Upvotes: 1
Views: 898
Reputation: 34152
It's all kept in memory, protected by a mutex. For a multi-threaded application it'll all Just Work.
Upvotes: 3