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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.