Commit graph

540 commits

Author SHA1 Message Date
Wolfgang Walther 5cbdb94f3a
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.

(cherry picked from commit 91a8fee3aa)
2025-10-05 12:59:25 +02:00
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
Wolfgang Walther a46262ae77
treewide: run treefmt with mdcr/nixfmt 2025-07-24 14:58:15 +02:00
HE7086 e20c1021e3 nixos/prometheus-wireguard-exporter: add support for new flags
(cherry picked from commit ab2dc5c3f9)
2025-07-01 10:18:38 +00:00
Wolfgang Walther 06d883d093
[Backport release-25.05] nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds. (#421205) 2025-06-30 11:28:23 +00:00
Gautier DI FOLCO fa64557806 nixos/prometheus.alertmanagerIrcRelay: fix network-online.target ordering but not depending warning
(cherry picked from commit c689716d48)
2025-06-30 10:27:03 +00:00
Jeevan Shikaram 13877297e7 nixos/prometheus-wireguard-exporter: Add a new option to export wireguard_latest_handshake_delay_seconds.
(cherry picked from commit b10dabd009)
2025-06-30 10:25:58 +00:00
Sandro 9cacd7ee42
nixos/prometheus/alertmanager-ntfy: init module (#402291) 2025-05-05 13:38:24 +02:00
Defelo 25977534c0
nixos/prometheus/alertmanager-ntfy: init module 2025-04-29 13:03:58 +02:00
Jonathan Davies f9aba46b57
nixos/prometheus-exporters/ebpf: init 2025-04-23 16:30:28 +01: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
Sandro 53cf148d36
nixos/prometheus: use the non-alias path for dovecot exporter (#380619) 2025-02-22 21:02:09 +01:00
Sandro 8a3e6de4bd
alertmanager-gotify-bridge: init at 2.3.2 (#378055) 2025-02-17 23:23:20 +01:00
Julian Kuhn a919728213
nixos/alertmanager-gotify-bridge: init module 2025-02-16 22:38:04 +01:00
Jeremy Fleischman c263be1dee
nixos/prometheus: add missing dns_sd_configs types
From
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config:

> The type of DNS query to perform. One of SRV, A, AAAA, MX or NS.

I also simplified the doc string as it's redundant with the generated
docs.
2025-02-16 23:46:29 +07:00
Tristan Ross 8005d0910b
prometheus-node-cert-exporter: init at 1.1.7 (#368325) 2025-02-12 12:34:24 -08:00
dish 77ee605948 nixos/prometheus: fix documentation link formatting 2025-02-12 21:03:21 +01:00
dish fa7399c650 nixos/prometheus/exporters: fix documentation link formatting 2025-02-12 21:03:21 +01:00
NotAShelf bb6f723f33
nixos/prometheus: use the non-alias path for dovecot exporter 2025-02-12 01:41:55 +03:00
Tom Herbers 5abb11bbe7
nixos/bird: rename bird2 to bird, switch to bird3 by default
This is done in view of the Release of the new v3 of Bird.

Switch to the bird3 package for the `services.bird.package` option.

Switch the `bird` package alias to bird3.
2025-02-06 16:35:44 +01:00
Anton Tetov 494b2407ef
nixos/prometheus-restic-exporter: set cache dir (#378228)
* nixos/prometheus-restic-exporter: set cache dir

* prometheus-restic-exporter: use systemd variable for cachedir
2025-02-03 21:50:02 +01:00
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Nico Felbinger 7bb9f739ef
prometheus-frr-exporter: fix communication to frr unix socket 2025-01-13 20:33:09 +01:00
piegames 603733851b treewide: Fix incorrect string escapes 2025-01-07 19:49:28 +01:00
Martin Weinelt 62f35da2a1
nixos/prometheus-exporters/fastly: fix secret handling
The exporter expects the token as an environment variable, not a path
to the file containing the token.
2025-01-04 17:48:56 +01: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
nicoo f6c5531461
nixos: Don't set !allowSubstitutes (#314664)
It is set by `runCommandLocal` and prevents fetching the build output
from `cache.nixos.org` or another trusted substituter.
2024-12-12 18:26:24 +00:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01: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
Weijia Wang cf68d0d3a5
prometheus-libvirt-exporter: init at 2.3.3 and add the prometheus module (#283985) 2024-12-05 03:25:25 +01:00
Rick van Schijndel 1649adc155 nixos/prometheus: add fallback_scrape_protocol and scrape_protocols options
I chose to not constrain them to the supported values to be more flexible in supporting any
newly added values. But maybe it makes sense to constrain them, I'm not completely sure.

Ran into this because Prometheus 3.0 was introduced last week and my config broke,
since rtl_433 doesn't set the headers / content-type correctly.

Related-to: https://github.com/NixOS/nixpkgs/pull/358862
Related-to: https://github.com/prometheus/prometheus/pull/15136
2024-12-02 22:20:48 +01: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
Felix Buehler 4f47314003 nixos/services.prometheus.xmpp-alerts: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler f9825ae100 nixos/services.prometheus.sachet: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler 3b6ddc5927 nixos/services.prometheus.pushgateway: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler ea4bd53274 nixos/services.prometheus.alertmanager: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler 951787fba3 nixos/services.prometheus.alertmanagerWebhookLogger: remove with lib; 2024-11-28 19:08:39 +01:00
Felix Buehler c617a4cb83 nixos/services.prometheus.alertmanagerIrcRelay: remove with lib; 2024-11-28 19:08:39 +01:00
Guillaume Girol a929772d78
nixos/prometheus-postfix-exporter: add package option and format (#356564) 2024-11-23 17:53:28 +01:00
Wulfsta 7df67599ea nixos/prometheus-postfix-exporter: add package option and format 2024-11-22 17:08:44 -05:00
Aleksana c1b9d0ce79
nixos/alertmanager: add additional docs about envsubst (#302536) 2024-11-21 21:20:44 +08:00