Commit Graph

616 Commits

Author SHA1 Message Date
XYenon
8f54e9f26c nixos/prometheus-exporters/kvrocks: init 2026-08-13 11:41:46 +08:00
h7x4
1ce84888a7 nixos/alertmanager: replace systemd preStart with ExecStartPre 2026-07-31 03:18:40 +09:00
Arnout Engelen
e36bc9af58 prometheus-imap-mailstat-exporter: 0.0.1 to 0.7.1 2026-07-06 18:02:39 +02:00
nixpkgs-ci[bot]
248ddc1100 Merge master into staging-next 2026-06-25 12:49:17 +00:00
Bart Oostveen
cd65877bf5 nixos/prometheus-exporters/mail-tlsa-check: init 2026-06-25 08:56:28 +02:00
Sandro
85881708dc prometheus-bind-exporter: 0.7.0 -> 0.8.0, bind: add json_c support (#489588) 2026-06-20 16:40:53 +00:00
Martin Weinelt
8522bee21a scaphandre: drop
Marked broken in 25.05 with no visible progress upstream. In the meantime
its sole maintainer has been dropped, too.
2026-06-14 11:36:19 +02:00
xiaodong.jia
7e4a18608d prometheus-xray-exporter: switch to fork with user metrics working 2026-06-11 23:16:09 +08:00
xiaodong.jia
f07ac86aa7 prometheus-xray-exporter: init at 0.2.0 2026-06-11 19:03:55 +08:00
cinereal
7195e583ce nixos/prometheus-elasticsearch-exporter: init
Add a `services.prometheus.exporters.elasticsearch` module wrapping
`pkgs.prometheus-elasticsearch-exporter`, which also supports OpenSearch.

Credentials are kept out of the process arguments and the store via an
`environmentFile` carrying `ES_USERNAME`/`ES_PASSWORD` or `ES_API_KEY`,
which override any auth embedded in `--es.uri`. Collector toggles go
through the framework's `extraFlags`.

A NixOS test exercises the exporter against a single-node OpenSearch
instance.

Assisted-by: claude-code: claude-opus-4-8 (planning) + claude-sonnet-4-8 (execution)
2026-05-30 09:15:23 +02:00
Florian Klink
27198194e5 Add podocarp/speedtest_exporter package and module (#514624) 2026-05-14 12:36:40 +00:00
Florian Klink
195fce926c Add siebenmann/zfs_exporter package and related module (#514423) 2026-05-07 12:32:10 +00:00
Michael Daniels
2e87c2f8f4 nixos/*: remove unused let bindings
Generated using deadnix (with some manual work); split from #514611.
2026-05-01 20:39:14 -04:00
xiaodong.jia
aa2961d365 nixos/prometheus-exporters: fix missing port for speedtest exporter 2026-04-29 11:07:37 +08:00
xiaodong.jia
7d6226f856 nixos/prometheus-exporters: add speedtest exporter
Introduces the NixOS module for the danopstech speedtest Prometheus exporter.
Exposes serverID and serverFallback options matching the exporter's CLI flags.
2026-04-29 10:38:11 +08:00
xiaodong.jia
c81f000203 nixos/prometheus-exporters: add zfs-siebenmann exporter
Introduces the NixOS module for the Siebenmann ZFS Prometheus exporter.
Exposes depth, fullPath, and pools options matching the exporter's CLI flags.
2026-04-28 22:07:32 +08:00
Aliaksandr
d9a2e3b3c0 nixos/prometheus-exporters/bind: update for bind_exporter 0.8.0
- Change default bindVersion from 'auto' to 'json' (new upstream default)
- Add 'json' and 'xml' to bindVersion enum options
- Remove deprecated 'xml.v2' option (dropped in 0.8.0)
2026-04-24 19:34:42 +03:00
Sandro
f368a8ff21 nixos/prometheus: remove absolute path literals (#511569) 2026-04-23 23:22:01 +00:00
Vladimír Čunát
9cadaf6932 staging-next 2026-04-07 (#507470) 2026-04-22 15:21:43 +02:00
Ilan Joselevich
617306490c Revert "nixos/prometheus-exporters: add socketOpts and use for node-exporter & postfix-exporter" 2026-04-21 10:18:30 +01:00
Ameer Taweel
cf3e31dcf0 nixos/prometheus: remove absolute path literals 2026-04-20 07:01:12 +00:00
nixpkgs-ci[bot]
66be93a062 Merge master into staging-next 2026-04-17 00:31:43 +00:00
Ilan Joselevich
9abcb29cd4 nixos/prometheus-postfix-exporter: use socket activation
Run postfix_exporter with `--web.systemd-socket` and move the
listen-address/port configuration into a companion `.socket` unit.
2026-04-16 20:56:42 +01:00
Ilan Joselevich
6a7bcd4fbb nixos/prometheus-node-exporter: use socket activation
Run node_exporter with `--web.systemd-socket` and move the
listen-address/port configuration into a companion `.socket` unit.

Closes https://github.com/NixOS/nixpkgs/issues/510379
2026-04-16 20:56:37 +01:00
Ilan Joselevich
2737d78336 nixos/prometheus-exporters: add socketOpts to the exporter interface
Allows individual exporter modules to describe an accompanying
`systemd.sockets.prometheus-${name}-exporter` unit alongside their
service, enabling socket activation support.
2026-04-16 20:50:11 +01:00
K900
48a8193e0b Merge remote-tracking branch 'origin/master' into staging-next 2026-04-14 23:11:24 +03:00
Sandro
dd3c980161 prometheus-fail2ban-exporter: init at 0.10.3, nixos/prometheus-exporters/fail2ban: init (#494160) 2026-04-14 12:37:14 +00:00
nixpkgs-ci[bot]
558c8fab8e Merge master into staging-next 2026-04-13 15:02:49 +00:00
Sandro
22dc11970e prometheus-frr-exporter: fix group (#490851) 2026-04-13 12:43:56 +00:00
nixpkgs-ci[bot]
e00f983711 Merge staging-next into staging 2026-04-06 12:18:40 +00:00
Tom Herbers
c5ea578e33 nixos/prometheus-exporters/rspamd: drop
Rspamd has an builtin /metrics endpoint which can be used instead.
2026-04-05 22:58:48 +02:00
nixpkgs-ci[bot]
566141b86e Merge staging-next into staging 2026-04-05 18:11:22 +00:00
Ananth Bhaskararaman
42b7af82a5 nixos/prometheus-libvirt-exporter: add libvirtd group
Add the libvirtd group to the exporter's user so it can access the
libvirt socket.
2026-04-04 00:51:27 +05:30
Ananth Bhaskararaman
e50595fdff nixos/prometheus-libvirt-exporter: fix systemd socket restrictions
Allow AF_UNIX, AF_INET, and AF_INET6 address families so the exporter
can connect to the libvirt socket and serve HTTP metrics.
2026-04-04 00:51:27 +05:30
Ananth Bhaskararaman
a517010c3c nixos/prometheus-exporters: remove unused imports
Remove foldl, maintainers, optional, and mkOptionDefault from the
inherit list as they are not used.
2026-04-04 00:51:27 +05:30
nixpkgs-ci[bot]
5353803aef Merge staging-next into staging 2026-03-24 00:22:06 +00:00
Alvar Penning
6d7364a370 maintainers: remove oxzi 2026-03-23 21:16:43 +01:00
Victor Engmark
c4f5dfad0d treewide: Remove continuation escape at end of commands
To avoid confusion and spurious newlines in the output.

Found by searching for a backslash followed by a newline, some
indentation, and then the end of multi-line string marker, using the
following extended regex:

```regex
\\\n +'';
```
2026-03-17 16:47:55 +01:00
Bart Oostveen
b6456d64fa nixos/prometheus-exporters/fail2ban: init 2026-03-09 16:26:02 +01:00
zowoq
718915dd0a nixos/prometheus: don't create empty rule files (#483295) 2026-02-26 08:36:32 +00:00
emilylange
608565bbc9 nixos/prometheus: fix cfg.enableAgentMode
Since Prometheus v3.0.0, the flag to run Prometheus in the Agent mode is
called --agent instead of --enable-feature=agent.

See https://prometheus.io/docs/prometheus/3.9/migration/
and https://prometheus.io/docs/prometheus/3.9/prometheus_agent/
2026-02-16 20:56:13 +01:00
Nico Felbinger
936facddd3 prometheus-frr-exporter: fix group 2026-02-15 23:39:41 +01:00
Sandro
9c70851871 nixos/prometheus-exporters/opnsense: init (#428537) 2026-02-02 11:57:18 +00:00
Pavel Roskin
ef1496174e nixos/prometheus: don't create empty rule files 2026-01-24 00:14:21 -08:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
NAHO
a2ed7e8d88 nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
weriomat
bd3ff3d066 nixos/prometheus-exporter-borgmatic: respect the listenAddress
Support for this option was added in
[0.4.0](1e73733c68).
2025-12-29 17:27:42 +01:00
r-vdp
ec6a9ab214 nixos/prometheus-exporters-deluge: replace activation script by LoadCredential 2025-12-22 20:24:11 +02:00
Jonathan Davies
e1e7ee899e nixos/prometheus: Enable CapabilityBoundingSet hardening 2025-12-17 09:39:06 +00:00
Jonathan Davies
46ce9a461e nixos/prometheus: Use lib.getExe for systemd exec path 2025-12-17 09:39:04 +00:00