# Pritunl metrics exporter for Prometheus

**URL:** <https://forum.pritunl.com/t/pritunl-metrics-exporter-for-prometheus/1300>\
**Category:** Pritunl\
**Created:** [August 9, 2023, 12:36pm UTC](https://forum.pritunl.com/t/pritunl-metrics-exporter-for-prometheus/1300 "2023-08-09T12:36:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![drhackenbush](https://forum.pritunl.com/user_avatar/forum.pritunl.com/drhackenbush/32/511_2.png) [@drhackenbush](https://forum.pritunl.com/u/drhackenbush)\
**Post date:** [August 9, 2023, 12:36pm UTC](https://forum.pritunl.com/t/pritunl-metrics-exporter-for-prometheus/1300/1 "2023-08-09T12:36:55Z")

</div>

In the Monitoring section of the documentation it is mentioned how to send metrics to an InfluxDB. However, we use Prometheus with a built-in backend and I was wondering if there is a way to create metrics and let some exporter ‘scrape’ them? In the pritunl github project I see the repo called `pritunl-monitoring` but it is no longer maintained. I tried to find some 3rd party ones, but no luck.

Any tips? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [August 9, 2023, 7:19pm UTC](https://forum.pritunl.com/t/pritunl-metrics-exporter-for-prometheus/1300/2 "2023-08-09T19:19:19Z")

</div>

Only InfluxDB is supported for the monitoring. The internal code that supported the `pritunl-monitoring` Prometheus plugin was removed from the Pritunl codebase. The [**auditing journal**](https://docs.pritunl.com/docs/auditing#journal-audit) provides a JSON log file that includes a lot useful events for monitoring. This can be parsed by most monitoring systems.

---

<div class="post-metadata">

**Author:** ![drhackenbush](https://forum.pritunl.com/user_avatar/forum.pritunl.com/drhackenbush/32/511_2.png) [@drhackenbush](https://forum.pritunl.com/u/drhackenbush)\
**Post date:** [August 9, 2023, 7:49pm UTC](https://forum.pritunl.com/t/pritunl-metrics-exporter-for-prometheus/1300/3 "2023-08-09T19:49:55Z")

</div>

Gotcha, thanks!

---

<div class="post-metadata">

**Author:** ![youngpibody](https://forum.pritunl.com/user_avatar/forum.pritunl.com/youngpibody/32/978_2.png) [@youngpibody](https://forum.pritunl.com/u/youngpibody)\
**Post date:** [October 8, 2024, 6:56pm UTC](https://forum.pritunl.com/t/pritunl-metrics-exporter-for-prometheus/1300/4 "2024-10-08T18:56:07Z")

</div>

hi everybody, i’m successfully wrote influxdb metrics in our victoria-metrics cluster, like this: `http://<vm_inser_addr>:<vm_insert_port>/insert/0/influx/ with org 0, token 0 and bucket 0`  
[Pritunl (victoria-metrics influxdb ingest) | Grafana Labs](https://grafana.com/grafana/dashboards/22047-pritunl/) i publish dashboard for this type of metrics, and yep i understand there are not full stats, but it serve me well 🙂
