Commit Graph

9 Commits

Author SHA1 Message Date
John Soo
cdae1d60d1 datadog-agent: Add process to default integrations. 2021-09-11 15:32:14 -07:00
John Soo
82d8e2f0b4 datadog-integrations-core: git-2018-09-18 -> 7.30.1 2021-09-11 15:32:14 -07:00
John Soo
f2d81d2484 datadog-agent: 6.11.2 -> 7.30.2
datadog-agent is now built as a go module.  However, the build process
is now to be driven by the python invoke tool.  While datadog-agent
builds with buildGoModule, some investigation should be done to ensure
we are not missing any integrations or features from the invoke build
system.

This also updates datadog-agent from python 2.7 to 3.x.

One other issue of note: most of the invoke tasks seem to use some git
parsing to get version numbers and the like. This package may need to
be checked for reproducibility issues now.
2021-09-07 23:52:22 -07:00
Martin Weinelt
6b77988f96
treewide: prometheus_client -> prometheus-client 2021-08-26 02:21:59 +02:00
Robert Schütz
9653f60340 dd-agent: use python2Packages.pg8000
It refers to the same version as python2Packages.pg8000_1_12.
2021-06-23 00:05:10 +02:00
Izorkin
a8c2705b0d datadog-agent: add old version pg8000 2019-03-02 12:57:22 +03:00
Domen Kožar
943871a866
datadog-integrtaions-core: 2018-05-27 -> 2018-09-18 2018-09-18 20:22:14 +01: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