Discover Packages
github.com/woblerr/authlog_exporter
promexporter
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Feb 19, 2023
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
SetExporterParams(filePath, port, endpoint, tlsConfigPath, hideIP, hideUser)
SetGeodbPath(geoType, filePath, outputLang, url, timeout, logger)
Start(logger)
Types
Source Files
Documentation
Documentation
¶
func SetExporterParams(filePath, port, endpoint, tlsConfigPath string, hideIP, hideUser bool)
func SetGeodbPath(geoType, filePath, outputLang, url string, timeout int, logger log.Logger)
func Start(logger log.Logger)
func SetExporterParams(filePath, port, endpoint, tlsConfigPath string , hideIP, hideUser bool )
SetExporterParams sets path for 'auth.log' from command line argument 'auth.log',
HTTP endpoint parameters from command line arguments 'port', 'endpoint' and 'tlsConfigPath'.
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.
Start runs promhttp endpoind and parsing log process.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.