-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
b717acb
to
2a7b817
Compare
@TobyRet and I just had a chat about this - main points to think about are:
|
To be clear, I've recommended running this as a stand-alone Deployment only if the metrics are going to always be the same in each replica, thinking it might be easier to manage. It does not have to be done that way and it would be fine to export duplicate metrics from a number of replicas. As @jennyd points out, if you want to export additional application metrics (eg. response times) then it's obviously preferable to export from the actual application, from each replica. To prevent metrics from leaking to the internet, the most common design I've seen is to start another http listener on a separate port that is not exposed via the |
Also, it's definitely worth keeping an eye on prometheus/client_ruby#95 - if the official ruby client starts supporting pre-fork servers then we should consider switching over to use that 🎉 |
There is now one Prometheus client pre replica as discussed |
Update metrics.yaml Define metrics endpoint (port) Replace 'matchExpressions' with 'matchLabels'
92ec875
to
7889b83
Compare
Add Prometheus exporter to the application.
This will allow us to create and capture application metrics which can then: