ieugen / james-self-hosting-sandbox

A sample project to work on self hosting email server with Apache James
4 stars 1 forks source link

Implement monitoring for Apache James server #20

Open ieugen opened 4 years ago

ieugen commented 4 years ago

When running in production, we need to have a monitoring solution in place.

The latest and greatest monitoring solution is Prometheus https://prometheus.io/docs/introduction/overview/ . Let's see if we can use Prometheus or not.

chibenwa commented 4 years ago

Overall :+1: for this work, we should consider exposing the metrics via HTTP to make it gaverable by prometheus. But I would prefer us to open an Apache James JIRA for this.

chibenwa commented 4 years ago

https://issues.apache.org/jira/browse/JAMES-3405 will please you:

curl -XGET http://127.0.0.1:8000/metrics returns metrics that can be collected by prometheus.

We will document how to set the all stack up.

ieugen commented 4 years ago

Thanks. I will check it out once I get back to email.