pennae
ce319f60ad
nixos/prometheus/exporters: convert manual chapter to MD
2023-01-10 10:31:57 +01:00
Enno Richter
ed060ff92b
prometheus-exporters: update rspamd exporter for prometheus-json-exporter >=0.5.0
2023-01-02 06:36:22 +01:00
Yannick Markus
060f0dd496
nixos/alertmanager: add checkConfig option
2022-12-21 12:29:48 +01:00
Sandro
bf46d7b626
Merge pull request #172084 from priegger/prometheus-statsd-exporter
2022-12-19 23:16:02 +01:00
figsoda
6bb0dbf91f
nixos: fix typos
2022-12-17 19:31:14 -05:00
Shawn8901
6e530b9eda
prometheus: Adds an option for web.config.file which can specity settings including authorization.
2022-12-15 10:14:42 +01:00
Shawn8901
470247d433
prometheus: Use yaml format generator instaed json for prometheus.yml
...
Additionally remove an unused variable
2022-12-15 10:11:25 +01:00
Bobby Rong
9015c9f389
Merge pull request #205525 from SuperSandro2000/prometheus2
...
nixos/alertmanager: fix renamed option
2022-12-12 18:08:36 +08:00
Sandro Jäckel
a49606696e
nixos/alertmanager: fix renamed option
2022-12-10 20:11:18 +01:00
Martin Weinelt
fdcc9e8202
nixos/prometheus.exporters.smartctl: Simplify DeviceAllow logic
...
Setting up the DeviceAllow list with explicitly configured devices was a
nice idea, but sometimes a configured device (`/dev/nvme0n1` an NVMe
namespace) has a parent device (`/dev/nvme0`) that smartctl needs to
access to query metrics.
Falling back to the block and character definitions is probably a valid
fallback.
2022-12-09 01:40:01 +01:00
Sergey Lukjanov
a49feed255
nixos/prometheus.exporters.smartctl: use cli args instead of config
...
Config support was dropped and replaced with CLI args
2022-12-08 15:31:33 -08:00
Jeff Slight
61840f7181
nixos/prometheus: Add new relabel_configs actions
...
The relabel_configs option for scrape_configs is missing two options: lowercase and uppercase
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
2022-12-07 15:22:04 -08:00
Daniel Nagy
ad866e565d
treewide: switch to port type for nixos modules
2022-12-08 00:00:00 +01:00
Luke Granger-Brown
c7918fed9e
nixos/prometheus/unifi-poller: rename to unpoller.
2022-12-03 20:12:54 +00:00
Sandro
068e7cb340
Merge pull request #201817 from jhh/nut-exporter
2022-12-03 02:22:48 +01:00
Daniel Nagy
dbe8182e74
treewide: switch to port type for nixos modules
2022-12-01 22:30:00 +01:00
Sandro
03b9249971
Merge pull request #202087 from Shawn8901/pve-load-credential
2022-11-28 23:17:26 +01:00
Jeff Hutchison
a587e528c5
Add prometheus-nut-exporter module
2022-11-24 07:50:09 -05:00
Mathieu Fenniak
eed28ead0c
Workaround for upstream crash when !datadog
2022-11-23 12:58:07 -07:00
Mathieu Fenniak
e7f761fe60
Fix executable name
2022-11-23 10:31:46 -07:00
Shawn8901
5ed08d83f7
nixos/prometheus-pve-exporter: Use LoadCredentials to make configFiles readable to DynamicUser
2022-11-21 20:20:50 +01:00
Franz Pletz
8cc2dcce7d
Merge pull request #199524 from ymarkus/zfs-exporter
...
nixos/prometheus-zfs-exporter: init
2022-11-11 02:01:13 +01:00
Franz Pletz
286f868a5c
Merge pull request #162057 from jdheyburn/jdheyburn-unifi-prometheus-exporter-loki
2022-11-11 01:31:41 +01:00
Franz Pletz
8e9f00682d
nixos/prometheus-zfs-exporter: mdDoc descriptions
2022-11-11 01:29:10 +01:00
Daniel Nagy
b4674b39c1
treewide: use mkEnableOption
in nixos modules
2022-11-10 09:30:00 +01:00
Daniel Nagy
095269c862
treewide: use types.port
in nixos modules
2022-11-10 09:30:00 +01:00
Maximilian Bosch
dcb32beda0
nixos/prometheus: fix startup w/hardened service
...
See the discussion below the original PR[1] and #197443 for more
context.
I guess I missed that upon review because the branch was too old and I
cherry-picked the commit onto my deployment branch which is based on
22.05. Sorry for that!
[1] https://github.com/NixOS/nixpkgs/pull/162784#issuecomment-1306848036
2022-11-08 17:46:35 +01:00
Maximilian Bosch
58227c4de0
Merge pull request #162784 from amarshall/prom-svc-harden
...
nixos/prometheus: Harden systemd service
2022-11-07 15:03:43 +01:00
Yannick Markus
50f308b059
nixos/prometheus-zfs-exporter: init
2022-11-04 14:43:01 +01:00
KFears
b3782f29ff
nixos/prometheus-node-exporter: fix netdev collect
...
Netdev collector needs AF_NETLINK permissions to work. It will fail with
the message "couldn't get netstats: socket: address family is not
supported by protocol" otherwise.
2022-10-30 14:59:05 +04:00
Martin Weinelt
96d7f29087
Merge pull request #176553 from MalteT/fix/smartctl-exporter-override
2022-10-27 15:50:54 +02:00
MidAutumnMoon
afb8d0e5a6
nixos/prometheus-smartctl: set proper SystemCallFilter
2022-10-25 16:47:09 +08:00
Jared Baur
5d79c93d77
nixos/prometheus-kea-exporter: Fix ExecStart
arguments
...
The current `ExecStart` will not allow for multiple sockets to properly
be passed to the program since the extra newline character is interpreted to
be part of the socket path.
2022-10-12 20:39:09 -07:00
Martin Weinelt
b76d66b4fd
nixos/sachet: replace literalExample with literalExpression
2022-09-29 21:13:50 -04:00
pennae
d98322834b
nixos/*: fix docbook deprecation notices
...
mostly no rendering changes except in buildkite, which used markdown
where docbook was expected without marking up its markdown.
2022-09-10 18:23:13 +02:00
Ivv
ac5e7351d1
Merge pull request #188754 from snaar/prometheus-ipmi
...
nixos/services.prometheus.exporters.ipmi: new module along with underlying ipmi_exporter package
2022-09-08 21:39:49 +02:00
Sandro
2f54aad5e6
Merge pull request #156813 from JQ-Networks/master
2022-09-04 14:32:13 +02:00
snaar
866d977212
nixos/services.prometheus.exporters.ipmi: new module
...
Bringing in new https://github.com/prometheus-community/ipmi_exporter exporter into existing Prometheus exporters framework.
2022-09-03 10:56:04 -04:00
pennae
1d41cff3dc
nixos/*: convert straggler options to MD
2022-08-31 17:27:38 +02:00
pennae
f2ea09ecbe
nixos/*: convert options with listings
...
minor rendering changes.
2022-08-31 17:27:36 +02:00
pennae
ef176dcf7e
nixos/*: automatically convert option descriptions
...
conversions were done using https://github.com/pennae/nix-doc-munge
using (probably) rev f34e145 running
nix-doc-munge nixos/**/*.nix
nix-doc-munge --import nixos/**/*.nix
the tool ensures that only changes that could affect the generated
manual *but don't* are committed, other changes require manual review
and are discarded.
2022-08-31 16:32:53 +02:00
pennae
169072fb60
nixos/prometheus: convert option descriptions to MD
...
this notable also now interprets a markdown-flavored list in
triton_sd_config as actual markdown and renders it differently, but this
is arguably for the better (and probably the original intention).
no other rendering changes.
2022-08-27 19:18:29 +02:00
pennae
97b6defb7b
nixos/prometheus: turn markdown in docbook
...
there seems to be a lot of markdown in the prometheus module that
should've been docbook instead. temporarily convert it to docbook to
keep the diff for the docbook->md conversion of prometheus inspectable.
2022-08-27 19:18:29 +02:00
Gauvain 'GovanifY' Roussel-Tarbouriech
f7e49fae0d
nixos/prometheus.sachet: add module
2022-08-27 12:41:54 -04:00
Curtis Jiang
d8bb7ec120
prometheus-v2ray-exporter: init at 0.6.0
2022-08-24 22:35:00 +00:00
pennae
6039648c50
nixos/*: automatically convert option docs
2022-08-19 22:40:58 +02:00
pennae
7e7d68a250
nixos/*: mark pre-existing markdown descriptions as mdDoc
2022-08-19 22:40:58 +02:00
pennae
b0e56acef9
nixos/*: remove links to options in code blocks
...
markdown simply cannot represent these. would be nice to have, but
it'll have to happen some other way (if at all).
2022-08-19 22:40:58 +02:00
pennae
e4ed177f82
nixos/* eliminate inner whitespace in tags that was missed earlier
...
nix-doc-munge won't match tags that contain newlines anywhere. most of
these have already been removed, but a few obviously made it through.
2022-08-19 22:40:58 +02:00
pennae
8f8e101527
nixos/*: normalize <package> to <literal>
...
this renders the same in the manpage and a little more clearly in the
html manual. in the manpage there continues to be no distinction from
regular text, the html manual gets code-type markup (which was probably
the intention for most of these uses anyway).
2022-08-19 22:40:58 +02:00