Maximilian Bosch
22b61e5263
nixos/prometheus/exporters: fix eval if only openFirewall = true;
is set
...
If `openFirewall = true`, but no `firewallFilter` is set, the evaluation
fails with the following error:
The option `services.prometheus.exporters.node.firewallFilter` is defined both null and
not null, in `/home/ma27/Projects/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix'
and `/home/ma27/Projects/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix'.
Originally introduced by me in #115185 . The problem is that
`mkOptionDefault` has - as its name suggests - the same priority as the
default-value of the option `firewallFilter` and thus it conflicts if
this declaration and the actual default value are set which is the case
if `firewallFilter` isn't specified somewhere else.
2021-03-13 15:21:55 +01:00
WilliButz
3971cda05f
Merge pull request #116037 from petabyteboy/feature/jitsi-exporter
...
prometheus-jitsi-exporter: init at 0.2.18
2021-03-13 13:37:10 +01:00
Milan Pässler
b2bebd7cd5
nixos/prometheus-jitsi-exporter: init
2021-03-12 11:11:16 +01:00
WilliButz
f5c01cf9d4
Merge pull request #113370 from chkno/prometheus-systemd-exporter-no-flags
...
prometheus-systemd-exporter: Init at 0.4.0
2021-03-11 19:18:29 +01:00
WilliButz
3ceef8186c
Merge pull request #115185 from Ma27/knot-exporter
...
prometheus-knot-exporter: init at 2021-01-30; minor module improvements
2021-03-11 18:58:59 +01:00
WilliButz
902a479225
Merge pull request #111364 from lbpdt/feature/prometheus-artifactory-exporter
...
nixos/prometheus-exporters/artifactory: init at 1.9.0
2021-03-11 18:44:03 +01:00
Robert Schütz
6692b32105
Merge pull request #112125 from dotlambda/alerta
...
alerta: move to all-packages.nix and use buildPythonApplication
2021-03-08 10:09:30 +01:00
Maximilian Bosch
2838365903
nixos/prometheus/exporters: assert that openFirewall
is true
if firewallFilter
is declared
2021-03-05 13:35:16 +01:00
Maximilian Bosch
b4bd584b64
nixos/prometheus/exporters/knot: init
2021-03-05 13:13:46 +01:00
Maximilian Bosch
d65d9dea2c
nixos/prometheus/exporters: use types.port
for port
option
2021-03-05 13:06:03 +01:00
Milan Pässler
507b66a5e5
nixos/grafana: create directory for notifiers provisioning
2021-03-03 20:11:25 +01:00
Isaac van Bakel
3e4499519d
Add trailing periods to all Grafana option descriptions
2021-03-03 03:59:39 -05:00
Isaac van Bakel
f689b8a65f
Add notifier configs to grafana provisioning
...
Similar to dashboards and datasources, notifiers in Grafana can also be
provisioned. This adds them to the Grafana service definition.
2021-03-03 03:59:39 -05:00
Robert Schütz
336c114214
alerta: move to all-packages.nix and use buildPythonApplication
2021-02-28 12:25:52 +01:00
Robert Schütz
3fcd9361b5
alerta-server: move to all-packages.nix and use buildPythonApplication
2021-02-28 12:25:47 +01:00
Matthew Bauer
c168e05c7e
Merge pull request #86239 from tathougies/patch-2
...
[nixos/prometheus] promTypes.filter.value -> promTypes.filter.values
2021-02-26 19:28:18 -06:00
Chuck
83de9e2d12
prometheus-systemd-exporter: Init at 0.4.0
2021-02-18 09:56:45 -08:00
Louis Blin
458fafa8fc
nixos/prometheus-exporters/artifactory: init at 1.9.0
...
Adds a Prometheus exporter to scrape metrics from the API of JFrog
Artifactory instances.
2021-02-11 15:56:58 +00:00
Finn Behrens
92859ff489
nixos/prometheus-flow-exporter: init module
2021-02-10 14:29:05 +01:00
Logan Glasson
c6ec272c78
nixos/prometheus-nginx-exporter: only create service if nginx exporter is enabled
...
On a system with nginx enabled but the prometheus exporter not enabled,
the prometheus-nginx-exporter service should not be created.
2021-02-08 13:17:56 +13:00
Bas van Dijk
8ac4b251c8
nixos: use functionTo to prevent evaluation errors while merging
...
Without this patch merging options like
services.xserver.windowManager.xmonad.extraPackages
results in the evaluation error:
error: value is a list while a set was expected, at nixpkgs/lib/options.nix:77:23
With this patch we get the desired merging behaviour that just concatenates the
resulting package lists.
(cherry picked from commit 6e99f9fdecb1f28308c8e0aed0fc851737354864)
Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2021-01-24 17:18:37 +01:00
volth
bc0d605cf1
treewide: fix double quoted strings in meta.description
...
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Maximilian Bosch
2abfc93a68
nixos/grafana-image-renderer: typo fix
...
Since the service doesn't do a strict config check, this worked fine
before, however the settings in the block never applied properly.
2021-01-18 18:44:58 +01:00
WilliButz
254b510ce7
nixos/promtheus-nextcloud-exporter: update module and test
...
Use new command-line flags of release 0.3.0 and always answer with the
expected XML in the VM test instead of using a test-specific fixed path.
Co-authored-by: ajs124 <git@ajs124.de>
2021-01-17 15:25:18 +01:00
Phillip Cloud
cbe4de90af
nixos/prometheus: remove unnecessary whitespace
2021-01-10 13:09:47 -05:00
Phillip Cloud
53796fd70f
nixos/prometheus: improve the tag_separator description
2021-01-10 13:08:48 -05:00
Phillip Cloud
de96ffeb1c
nixos/prometheus: use types.port for metrics port type
2021-01-10 13:08:48 -05:00
Phillip Cloud
cad83fc596
nixos/prometheus: add cloud to refresh_interval description
2021-01-10 13:08:48 -05:00
Phillip Cloud
7958dbb8a7
nixos/prometheus: add gce_sd_configs scrapeConfig option
2021-01-10 13:08:47 -05:00
Maximilian Bosch
3b57908018
Merge pull request #108179 from WilliButz/update/prometheus-json-exporter/0.2.0
...
prometheus-json-exporter: unstable-2017-10-06 -> 0.2.0
2021-01-03 19:28:12 +01:00
Maximilian Bosch
6e43cc7fb0
nixos/prometheus-exporters: minor doc improvements
...
* Content of `programlisting` shouldn't be indented, otherwise it's
weirdly indented in the output.
* Use `<xref linkend=.../>` in the release notes: then users can
directly go to the option documentation when reading release notes.
* Don't use docbook tags in `mkRemovedOptionModule`: it's only used
during evaluation where docbook isn't rendered.
2021-01-03 19:04:33 +01:00
Phillip Cloud
287939e2ed
nixos/prometheus: update relabel_action list
2021-01-03 11:01:30 -05:00
WilliButz
3f94c66ee1
nixos/prometheus-json-exporter: update modules & tests, add release notes
2021-01-02 13:10:27 +01:00
WilliButz
5e9d92c839
Merge pull request #108142 from Ma27/grafana-img-renderer
...
grafana-image-renderer: init at 2020-12-01
2021-01-01 19:19:51 +01:00
Maximilian Bosch
ca2a67549d
nixos/grafana-image-renderer: init
2021-01-01 19:19:11 +01:00
WilliButz
0587d518db
Merge pull request #107891 from lukegb/smokeping-prober
...
prometheus-smokeping-prober: init at 0.3.1 from git
2021-01-01 16:08:20 +01:00
WilliButz
15c7a0eb18
Merge pull request #108067 from 0x4A6F/master-prometheus-service
...
nixos/prometheus: fix remote_{read,write} options
2021-01-01 16:04:06 +01:00
WilliButz
2b04b8817e
Merge pull request #108096 from lukegb/bird-exporter
...
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 16:03:37 +01:00
0x4A6F
06414886f1
nixos/prometheus: fix remote_{read,write} options
...
Fix and reorder options and use mkOpt for optional parameters,
according to official documentation.
2021-01-01 14:43:51 +00:00
Luke Granger-Brown
699e402705
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 04:43:59 +00:00
Luke Granger-Brown
d0a9e1ec83
nixos/grafana: add support for declarative plugin installation
2020-12-30 17:59:52 +00:00
Luke Granger-Brown
3297ac72f1
nixos/prometheus: add smokeping and corresponding NixOS test
2020-12-29 18:59:51 +00:00
0x4A6F
c53a0c16e4
nixos/prometheus: remote_{read,write}
...
- add [remote_write](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write ) and [remote_read](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_read ) support
Co-authored-by: Yorick van Pelt <yorickvanpelt@gmail.com>
2020-12-29 14:48:57 +00:00
Maximilian Güntner
65fd031277
nixos: add prometheus_nginxlog_exporter module + test
2020-12-21 21:23:39 +01:00
Matej Urbas
4970fbedbc
nixos/prometheus-exporters/py-air-control: invoke exporter command
...
Package `py-air-control exporter` v0.1.5 comes with a new CLI. This change uses the new CLI (which simplifies the exporter's systemd service setup).
2020-12-12 20:19:54 +00:00
Matej Urbas
4948743705
nixos/prometheus-exporters/py-air-control: init
2020-12-10 19:02:30 +00:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux
2020-11-24 12:42:06 -05:00
Jörg Thalheim
0f84e08fcd
nixos/telegraf: make example a bit more compact
2020-11-18 21:41:58 +01:00
Jörg Thalheim
69caedcc42
nixos/telegraf: null value for environmentFiles is invalid
...
it's also not needed given that empty list covers all use cases.
2020-11-18 21:41:55 +01:00
Jörg Thalheim
7534d92648
nixos/telegraf: allow multiple env files
2020-11-14 16:33:50 +01:00