Commit Graph
148638 Commits
Author SHA1 Message Date
Vincent Ambo 5b748bd8fa nixos/datadog-agent: Add option to configure datadog integrations
Introduces an option `services.datadog-agent.extraIntegrations` that
can be set to include additional Datadog agent integrations from the
integrations-core repository.

Documentation and an example is provided with the change.

Relates to NixOS/nixpkgs#40399
2018-08-09 17:25:23 +02:00
Vincent Ambo 924016f45f dd-agent: Simplify inclusion of additional Datadog core integrations
Refactors the process used to build the Datadog core integrations to
be more easily extensible with integrations other than the ones built
and installed by default.

Documentation has been added in relevant parts of the module to
describe how the process works.

As a high-level overview:

The `datadog-integrations-core` attribute in the top-level package set
now accepts an extra parameter.

This parameter is an attribute set where each key is the name of a
Datadog integration as it appears in Datadog's integrations-core
repository[1], and the value is a function that receives the Python
package set and returns the required dependencies of this integration.

For example:

    datadog-integrations-core {
      ntp = (ps: [ ps.ntplib ]);
    };

This would build the default integrations and, additionally, the `ntp`
integration.

To support passing the modified Python environment to the
datadog-agent itself, the `python` key has been moved inside of the
derivation which means that it will be made overridable.

This relates to NixOS/nixpkgs#40399.

[1]: https://github.com/DataDog/integrations-core
2018-08-09 17:25:23 +02:00
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
Rodney Lorrimar b9486e2b50 nixos/datadog-agent: add module
This is the new v6 version of datadog-agent.

The old v5 module is kept as dd-agent.
2018-08-09 16:53:31 +02:00
Rodney Lorrimar 51618113f4 nixos/dd-agent: Fix dodgy temp files
DataDog was dropping PID files and and python pickle files in
/tmp. Move these to private directories as a precaution.
2018-08-09 16:53:30 +02:00
Rodney Lorrimar fb6679151a datadog-integrations-core: init at git-2018-05-27 2018-08-09 16:53:30 +02:00
Rodney Lorrimar 3a195dc2ef pythonPackages.uuid: init at 1.30 2018-08-09 16:53:30 +02:00
Rodney Lorrimar 637cc2a35e datadog-agent: init at 6.1.4
DataDog have adopted a subtle naming convention:

 - dd-agent refers to the v5 Python implementation
 - datadog-agent refers to the v6 golang implementation
2018-08-09 16:53:29 +02:00
8573 6b486cf947 vim_configurable: Add wrapGAppsHook for GTK 3 (#44645)
As suggested by @jtojnar in GitHub issue #44580, this patch adds the
package `wrapGAppsHook` to the dependencies (specifically, the
`nativeBuildInputs`) of `vim_configurable`, when `vim_configurable` is
built against GTK 3.

This change prevents GVim from crashing if one tries to use its
file-choosing dialog, and fixes a warning that otherwise might be
emitted if one tries to use its find/replace dialog.
2018-08-09 11:11:24 +02:00
Cole Mickens ca79107a79 keybase-gui: 2.3.0 -> 2.5.0 (#44705) 2018-08-09 11:00:30 +02:00
Christoph Hrdinka 962570e16d Merge pull request #44737 from r-ryantm/auto-update/nsd
nsd: 4.1.22 -> 4.1.23
2018-08-09 10:55:44 +02:00
Cole Mickens 1611d1d158 kbfs: 2.1.1 -> 2.5.0 (#44697) 2018-08-09 10:46:36 +02:00
xeji 93f5e20ef5 Merge pull request #44553 from yegortimoshenko/201808/toggldesktop
toggldesktop: init at 7.4.231
2018-08-09 09:32:53 +02:00
R. RyanTM 46c84f3847 wesnoth: 1.14.3 -> 1.14.4 (#44671)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/wesnoth/versions.
2018-08-09 09:20:26 +02:00
R. RyanTM 6efb72f716 fwts: 18.06.02 -> 18.07.00 (#44777)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fwts/versions.
2018-08-09 09:17:17 +02:00
R. RyanTM 73d0a140e0 cutelyst: 2.4.1 -> 2.5.1 (#44790) 2018-08-09 07:13:23 +00:00
Frederik Rietdijk 786cbba7be Merge pull request #44447 from NixOS/staging-next
Staging next
2018-08-09 09:04:03 +02:00
aanderse 12c05697b5 added Authen::ModAuthPubTkt perl package from cpan (#44785) 2018-08-09 08:59:46 +02:00
R. RyanTM fcc187b480 angband: 4.1.2 -> 4.1.3 (#44801)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/angband/versions.
2018-08-09 08:52:11 +02:00
Vladimír Čunát 94e608d587 Merge branch 'master' into staging-next 2018-08-09 08:48:04 +02:00
Cole Mickens e7f93b5980 ipfs: 0.4.15 -> 0.4.17 (#44696) 2018-08-09 08:46:57 +02:00
R. RyanTM 26e4afca59 mbedtls: 2.11.0 -> 2.12.0 (#44741) 2018-08-09 06:41:54 +00:00
Jonathan Mettes 237c956b0a ncview: init at 2.1.8 (#44778) 2018-08-09 08:41:12 +02:00
Jörg Thalheim 33247bce39 Merge pull request #44797 from r-ryantm/auto-update/cadvisor
cadvisor: 0.29.1 -> 0.30.2
2018-08-09 07:39:35 +01:00
Jörg Thalheim cd6d2e2103 Merge pull request #44799 from r-ryantm/auto-update/avr-gcc
avrgcc: 8.1.0 -> 8.2.0
2018-08-09 07:37:12 +01:00
Jörg Thalheim bed2b81949 Merge pull request #44795 from r-ryantm/auto-update/avr-binutils
avrbinutils: 2.30 -> 2.31.1
2018-08-09 07:36:42 +01:00
Jörg Thalheim 337d6de450 Merge pull request #44791 from r-ryantm/auto-update/deepin-gtk-theme
deepin.deepin-gtk-theme: 17.10.6 -> 17.10.8
2018-08-09 07:29:21 +01:00
R. RyanTM 45216f9468 efibootmgr: 16 -> 17 (#44786)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/efibootmgr/versions.
2018-08-09 08:22:01 +02:00
adisbladis ea3310c944 ansible_2_6: init at 2.6.2 (#44673) 2018-08-09 08:19:55 +02:00
André Stylianos Ramos 9d7831b859 joker: 0.9.4 -> 0.9.5 (#44776) 2018-08-09 08:16:58 +02:00
Jörg Thalheim 3dbc44b00c Merge pull request #44794 from r-ryantm/auto-update/ccrypt
ccrypt: 1.10 -> 1.11
2018-08-09 07:07:55 +01:00
Jörg Thalheim fd650064da Merge pull request #44788 from r-ryantm/auto-update/cscope
cscope: 15.8b -> 15.9
2018-08-09 07:06:32 +01:00
adisbladis 8ab945be1c Merge pull request #44775 from r-ryantm/auto-update/hashcat
hashcat: 4.1.0 -> 4.2.1
2018-08-09 13:55:12 +08:00
adisbladis b8e25d2ce3 Merge pull request #44809 from r-ryantm/auto-update/buildbot-worker
buildbot-worker: 1.2.0 -> 1.3.0
2018-08-09 13:54:39 +08:00
adisbladis 67d61b429c Merge pull request #44808 from r-ryantm/auto-update/blueman
blueman: 2.0.5 -> 2.0.6
2018-08-09 13:53:22 +08:00
adisbladis b6636d7393 Merge pull request #44805 from r-ryantm/auto-update/airsonic
airsonic: 10.1.1 -> 10.1.2
2018-08-09 13:53:03 +08:00
Jörg Thalheim 4bc38499f2 Merge pull request #44804 from r-ryantm/auto-update/babl
babl: 0.1.52 -> 0.1.54
2018-08-09 06:52:25 +01:00
Michael Raskin a4a4550500 Merge pull request #44806 from r-ryantm/auto-update/asymptote
asymptote: 2.44 -> 2.46
2018-08-09 05:13:09 +00:00
Michael Raskin 2690a9c4da Merge pull request #44761 from r-ryantm/auto-update/ipmiutil
ipmiutil: 3.1.1 -> 3.1.2
2018-08-09 05:12:40 +00:00
Jörg Thalheim 210af8681e Merge pull request #44807 from r-ryantm/auto-update/bear
bear: 2.3.11 -> 2.3.12
2018-08-09 06:10:07 +01:00
Orivej Desh 2659e0a206 gdal: update proj option 2018-08-09 03:48:09 +00:00
R. RyanTM 3aa6f292f2 buildbot-worker: 1.2.0 -> 1.3.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/buildbot-worker/versions.
2018-08-08 20:32:19 -07:00
R. RyanTM fe95720fc2 blueman: 2.0.5 -> 2.0.6
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/blueman/versions.
2018-08-08 20:30:40 -07:00
R. RyanTM ab5e09bb36 bear: 2.3.11 -> 2.3.12
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bear/versions.
2018-08-08 20:26:21 -07:00
R. RyanTM 38ba8e9d78 asymptote: 2.44 -> 2.46
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/asymptote/versions.
2018-08-08 20:24:53 -07:00
R. RyanTM e4de4863c7 airsonic: 10.1.1 -> 10.1.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/airsonic/versions.
2018-08-08 20:15:42 -07:00
R. RyanTM bd61b3c261 babl: 0.1.52 -> 0.1.54
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/babl/versions.
2018-08-08 20:11:07 -07:00
R. RyanTM aaa88f4c7f avrgcc: 8.1.0 -> 8.2.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/avr-gcc/versions.
2018-08-08 19:54:24 -07:00
Orivej Desh 42eca7ca2d subversion: add license 2018-08-09 02:48:06 +00:00
R. RyanTM a2fcc1f7a8 cadvisor: 0.29.1 -> 0.30.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cadvisor/versions.
2018-08-08 19:28:02 -07:00