promexporter

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetExporterParams added in v0.1.0

func SetExporterParams(filePath, endpoint string, flagsConfig web.FlagConfig, hideIP, hideUser bool)

SetExporterParams sets path for 'auth.log' from command line argument 'auth.log', HTTP endpoint parameters from command line arguments: 'web.endpoint', 'web.listen-address', 'web.config.file', 'web.systemd-socket' (Linux only)'.

func SetGeodbPath added in v0.0.2

func SetGeodbPath(geoType, filePath, outputLang, url string, timeout int, logger log.Logger)

SetGeodbPath sets geoIP database parameters from command line argument geo.type, geo.db and geo.lang, geo.url or geo.timeout.

func Start

func Start(logger log.Logger)

Start runs promhttp endpoind and parsing log process.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL