1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
Commit graph

52 commits

Author SHA1 Message Date
Izorkin 47a8b13efa datadog-agent: 6.4.2 -> 6.8.3 2019-01-08 11:16:44 +03:00
Rob Vermaas debbed29d1 datadog-agent: add option to enable trace agent 2018-10-23 12:30:06 +02:00
Domen Kožar 943871a866
datadog-integrtaions-core: 2018-05-27 -> 2018-09-18 2018-09-18 20:22:14 +01:00
Domen Kožar 595ae18797
nixos: datadog-agent: fix systemd support 2018-09-13 09:11:55 +01:00
Domen Kožar bef541c569 datadog: add live process monitoring 2018-09-13 09:11:06 +01:00
Domen Kožar 2c18d48c0e datadog-agent: 6.1.4 -> 6.4.2 2018-09-11 14:15:06 +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
Rodney Lorrimar fb6679151a datadog-integrations-core: init at git-2018-05-27 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
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Vincent Ambo aee19ca7f8 dd-agent: fix compatibility issue with iostat (#41035)
Applies a patch to the dd-agent derivation that fixes a compatibility
issue with the current version of iostat, which no longer contains a
colon after its table headers.

This patch is applied in order for the fix to be backportable to
existing stable releases. A final "proper" fix will be an upgrade to a
newer version of dd-agent, but that requires several other changes.

This fixes #40103.
2018-05-31 22:58:04 +02:00
Matthew Bauer 3f85411ba5 dd-agent: use https for homepage 2017-08-17 14:56:10 -07:00
Mateusz Kowalczyk dcf171bc79 Revert "dd-agent: 5.11.2 -> 5.13.2 + service rework"
This reverts commit af096c8bff.
2017-06-03 12:27:56 +01:00
Mateusz Kowalczyk 668556331b Revert "datadog: Properly use configured package."
This reverts commit 50f53da9ef.
2017-06-03 12:27:43 +01:00
Mateusz Kowalczyk 50f53da9ef datadog: Properly use configured package. 2017-06-02 08:16:47 +01:00
Mateusz Kowalczyk af096c8bff dd-agent: 5.11.2 -> 5.13.2 + service rework 2017-06-01 15:08:50 +01:00
Frederik Rietdijk ef4442e827 Python: replace requests2 with requests tree-wide
See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
2017-05-07 12:56:09 +02:00
Rob Vermaas a9f054c834
dd-agent: Add default config files of dd-agent and auto_conf dir
to /etc/dd-agent/conf.d by default, and make sure
/etc/dd-agent/conf.d is used.

Before NixOS 17.03, we were using dd-agent 5.5.X which
used configuration from /etc/dd-agent/conf.d

In NixOS 17.03 the default conf.d location is first used relative,
meaning that $out/agent/conf.d was used without NixOS overrides.

This change implements similar functionality as PR #25288, without
breaking backwards compatibility.

(cherry picked from commit 77c85b0ecb)
2017-05-04 09:47:21 +00:00
Rob Vermaas 35dfdc9277
dd-agent: fix by adding uptime as dependency.
(cherry picked from commit f79be2cfa3)
2017-03-29 14:56:01 +00:00
Sander van der Burg 20194e2696 dd-agent: bind to pymongo 2.9.1 to fix the MongoDB monitoring 2017-03-20 10:42:43 +01:00
Susan Potter 35f9f63a39 dd-agent: 5.5.2 -> 5.11.2 2017-03-10 17:35:27 +01:00
Susan Potter 17a8d19032 dd-agent: fix Python missing dependencies and versions 2017-03-10 17:35:27 +01:00
Rob Vermaas cfd62a1045 dd-agent: D'oh, removing duplicate requests dep.
(cherry picked from commit acf91fd6ef)
2016-09-30 13:24:19 +00:00
Rob Vermaas a98dccf1e4 Fix dd-agent
(cherry picked from commit a6493ce4bd)
2016-09-30 13:15:23 +00:00
Rob Vermaas 9494b764d2 dd-agent: support jmx, needs a separate daemon nowadays.
(cherry picked from commit 1425a1f964)
2016-07-29 12:42:07 +00:00
Domen Kožar b49bf121b8 rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
Jaka Hudoklin 4acbfe7d9a dd-agent: add docker support 2015-11-16 13:46:19 +01:00
Jaka Hudoklin b4ece28aac dd-agent: 5.4.3 -> 5.5.2 2015-11-16 13:46:06 +01:00
Sander van der Burg dc2a6e3d3d dd-agent: Add support for MongoDB monitoring 2015-08-03 09:09:52 +00:00
Austin Seipp cbf14b9d8f nixpkgs: dd-agent 5.2.3 -> 5.4.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-07-20 13:52:33 -05:00
Susan Potter 727565279f Fix dd-agent buildInputs to include pythonPackages.psutil
When deploying current master version journalctl showed ImportErrors in the logs with message:
'No module named psutil' and systemctl dd-agent service failed to start. To fix I added
pythonPackages.psutil as a buildInputs entry and this fixed the issue.

See this Gist for journalctl errors for reference:
https://gist.github.com/mbbx6spp/59eefabbe708c335a31f
2015-06-01 13:54:13 -05:00
Austin Seipp c07cce40a4 nixpkgs: dd-agent 5.1.1 -> 5.2.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-04-02 16:27:51 -05:00
Rob Vermaas 87b9925f23 Update dd-agent to 5.1.1
(cherry picked from commit 7f02b1f350)
2015-01-05 13:15:36 +01:00
Rob Vermaas 6ae8983a5e Update dd-agent to 4.4.0 2014-12-03 16:08:39 +01:00
Austin Seipp 80f3e943b1 dd-agent: 4.2.1 -> 4.3.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-06-06 23:14:54 -05:00
Eelco Dolstra 6aeb59bbe0 Rename fetchGitHub -> fetchFromGitHub
We're not fetching all of GitHub, after all.
2014-05-08 15:49:39 +02:00
Eelco Dolstra ebd8573046 Add a utility function "fetchGitHub"
This is a small wrapper around fetchzip. It allows you to say:

  src = fetchGitHub {
    owner = "NixOS";
    repo = "nix";
    rev = "924e19341a5ee488634bc9ce1ea9758ac496afc3"; # or a tag
    sha256 = "1ld1jc26wy0smkg63chvdzsppfw6zy1ykf3mmc50hkx397wcbl09";
  };
2014-05-08 15:30:18 +02:00
Eelco Dolstra c8df888858 Add a function "fetchzip"
This function downloads and unpacks a file in one fixed-output
derivation. This is primarily useful for dynamically generated zip
files, such as GitHub's /archive URLs, where the unpacked content of
the zip file doesn't change, but the zip file itself may (e.g. due to
minor changes in the compression algorithm, or changes in timestamps).

Fetchzip is implemented by extending fetchurl with a "postFetch" hook
that is executed after the file has been downloaded. This hook can
thus perform arbitrary checks or transformations on the downloaded
file.
2014-05-08 15:30:17 +02:00
Eelco Dolstra 2a43a4163a Fix indentation 2014-05-08 15:30:17 +02:00
Austin Seipp 368a677c97 nixos: overhaul datadog module
This overhauls the Datadog module a bit to be much more useful. In
particular, it adds support for nginx and postgresql monitoring
integrations to dd-agent. These have to exist in separate files under
/etc/dd-agent, so the module just exposes then as separate options. In
the future, more integrations could be added this way.

In the process of doing this, I also had to rename the dd-agent user to
datadog. Note the UIDs did not change, so this is strictly backwards
compatible. The reason for this is to make it easier to create a
'datadog' postgres user with access to pg_stats, as 'dd-agent' typically
isn't a valid username. This allows the out of the box configurations to
be used.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-05-02 01:24:35 -05:00
Rob Vermaas 1b2b9761b4 dd-agent: update from 4.2.0 to 4.2.1 2014-04-22 15:47:06 +02:00
Rob Vermaas a4ebaa61e4 Update dd-agent to 4.2.0 2014-04-08 09:27:09 +02:00
Shea Levy ca116f76f9 Unmaintain a bunch of packages
Trying to take maintainership more seriously...

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-21 22:34:41 -05:00
Rob Vermaas bd0d2aa149 Update dd-agent to 4.0.1 2013-12-23 15:49:54 +01:00
Domen Kozar 58975755ea add bpython 2013-07-08 20:58:44 +02:00
Domen Kozar efa4aac21e dd-agent: ab14fde6f9 -> 3.8.0 2013-06-29 18:46:37 +02:00
Shea Levy e11365c0a5 dd-agent: No need to propagate sysstat, dd-agent doesn't belong in user profiles anyway 2013-01-08 16:17:21 -05:00
Shea Levy a23c70c492 dd-agent: Add meta 2013-01-08 12:55:55 -05:00
Shea Levy 76076ea9cf dd-agent: Propagate sysstat 2013-01-08 12:48:24 -05:00
Shea Levy bc2e957308 dd-agent: Add python so patchShebangs can patch python scripts 2013-01-08 12:42:11 -05:00