# Prometheus exporter plugin?

**URL:** https://forum.mattermost.com/t/prometheus-exporter-plugin/21785
**Category:** Uncategorized
**Created:** [December 9, 2024, 12:33pm UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785 "2024-12-09T12:33:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ebuildy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ebuildy/32/8528_2.png) [@ebuildy](https://forum.mattermost.com/u/ebuildy)
#### Post date: [December 9, 2024, 12:33pm UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785/1 "2024-12-09T12:33:43Z")

</div>

I am using free edition, and looking for monitoring usage, such as posts count, last connection, last message etc…

With Prometheus or Grafana Alloy.

Is it a plugin to do that?

---

<div class="post-metadata">

### Author: ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)
#### Post date: [December 9, 2024, 4:11pm UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785/2 "2024-12-09T16:11:16Z")

</div>

[https://docs.mattermost.com/scale/deploy-prometheus-grafana-for-performance-monitoring.html](https://docs.mattermost.com/scale/deploy-prometheus-grafana-for-performance-monitoring.html)

Only for the Enterprise tier…

---

<div class="post-metadata">

### Author: ![ebuildy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ebuildy/32/8528_2.png) [@ebuildy](https://forum.mattermost.com/u/ebuildy)
#### Post date: [December 9, 2024, 6:21pm UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785/3 "2024-12-09T18:21:51Z")

</div>

thanks you John, that’s why I am looking for a plugin ^^

I am going to write a small exporter, that use the API, but i am wondering if something exist already.

---

<div class="post-metadata">

### Author: ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)
#### Post date: [December 9, 2024, 6:33pm UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785/4 "2024-12-09T18:33:25Z")

</div>

You might see if CERN has a public repo. They might have something.

---

<div class="post-metadata">

### Author: ![agnivade](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agnivade/32/3846_2.png) [@agnivade](https://forum.mattermost.com/u/agnivade)
#### Post date: [December 10, 2024, 5:20am UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785/5 "2024-12-10T05:20:22Z")

</div>

There is a plugin [GitHub - mattermost/mattermost-plugin-metrics: Openmetrics scraper for Mattermost server](https://github.com/mattermost/mattermost-plugin-metrics/). But the metrics endpoint isn’t exposed unless you have an enterprise license. So it’s not possible to use the plugin without a license.

---

<div class="post-metadata">

### Author: ![ebuildy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ebuildy/32/8528_2.png) [@ebuildy](https://forum.mattermost.com/u/ebuildy)
#### Post date: [December 15, 2024, 5:43pm UTC](https://forum.mattermost.com/t/prometheus-exporter-plugin/21785/6 "2024-12-15T17:43:32Z")

</div>

I have done mine!

My 1st plugin, woa guys your plugin project template is so nice to use ^^ good job. I am not a golang expert, but in 2 days I have written this:

> **[GitHub - ebuildy/mattermost-metrics: Export some mattermost metrics and kpis to...](https://github.com/ebuildy/mattermost-metrics)**
>
> Export some mattermost metrics and kpis to prometheus format

And it works fine!
