valitail

package
v1.76.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UnitName is the name of the valitail service.
	UnitName = v1beta1constants.OperatingSystemConfigUnitNameValitailService

	// PathDirectory is the path for the valitail's directory.
	PathDirectory = "/var/lib/valitail"
	// PathFetchTokenScript is the path to a script which fetches valitail's token for communication with the Vali
	// sidecar proxy.
	PathFetchTokenScript = PathDirectory + "/scripts/fetch-token.sh"
	// PathAuthToken is the path for the file containing valitail's authentication token for communication with the Vali
	// sidecar proxy.
	PathAuthToken = PathDirectory + "/auth-token"
	// PathConfig is the path for the valitail's configuration file.
	PathConfig = v1beta1constants.OperatingSystemConfigFilePathValitailConfig
	// PathCACert is the path for the vali-tls certificate authority.
	PathCACert = PathDirectory + "/ca.crt"

	// ServerPort is the valitail listening port.
	ServerPort = 3001
	// PositionFile is the path for storing the scraped file offsets.
	PositionFile = "/var/log/positions.yaml"
)

Variables

This section is empty.

Functions

func New

func New() *component

New returns a new valitail component.

Types

This section is empty.

Jump to

Keyboard shortcuts

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