services.prometheus.scrapeConfigs.*.bearer_token

NixOS option

Sets the Authorization header on every scrape request with the configured bearer token. It is mutually exclusive with bearer_token_file.

type: null or string
Default
null
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →