I would like to add that it seems this module has been deprecated when James migrated from es6 to es7, as stated in the documentation of the configuration here for example: https://github.com/apache/james-project/blob/master/src/site/xdoc/server/config-elasticsearch.xml#L137

For likely all the reasons given below.

So it makes sense to remove it now that we are migrating to es8.

Regards,
Rene.

On 09/06/2022 14:13, Benoit TELLIER wrote:
+1

We IMO need to add that direct reporting (for logs or metrics) from the application to ElasticSearch is an anti-pattern, and pretty uncommon.

It's usage led, at least at Linagora, to metrics/logs loss. The code quality of these extensions was low and proved several time problematic.

Alternatives:
 - Anything compatible with prometheus (pretty much all of metrics ecosystem)  - Things like fluentbit to scrap logs from the container/a file and move it to your analytic stack

Regards,

Benoit

On 09/06/2022 11:02, Rene Cordier wrote:
Hello guys,

As working on the upgrade to ElasticSearch 8.2, I've been wondering if it was still worth it to keep the elasticsearch metrics reporter module.

Since we expose a metrics endpoint that tools like prometheus can just call to scrap metrics out of James, I think the es metrics reporter has not been really maintained and/or used since es v6.

As such, we decided to remove it. It allows to reduce the number of modules loaded by James and also reduce the cost of maintenance.

But maybe other people are still using it? If a part of the community still want to use it with the switch to ES8, they can put it back and migrate it, but we would appreciate that they can assume the maintenance of it as well.

Also removed the logback-elasticsearch-appender. It's not correlated to our code and easy to add the JAR back on the classpath if needed.

The PR in question: https://github.com/apache/james-project/pull/1018

Don't hesitate to answer this thread if you have any concerns.

Cheers,
Rene.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to