Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UnitName is the name of the promtail service. UnitName = v1beta1constants.OperatingSystemConfigUnitNamePromtailService // PathDirectory is the path for the promtail's directory. PathDirectory = "/var/lib/promtail" // PathSetActiveJournalFileScript is the path for the active journal file script. PathSetActiveJournalFileScript = PathDirectory + "/scripts/set_active_journal_file.sh" // PathFetchTokenScript is the path to a script which fetches promtail's token for communication with the Loki // sidecar proxy. PathFetchTokenScript = PathDirectory + "/scripts/fetch-token.sh" // PathAuthToken is the path for the file containing promtail's authentication token for communication with the Loki // sidecar proxy. PathAuthToken = PathDirectory + "/auth-token" // PathConfig is the path for the promtail's configuration file. PathConfig = v1beta1constants.OperatingSystemConfigFilePathPromtailConfig // PathCACert is the path for the loki-tls certificate authority. PathCACert = PathDirectory + "/ca.crt" // ServerPort is the promtail 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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.