//
pkg.gl
Category
github.com/cockroachlabs/visus
internal
scanner
package
0.3.0
Repository:
https://github.com/cockroachlabs/visus.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
14
Dependents
2
Files
325 SLOC
#
Functions
FromConfig
FromConfig creates a new scanner, based on the configuration provided.
New
New returns a server that manages scanners.
#
Structs
Config
Config defines the behavior of the scanner.
Metric
Metric defines the prometheus counter to increment when a line matches the regular expression.
Scanner
Scanner scans a log file to extract the given metrics.
#
Type aliases
Parse
Parse implements the custom logic to parse a specific log file type.