services.opentelemetry-collector.validateConfigOverrides

NixOS option

Property overrides passed to otelcol validate as --set arguments, used only for validation and not for the configuration that is deployed. Use this configuration option if you are relying on confmap providers like ${file:/path} and ${env:VAR} in your setup. Note: :: separates path elements, because component names may themselves contain . and /.

type: list of string
Default
[ ]
Example
[
  "extensions::bearertokenauth::token=stub"
]
declared in: nixos/modules/services/monitoring/opentelemetry-collector.nixView source on NixOS/nixpkgs →