Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // ListenAddress is the address to listen on for web interface and telemetry. ListenAddress string // MetricsPath is the path under which to expose metrics. MetricsPath string // OpenvpnStatusPaths are the paths at which OpenVPN places its status files. OpenvpnStatusPaths string // IgnoreIndividuals if true ignores metrics for individuals. IgnoreIndividuals bool }
Config is the configuration of the OpenVPN metrics exporter.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig creates Config with default values.
Click to show internal directories.
Click to hide internal directories.