Skip to content

Opentelemetry collector

services.opentelemetry-collector.configFile

Specify a path to a configuration file that Opentelemetry Collector should use.

Type: null or path

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/opentelemetry-collector.nix

services.opentelemetry-collector.enable

Whether to enable Opentelemetry Collector. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/opentelemetry-collector.nix

services.opentelemetry-collector.package

The opentelemetry-collector package to use. Type: package

Default

pkgs.opentelemetry-collector

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/opentelemetry-collector.nix

services.opentelemetry-collector.settings

Specify the configuration for Opentelemetry Collector in Nix.

See https://opentelemetry.io/docs/collector/configuration/ for available options.

Type: YAML value

Default

{ }

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/monitoring/opentelemetry-collector.nix