Skip to content

Promtail

services.promtail.configuration

Specify the configuration for Promtail in Nix.

Type: JSON value

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/logging/promtail.nix

services.promtail.enable

Whether to enable the Promtail ingresser. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/logging/promtail.nix

services.promtail.extraFlags

Specify a list of additional command line flags, which get escaped and are then passed to Loki.

Type: list of string

Default

[ ]

Example

["--server.http-listen-port=3101"]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/logging/promtail.nix