Commit Graph

136 Commits

Author SHA1 Message Date
Ryan Mulligan
47cb3e6165 datadog-agent: fix 2024-07-03 17:53:36 +02:00
Philip Taron
623a58e4c9 Avoid top-level with ...; in pkgs/tools/networking/dd-agent/integrations-core.nix 2024-03-28 21:30:46 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
c01fdbec00 datadog-agent: 7.50.1 -> 7.50.3 2024-01-20 18:17:04 +00:00
Weijia Wang
34cd278aa4
Merge pull request #274168 from r-ryantm/auto-update/datadog-agent
datadog-agent: 7.49.0 -> 7.50.1
2024-01-03 16:52:10 +01:00
Stanisław Pitucha
3f4bf49ec2 datadog-agent: remove maintainer 2023-12-27 22:15:52 +11:00
R. Ryantm
3e74698d4d datadog-agent: 7.49.0 -> 7.50.1 2023-12-25 15:54:45 +00:00
Rodney Lorrimar
d353adfc06
datadog-agent: Remove self from meta.maintainers
I no longer use this package and am unable to help maintain it.
2023-12-09 18:04:03 +08:00
Pierre Bourdon
f64d29996b
Merge pull request #268342 from xvello/patch-1
datadog-agent: fix metric submission
2023-11-26 14:56:24 +01:00
R. Ryantm
52d05a3869 datadog-agent: 7.48.1 -> 7.49.0 2023-11-19 21:13:13 -08:00
Xavier Vello
fa6d090ba3
datadog-agent: fix metric submission 2023-11-18 19:14:21 +01:00
Aaron Jheng
8ea2212f74
datadog: 7.45.1 -> 7.48.1 2023-10-24 15:03:29 +00:00
Fabián Heredia Montiel
ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00
Aaron Jheng
4f2e5c57e1
datadog-agent: unpin go1.18 2023-08-21 16:33:21 +08:00
Mario Rodas
d8001aae54
Merge pull request #242116 from flurie/fix-datadog-agent
datadog-agent: 7.38.1 -> 7.45.1
2023-08-10 20:53:27 -05:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Alexander Flurie
aae530ab37 datadog-agent: 7.38.1 -> 7.45.1 2023-07-07 14:59:54 -04:00
Domen Kožar
ef9639cfba
Merge pull request #189795 from cariandrum22/datadog-agent-supress-loading-errors
datadog-agent: suppress datadog-agent loading errors
2023-06-21 11:53:23 +01:00
Aaron Jheng
eb9f0de453
datadog-agent: unpin go1.18 2023-06-01 08:30:30 +00:00
sandydoo
22480044f1
datadog-integrations-core: add missing modules and dependencies 2023-04-27 08:45:28 +00:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Dave Aitken
845e54e94b
datadog-agent: add rtloader to LD_LIBRARY_PATH
This fixes the python init error mentioned here:
https://github.com/NixOS/nixpkgs/issues/105221#issuecomment-1251150900

However, there are still issues with the derived python environment - for some
reason datadog_checks.base is not present in the env's site-packages, which all
the other checks depend on, so python loading still isn't working fully (but I
believe this is an improvement over what's there already at least).
2022-12-09 09:15:58 +00:00
Dave Aitken
5727fbea4a
datadog-agent: build with go118
If using go119, the agent throws an error at startup:

```
panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.19 runtime
```

I believe this needs a fix in the datadog package itself, similar to:
https://github.com/DataDog/datadog-agent/pull/11455 but for go1.19
2022-12-09 09:14:09 +00:00
Armeen Mahdian
aa20ba5563 dd-agent: remove 2022-09-14 14:11:14 +02:00
Takafumi Asano
796974e32e
datadog-agent: suppress datadog-agent loading errors
Loading Errors for apm, process-agent and winproc.d appear on the
datadog agent.

To suppress these errors, I have removed these default configurations
that were copied in the postInstall phase.
2022-09-05 10:05:47 +09:00
Domen Kožar
f576e3a7e3
Merge pull request #185805 from Sohalt/dd-fix-python-integration
Datadog fix python integration
2022-08-30 12:31:32 +01:00
Artturin
c6568adb00 treewide: makeWrapper buildInputs to nativeBuildInputs
most found with https://github.com/siraben/nix-lint
2022-08-16 13:14:19 +03:00
sohalt
fab8a905ab datadog-agent: 7.36.0 -> 7.38.1 2022-08-09 17:49:02 +02:00
sohalt
39165f2938 datadog-integrations-core: 7.30.1 -> 7.38.0 2022-08-09 17:49:02 +02:00
sohalt
6f0654817a datadog: fix python integration 2022-08-09 17:49:02 +02:00
Sandro
9b08b9c44f
Merge pull request #168453 from viraptor/viraptor/datadog-without-systemd 2022-06-29 17:20:24 +02:00
Stanisław Pitucha
95a7f0244a datadog-agent: make systemd optional
Allow compiling without systemd support and disable that by default on
non-Linux platforms. This allows compiling the agent on Darwin.
2022-06-29 09:57:41 +10:00
Sandro Jäckel
b134a28381
dd-agent: remove backport ipaddress 2022-05-30 05:55:10 +02:00
R. Ryantm
9f9301f19c datadog-agent: 7.35.1 -> 7.36.0 2022-05-27 08:25:44 +00:00
R. Ryantm
cb8de95296 datadog-agent: 7.35.0 -> 7.35.1 2022-04-22 11:23:07 +00:00
R. Ryantm
b0f5cd418c datadog-agent: 7.34.0 -> 7.35.0 2022-04-11 06:05:44 +00:00
R. Ryantm
12c1e47681 datadog-agent: 7.33.1 -> 7.34.0 2022-03-03 04:15:17 +00:00
R. RyanTM
8d95ce925b
datadog-agent: 7.33.0 -> 7.33.1
(#159871)
2022-02-16 23:37:29 +01:00
R. Ryantm
bccb7f8ce0 datadog-agent: 7.32.4 -> 7.33.0 2022-02-12 21:21:58 -08:00
R. Ryantm
9f6e0d26ce datadog-agent: 7.32.1 -> 7.32.4 2021-12-27 04:56:42 +00:00
R. Ryantm
baaaf41996 datadog-agent: 7.31.0 -> 7.32.1 2021-12-06 12:54:57 +00:00
R. RyanTM
f1cf85d1ed datadog-agent: 7.30.2 -> 7.31.0 2021-09-16 06:41:34 +00:00
John Soo
cdae1d60d1 datadog-agent: Add process to default integrations. 2021-09-11 15:32:14 -07:00
John Soo
818cabf53b datadog-agent: Don't use invoke during build. 2021-09-11 15:32:14 -07:00
John Soo
f98ae8d59e datadog-process-agent: 6.11.1 -> 7.30.2 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