idealista / prom2teams

prom2teams is an HTTP server built with Python that receives alert notifications from a previously configured Prometheus Alertmanager instance and forwards it to Microsoft Teams using defined connectors
Apache License 2.0
268 stars 84 forks source link

Metrics in wsgi mode #309

Closed santi-eidu closed 1 year ago

santi-eidu commented 1 year ago

Description

[Description of the issue]

After some research and according to this issue https://github.com/rycus86/prometheus_flask_exporter/issues/5, flash exporter needs additional configuration to export metrics in wsgi mode.

Metrics have their own memory per process, which makes them unequal. This data need to be shared with all the processes.