Commit graph

165 commits

Author SHA1 Message Date
Wolfgang Walther 91a8fee3aa
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Dionysis Grigoropoulos 377847e3c8
nixos/prometheus/storagebox: Init module 2025-09-26 20:24:04 +03:00
Jonathan Davies 314b467ac1
nixos/prometheus-exporters: Added kafka exporter 2025-08-17 14:07:13 +00:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sandro 6dcce44311
prometheus-mailman3-exporter: init at 0.9.1 (#398164) 2025-06-29 22:30:36 +02:00
WilliButz 356d4fc91c
treewide: remove myself from maintainers
This removes maintainer entries which haven't reflected reality for a
while, mostly due to a change in focus towards other topics.
2025-06-11 17:39:42 +02:00
Jonathan Davies f9aba46b57
nixos/prometheus-exporters/ebpf: init 2025-04-23 16:30:28 +01:00
Marcel d33d1dda8f
nixos/prometheus-mailman3-exporter: init module 2025-04-12 17:16:14 +02:00
Pol Dellaiera 068a5dea67
prometheus-ecoflow-exporter: init ecoflow nixos module integration (#395428) 2025-04-04 11:24:56 +02:00
PAEPCKE, Michael 72857eab9f
prometheus-tibber-exporter: init tibber nixos module integration 2025-04-04 07:19:56 +00:00
PAEPCKE, Michael 979caf8f05
prometheus-ecoflow-exporter: init ecoflow nixos module integration 2025-04-04 07:18:40 +00:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
PAEPCKE, Michael cdb80c1f44
prometheus-exporter: init chrony module 2025-03-30 11:14:30 +00:00
ibizaman 1f52ec9f95 prometheus-node-cert-exporter: init at 1.1.7-unstable-2024-12-26 2024-12-26 14:21:30 +01:00
Nico Felbinger 578c5b6583
prometheus-frr-exporter: init prometheus exporter module 2024-12-23 15:17:45 +01:00
Martin Weinelt f6f1febc43
nixos/prometheux-exporters/rasdaemon: init 2024-12-19 14:04:56 +01:00
Daksh Jotwani aa8a2577f1 nixos/prometheus: add nvidia-gpu exporter
This exporter allows prometheus-nvidia-gpu-exporter to be installed as a
systemd service.
2024-12-16 19:33:45 -08:00
Christoph Heiss 2acc732b6a
nixos/prometheus: add mqtt-exporter
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-12-06 19:29:05 +01:00
misuzu 48733b509e
nixos/prometheus-restic-exporter: add option to specify repository as a file (#344983) 2024-12-05 22:12:30 +02:00
Vladimir Pouzanov dff5a9370c nixos/prometheus-exporters/libvirt: init 2024-12-01 16:30:29 +00:00
Robert Schütz 61f3a9680a nixos/prometheus.exporters.unifi: drop
The corresponding package was dropped in 826bef9b51.
2024-11-29 22:49:29 +01:00
Wim de With 93cce0becc nixos/prometheus: remove tor exporter 2024-10-30 19:42:51 +01:00
Wulfsta e13a31e4bf prometheus-klipper-exporter: init at v0.11.2 2024-10-23 01:55:47 -04:00
Maroka-chan 92121e43ea
nixos/prometheus-exporters: add assertion for restic repository options to make them mutually exclusive
This commit ensures that exactly one of either the `repository` or
`repositoryFile` option is set. Specifying a repository is required, but
only *one* of the two options will be used, so instead of arguing about
a precedence that will only cause confusion, it makes more sense to make
them mutually exclusive.
2024-09-28 01:46:16 +02:00
Bjørn Forsman 86a6ef5f15 nixos/prometheus-smartctl-exporter: fix NVMe scanning
smartctl_exporter already runs with SupplementaryGroups "disk", which
gives full access to SATA drives, but NVMe devices are owned by
root:root, resulting in no access:

  [...] msg="Smartctl open device: /dev/nvme0 failed: Permission denied"

This patch introduces a "smartctl-exporter-access" supplementary
group, and an udev rule with setfacl to give the exporter access to NVMe
drives, without changing the base root:root ownership.

Fixes https://github.com/NixOS/nixpkgs/issues/210041
2024-09-19 17:28:30 +02:00
Maximilian Bosch 862ecd674f
nixos/prometheus-exporters/pgbouncer: don't leak DB password into cmdline
Since `connectionStringFile` reads the file and puts it into the
invocation of the exporter, it's part of the cmdline and thus
effectively world-readable.

Added a new `connectionEnvFile` which is supposed to be an environment
file of the form

  PGBOUNCER_EXPORTER_CONNECTION_STRING=...

that will be added to the systemd service. The exporter will read the
connection string from that value.
2024-09-09 21:08:17 +02:00
Maximilian Bosch 4980a7d938
nixos/prometheus-exporters: fix assertions declared in exporter modules
And it turns out, the test was using a removed option all along 🙃
2024-09-09 21:08:17 +02:00
Maximilian Bosch 735662bf16
prometheus-openldap-exporter: remove
2.3.0 is the final release, the repo is now archived.

Also I don't use it anymore for quite a while, so it didn't have a real
nixpkgs maintainer either.

Closes #338712
2024-09-01 16:47:45 +02:00
Ivan Trubach 6008ed89f6 nixos/prometheus.exporters.pgbouncer: do not assume that pgbouncer runs on localhost
PgBouncer instance running on localhost may not be the on being
monitored in connectionString. Remove checks that forbid valid
configuration from being used and instead document requirements for
PgBouncer configuration when used with the exporter.
2024-08-08 05:54:45 +03:00
Finn Landweber 0d58b75cba
added prometheus-borgmatic-exporter module 2024-07-16 12:17:49 +02:00
Pol Dellaiera ed24a0baf3
Merge pull request #317107 from ibizaman/deluge_exporter_init
prometheus-deluge-exporter: init at 2.4.0-unstable-2024-06-02
2024-07-08 20:09:50 +02:00
Moritz Sanft 43990c5428
nixos/prometheus: remove minio exporter 2024-06-25 11:00:01 +02:00
ibizaman 1bb9bf32b7 prometheus-deluge-exporter: init at 2.4.0-unstable-2024-06-02 2024-06-10 22:02:36 -07:00
Sandro 1166097197
Merge pull request #302375 from SebastianWendel/init-prometheus-dnssec-exporter
nixos/prometheus-dnssec-exporter: init
2024-04-17 21:48:59 +02:00
stuebinm 6afb255d97 nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Sebastian Wendel 8737490803 nixos/prometheus.exporters.dnssec: init module 2024-04-12 12:23:47 +02:00
Jos van Bakel 2e10f813fe
nixos/prometheus-nats-exporter: new module 2024-04-10 17:12:49 +02:00
Maciej Krüger 598c71dac6
Merge pull request #222415 from justinas/prometheus-exporters-nftables
prometheus-exporters: support nftables
2024-04-03 01:28:20 +02:00
Marie Ramlow 88daab5195 nixos/prometheus-fritz-exporter: init module 2024-03-23 16:32:25 +01:00
Martin Weinelt d702c91302
nixos/prometheus/exporters: pass utils into exporter modules
This is useful, because it provides escapeSystemdShellArgs.
2024-03-21 05:27:21 +01:00
h7x4 932344b54a
Merge pull request #270475 from MinerSebas/prometheus-restic-exporter
prometheus-restic-exporter: init at 1.4.0
2024-02-01 20:05:11 +01:00
MinerSebas d1f031cbbd nixos/prometheus-restic-exporter: init module 2024-02-01 14:48:56 +01:00
Mario Rodas 4006079f95
Merge pull request #276177 from aaronjheng/prometheus-openvpn-exporter
prometheus-openvpn-exporter: remove
2024-01-30 19:32:50 -05:00
Aaron Jheng 096f6d6c00
prometheus-openvpn-exporter: remove 2024-01-26 14:37:05 +08:00
Nudelsalat 5d85f0eee8 nixos/prometheus-ping-exporter: init 2023-12-24 18:11:25 +01:00
Nick Cao 0840c28c43
Merge pull request #268991 from undefined-moe/mongodb-exporter
add prometheus-mongodb-exporter
2023-11-22 09:29:50 -05:00
undefined b46ec2c40f
nixos/prometheus-mongodb-exporter: init module 2023-11-22 09:42:27 +08:00
Felix Buehler 4d1680ccc7 nixos/exportarr: init 2023-11-07 20:56:32 +01:00
Arnout Engelen 6071292b2a
Merge pull request #243338 from raboof/prometheus-imap-mailstat-exporter-init-at-2023-06-20
prometheus-imap-mailstat-exporter: init at 0.0.1
2023-10-11 17:33:25 -03:00
1000101 3b094812b1 prometheus-pgbouncer-exporter: init at 0.7.0 2023-10-07 11:44:40 +02:00