Bogdanp / dramatiq

A fast and reliable background task processing library for Python 3.
https://dramatiq.io
GNU Lesser General Public License v3.0
4.37k stars 313 forks source link

How to collect prometheus metrics if dramatiq workers run on kubernetes and are scaled ? #68

Closed bloogrox closed 6 years ago

Bogdanp commented 6 years ago

You'll want to use the endpoints role for kuberentes_sd_config and label your services appropriately. See this file for an example.