flashmob / go-guerrilla

Mini SMTP server written in golang
MIT License
2.79k stars 366 forks source link

Support Prometheus by exporting metrics through `/metrics` endpoint #86

Closed kevinjqiu closed 6 years ago

kevinjqiu commented 7 years ago

The Prometheus stack (Prometheus + Grafana) can be used to provide slick, powerful and flexible dashboards. All the project needs to do is to export metrics through an endpoint (e.g., /metrics) and let Prometheus scrape it. Prometheus has a powerful data model and query language (PromQL).

FUSAKLA commented 5 years ago

Hi, just out of curiosity why was the suggestion shut down? Or what are other oportunitties to monithor go-guerilla?

flashmob commented 5 years ago

The Dashboard project has been completed. It logs the metrics, so in theory any program can also get this data by scraping the logs, no need to provide any new endpoints. Another reason is that this software is increasingly used as a package by other software, so want to keep the dependency footprint frozen for now