promtail

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UnitName is the name of the promtail service.
	UnitName = v1beta1constants.OperatingSystemConfigUnitNamePromtailService
	// PathPromtailDirectory is the path for the promtail's directory.
	PathPromtailDirectory = "/var/lib/promtail"
	// PathPromtailAuthToken is the path for the promtail authentication token,
	// which is used to auth agains the Loki sidecar proxy.
	PathPromtailAuthToken = PathPromtailDirectory + "/auth-token"
	// PathPromtailConfig is the path for the promtail's configuration file.
	PathPromtailConfig = v1beta1constants.OperatingSystemConfigFilePathPromtailConfig
	// PathPromtailCACert is the path for the loki-tls certificate authority.
	PathPromtailCACert = PathPromtailDirectory + "/ca.crt"
	// PromtailServerPort is the promtail listening port.
	PromtailServerPort = 3001
	// PromtailPositionFile is the path for storing the scraped file offsets.
	PromtailPositionFile = "/var/log/positions.yaml"
	// PathSetActiveJournalFileScript is the path for the active journal file script.
	PathSetActiveJournalFileScript = PathPromtailDirectory + "/scripts/set_active_journal_file.sh"
)

Variables

This section is empty.

Functions

func New

func New() *component

New returns a new promtail component.

Types

This section is empty.

Jump to

Keyboard shortcuts

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