Skip to content
Snippets Groups Projects
Commit b9190084 authored by micah's avatar micah :speech_balloon:
Browse files

Replace openvpn-exporter with textfile exporter.

The upstream openvpn-exporter was emitting high cardinality metrics, because of
the CN being an unique identifier based off of the certificate. This would cause
the tsdb to fill with unnecessary, and unrelated metrics.

This removes that exporter (which has not seen commits for years) and replaces
it with the prometheus-node-exporter textfile collector, which will emit metrics
produced by the shell script that is run every 10 seconds. It will only emit
these metrics:

openvpn_server_connected_clients{status_path="/tmp/openvpn-status-tcp"}
openvpn_server_connected_clients{status_path="/tmp/openvpn-status-udp"}
openvpn_up{status_path="/tmp/openvpn-status-tcp"}
openvpn_up{status_path="/tmp/openvpn-status-udp"}
parent 54c64ebb
Branches
Tags backupninja_upstream/1.0.1
1 merge request!5Replace openvpn-exporter with textfile exporter.
Pipeline #124257 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:02:02

avatar
Download artifacts

No artifacts found