nixpkgs/nixos/modules
Vincent Ambo 5a07bb2fc7 nixos/datadog-agent: Refactor to allow arbitrary check configs
Refactors the datadog-agent (i.e. V6) module to let users configure
arbitrary checks, not just a limited set, without having to resort to
linking the files manually and updating the systemd unit.

Checks are now configured via a `services.datadog-agent.checks` option
which takes an attribute set in which the keys refer directly to
Datadog check names, and the values are attribute sets representing
Datadog's configuration structure.

With this mechanism users can configure arbitrary integrations, for
example for the `ntp`-check, simply by saying:

    services.datadog-agent.checks.ntp = {
      init_config = null;
      # ... other check configuration options as per Datadog
      # documentation
    };

The previous check-specific configuration options for non-default
checks have been removed. Disk & network check configuration options
have been kept rather than making them a `default`-value of the
`checks`-option because they will be overridden by user-configurations
in that case.

Relates to NixOS/nixpkgs#40399.
2018-08-09 17:25:23 +02:00
..
config Merge pull request #44015 from alexshpilkin/resolv-unbound 2018-07-24 22:53:53 +02:00
hardware [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
i18n/input-method options.i18n.inputMethod.package: fix type (#43239) 2018-07-09 22:37:27 +02:00
installer set initialHashedPassword in installation-device.nix 2018-08-07 14:45:50 +02:00
misc cassandra: rewrote service from scratch 2018-08-07 14:48:43 +00:00
profiles set initialHashedPassword in installation-device.nix 2018-08-07 14:45:50 +02:00
programs Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
security Merge pull request #42834 from Synthetica9/patch-1 2018-07-23 11:29:18 -04:00
services nixos/datadog-agent: Refactor to allow arbitrary check configs 2018-08-09 17:25:23 +02:00
system Merge pull request #29441 from oxij/nixos/luks 2018-08-08 13:16:57 -04:00
tasks trackpoint: Make the device name configurable 2018-08-06 02:56:32 +02:00
testing Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
virtualisation Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
module-list.nix nixos/datadog-agent: add module 2018-08-09 16:53:31 +02:00
rename.nix nixos/disnix: undo dysnomia rename to fix disnix and retain compatibility with previous release 2018-08-06 01:25:38 +02:00