discourse / prometheus_exporter

A framework for collecting and aggregating prometheus metrics
MIT License
532 stars 154 forks source link

Augment default metrics #127

Closed etnt93 closed 4 years ago

etnt93 commented 4 years ago

We'd like to see the ability to add custom labels to default metrics. For example, adding labels['platform'] = env['HTTP_X_PLATFORM'] to http_requests_total.

Also added 'queue' as a label for default sidekiq metrics in order to view metrics on sidekiq jobs at the 'queue' level.

SamSaffron commented 4 years ago

This is conflicting now, can you have a look?

etnt93 commented 4 years ago

Resolved merge conflicts!

SamSaffron commented 4 years ago

cool let's try this out... also our CI is playing up, got to get that sorted.