168 Commits

Author SHA1 Message Date
klea d8f7f89d99 netdata: fix dontStrip typo
As part of the #532401 tracking issue.
2026-07-14 19:30:39 +00:00
Ryan Horiguchi d01ea0a16c netdata: 2.9.0 -> 2.10.3 2026-05-11 12:59:38 +02:00
Ryan Horiguchi 1954c5e568 netdata: 2.8.4 -> 2.9.0 2026-02-17 22:49:43 +01:00
Ryan Horiguchi c2a5832b79 netdata: 2.8.4 -> 2.8.5 2026-01-13 01:14:07 +01:00
Ryan Horiguchi eac282d04b netdata: 2.8.0 -> 2.8.4 2025-12-17 18:44:34 +01:00
Ihar Hrachyshka 0ca80f6253 netdata: fix meta.changelog 2025-12-14 15:12:06 -05:00
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Ryan Horiguchi bd25e53de0 netdata: format 2025-11-20 01:12:21 +01:00
Ryan Horiguchi 62e5fef377 netdata: 2.6.3 -> 2.8.0 2025-11-20 01:10:23 +01:00
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Ryan Horiguchi bafc202175 netdata: 2.6.2 -> 2.6.3 2025-08-22 22:26:51 +02:00
dish cdfc42d82b netdata: 2.5.3 -> 2.6.2 (#426186) 2025-08-17 10:53:25 -04:00
eymeric 8e3491d2c3 netdata: 2.5.3 -> 2.6.2
Co-authored-by: Ryan Horiguchi <ryan.horiguchi@gmail.com>
2025-08-16 23:03:21 +02:00
Ryan Horiguchi 62d7be2954 nixos/netdata: fix module when withSystemdJournal = false 2025-07-27 07:32:56 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Ryan Horiguchi 5725fe623f netdata: 2.5.2 -> 2.5.3 2025-06-07 13:49:55 +02:00
Maciej Krüger ae903ee043 netdata: use lm_sensors only on Linux in postFixup step (#411313) 2025-05-27 23:26:01 +02:00
Ivan Kovnatsky cb731c653d netdata: use lm_sensors only on Linux in postFixup step
```console
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'darwin-system-25.05.2456ff5'
         whose name attribute is located at /nix/store/ci0w02z7bzdvy889jac8g45xkv3lx9i0-source/pkgs/stdenv/generic/make-derivation.nix:480:13

       … while evaluating attribute 'activationScript' of derivation 'darwin-system-25.05.2456ff5'
         at /nix/store/xjlh0pvwqz7qbhkv7y40a508ps8r0ffv-source/modules/system/default.nix:97:7:
           96|
           97|       activationScript = cfg.activationScripts.script.text;
             |       ^
           98|

       … while evaluating the option `system.activationScripts.script.text':

       … while evaluating definitions from `/nix/store/xjlh0pvwqz7qbhkv7y40a508ps8r0ffv-source/modules/system/activation-scripts.nix':

       … while evaluating the option `system.activationScripts.applications.text':

       … while evaluating definitions from `/nix/store/xjlh0pvwqz7qbhkv7y40a508ps8r0ffv-source/modules/system/applications.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Package ‘lm-sensors-3.6.0’ in /nix/store/ci0w02z7bzdvy889jac8g45xkv3lx9i0-source/pkgs/by-name/lm/lm_sensors/package.nix:97 is not available on the requested hostPlatform:
         hostPlatform.config = "arm64-apple-darwin"
         package.meta.platforms = [
           "aarch64-linux"
           "armv5tel-linux"
           "armv6l-linux"
           "armv7a-linux"
           "armv7l-linux"
           "i686-linux"
           "loongarch64-linux"
           "m68k-linux"
           "microblaze-linux"
           "microblazeel-linux"
           "mips-linux"
           "mips64-linux"
           "mips64el-linux"
           "mipsel-linux"
           "powerpc64-linux"
           "powerpc64le-linux"
           "riscv32-linux"
           "riscv64-linux"
           "s390-linux"
           "s390x-linux"
           "x86_64-linux"
         ]
         package.meta.badPlatforms = [ ]
       , refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
```
2025-05-27 09:54:11 +03:00
Ryan Horiguchi 57b892912c netdata: 2.5.1 -> 2.5.2 2025-05-25 00:07:16 +02:00
Ryan Horiguchi 8c4ec38841 netdata: 2.4.0 -> 2.5.1 2025-05-09 12:56:27 +02:00
Emily 35937cd7d0 Merge staging-next into staging 2025-04-23 17:28:03 +01:00
Maciej Krüger cc70c14a88 netdata: 1.47.5 -> 2.4.0 (#390165) 2025-04-23 17:04:32 +02:00
Ryan Horiguchi 547813ca4c netdata: 1.47.5 -> 2.4.0 2025-04-22 03:17:08 +02:00
Emily 9e8100fba0 treewide: remove uses of deprecated Darwin overrideSDK
All remaining users set 11.3, which is already the default.
2025-04-20 22:42:20 +01:00
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Ivan Kovnatsky b16799b957 netdata: add mainProgram
```console
evaluation warning: getExe: Package "netdata-1.47.5" does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".
```
2025-04-10 17:09:22 +03:00
Maciej Krüger 4b5ee5838b netdata: add myself as maintainer
Package currently has no maintainer, adding myself as I plan on updating it
2025-01-24 14:00:09 +01:00
Maciej Krüger 8def3ffa62 nixos/netdata: fix permissions for some collectors (#340073) 2025-01-24 13:56:54 +01:00
Nikita Pedorich b4bcec16a0 nixos/netdata: grant SUID to ndsudo 2025-01-05 15:44:07 +09:00
Jakub Sokołowski f2128f8035 netdata: fix absolute path to lm_sensors binary
It results in failure to collect metrics:
```
 > libexec/netdata/plugins.d/go.d.plugin -d -m sensors
...
ERR sensors/sensors.go:73 sensors exec initialization: stat /usr/bin/sensors: no such file or directory collector=sensors job=sensors
ERR module/job.go:231 init failed collector=sensors job=sensors
CONFIG go.d:collector:sensors:sensors delete
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-12-24 12:27:00 +01:00
Ryan Horiguchi 970a263fab netdata: 1.47.4 -> 1.47.5 2024-12-08 02:20:43 +01:00
Franz Pletz c2a44ea608 netdata: 1.47.3 -> 1.47.4 (#347790) 2024-10-14 10:31:28 +02:00
Ryan Horiguchi 1697c659b7 netdata: 1.47.3 -> 1.47.4 2024-10-10 21:26:42 +02:00
github-actions[bot] c64ae284c0 Merge master into staging-next 2024-10-10 18:04:46 +00:00
Ryan Horiguchi d0c00c62cc netdata: 1.47.1 -> 1.47.3 2024-10-03 21:40:40 +02:00
Artturin f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Artturin eef771ccf6 treewide: fix typos of enableParallelBuilding (#340652) 2024-09-13 21:52:21 +03:00
Austin Horstman f8726f98ae netdata: 1.47.0 -> 1.47.1 2024-09-12 20:09:46 -05:00
Austin Horstman da31ab50f3 netdata: fix darwin 2024-09-12 19:54:33 -05:00
Austin Horstman 3b6197558a netdata: cleanup rec 2024-09-12 19:48:00 -05:00
Austin Horstman 3dbab8acbb netdata: format 2024-09-12 19:42:06 -05:00
David McFarland 7912e83ade treewide: fix typos of enableParallelBuilding 2024-09-08 23:12:54 -03:00
Ryan Horiguchi 737d1ffb22 netdata: 1.46.1 -> 1.47.0 2024-09-05 10:19:35 +02:00
Ryan Horiguchi 21fed6a80f netdata: build cups plugin when enabled 2024-07-24 23:02:58 +02:00
Nikita Pedorich cba1e458a8 netdata: 1.45.4 -> 1.46.1 2024-07-04 23:00:09 +09:00
Raito Bezarius a3beb09a70 netdata: fix v1 dashboard installation
Co-authored-by: Izorkin
Change-Id: I5a379c8622323d7db4fe01f462627d941687ce22
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-06-19 23:01:19 +02:00
Raito Bezarius eb5855eb3c netdata: drop maintenance from raitobezarius
Change-Id: If98b9f43825ca4f9a4bd80ad6e0a4fe16c7368dc
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-06-19 22:30:05 +02:00
Raito Bezarius 80db5facb4 netdata: workaround for go.d plugins directory accesses
Change-Id: I1731e8f3d2c53dfed8d1be3f74f9219f7cf84a34
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-06-19 22:30:05 +02:00
Nikita Pedorich cbc4224c86 netdata: 1.45.3 -> 1.45.4 2024-06-19 22:30:05 +02:00