It's very possible the metric doc is outdated.

Fixes for the metric names welcome.

The names reported in grafana are the correct ones.

Regards

-- 

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM.
Product owner for Team-Mail product.
Chairman of the Apache James project.

Mail: [email protected]
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


On Aug 29, 2025 8:15 AM, from Samiul Islam <[email protected]>Hello,
I'm running the james master branch postgres version (this commit  to be more 
specific), and am trying to export the metrics to my prometheus stack deployed 
in a k3s cluster. With the servicemonitors setup and the metrics enabled 
through the webadmin.properties file, I am only able to scrape "some" of the 
metrics referenced in the docs and dashboards here

The metrics available to me are shown in the screenshot below, but the 
dashboards are showing some other metrics like "JMAP_request", 
"JMAP_getMailboxes", etc. which are not available in the metrics endpoint.

Now my question is, how can I enable all metrics that are shown in the docs and 
example dashboards? Have they been renamed/removed recently?

[image.png]

PS: I noticed that the metrics factory is being injected in the jmap source 
code in files like these , but they are never used anywhere (Unless they are 
somehow being invisibly used through Scala magic). If i properly create a 
metric here, would it automatically be exposed to the /metrics route? or is the 
recommended way to do this is through mailets?

Reply via email to