Maximilian Bosch
501bbad4ce
Merge pull request #182104 from mayflower/mail-exporter-secrets
...
nixos/prometheus-mail-exporter: support storing `passphrase` outside of the store, use umask when using envsubst
2022-07-20 20:42:14 +02:00
Maximilian Bosch
92bd77e85e
nixos/prometheus-mail-exporter: umask to avoid accidental world-readability
2022-07-20 20:29:38 +02:00
Maximilian Bosch
39c0694709
nixos/prometheus-mail-exporter: support storing passphrase
outside of the store
2022-07-19 17:32:08 +02:00
Wout Mertens
3ee8d4c909
netdata module: fix ExecStartPost ( #181976 )
2022-07-19 06:19:18 +02:00
Wout Mertens
7f55ee3a53
netdata: fix post start for module
2022-07-15 09:57:13 +02:00
Martin Weinelt
0044b4fa22
Merge pull request #180950 from alyssais/graphite
2022-07-10 17:22:45 +02:00
Martin Weinelt
f8137a54eb
Merge pull request #153445 from erdnaxe/prometheus_protecthome
...
nixos/prometheus-node-exporter: do not protect home
2022-07-10 17:21:44 +02:00
Alyssa Ross
1f18d44106
python3.pkgs.graphite_api: remove
...
Due to lack of maintenance. It doesn't build, the last upstream
commit was in 2017, and last significant change in Nixpkgs was in
2018.
2022-07-10 09:46:20 +00:00
Alyssa Ross
ada1d87767
python3.pkgs.graphite_beacon: remove
...
Due to lack of maintenance. It is not compatible with the default
Python version (due to the tornado 5) dependency, and doesn't look
like it will be any time soon.
2022-07-10 09:17:23 +00:00
Kim Lindberger
8b404a1617
Merge pull request #177783 from talyz/parsedmarc-secrets
...
parsedmarc, geoipupdate: Improve secrets handling and more
2022-06-27 15:26:10 +02:00
Maximilian Bosch
5ab65d9cd1
nixos/prometheus-postfix-exporter: fixes for systemd integration
...
* Allow the service to read from the journal w/systemd.enable
* Ensure that the service is started after postfix.service
2022-06-20 19:30:59 +02:00
Florian Klink
5f297c164e
nixos/grafana-agent: add myself as maintainer
2022-06-19 11:50:32 +02:00
Florian Klink
b09836593e
nixos/grafana-agent: move remote write config from integrations.prometheus_remote_write to metrics.global.remote_write
...
remote_write config in integrations.prometheus_remote_write is only
applied for integrations, so static configurations won't get written
anywhere.
2022-06-19 11:50:32 +02:00
Florian Klink
e578b4d3ed
nixos/grafana-agent: drop server.{grpc,http}_listen_address,http_listen_port
...
According to https://grafana.com/docs/agent/latest/upgrade-guide/#v0240 ,
this has been deprecated/moved to -server.http.address and
-server.grpc.address (accepting ip and port) config options in v0.24.0,
and already listens on localhost and not port 80 by default.
2022-06-19 11:50:31 +02:00
Florian Klink
2cca676e69
nixos/grafana-agent: replace settings.prometheus
with settings.metrics
...
According to https://github.com/grafana/agent/pull/1540 , -prometheus.*
flages were deprecated in 0.19.0 in favor of the -metrics.*
counterparts. Same applies to `loki` being renamed to `logs`.
I'm not sure if the config file format is still supported (it could be),
but we shouldn't use deprecated configs.
2022-06-19 11:50:31 +02:00
talyz
858a0c3fa6
nixos/parsedmarc: Improve secret handling
...
Make secret replacement more robust and futureproof:
- Allow any attribute in `services.parsedmarc.settings` to be a
secret if set to `{ _secret = "/path/to/secret"; }`.
- Hash secret file paths before using them as a placeholders in the
config file to minimize the risk of conflicting file paths being
replaced instead.
2022-06-16 13:58:20 +02:00
talyz
32e057881a
nixos/parsedmarc: Remove kafka support
...
It's broken (see https://github.com/domainaware/parsedmarc/issues/243 )
and providing settings for it is therefore misleading.
2022-06-15 20:15:09 +02:00
talyz
6686a3115c
nixos/parsedmarc: Fix compatibility with recent versions of grafana
2022-06-15 20:15:03 +02:00
zimbatm
31b47913f3
nixos: add grafana-agent module
...
Easily ship logs and metrics to Grafana Cloud and other similar targets.
2022-06-15 12:59:06 +02:00
Maximilian Bosch
7f9a78e197
Merge pull request #175330 from jtojnar/grafana-uid
...
nixos/grafana: Allow setting UID for datasource
2022-06-13 07:01:19 +02:00
Maximilian Bosch
e03d41fb6b
nixos/prometheus-wireguard-exporter: fix broken options
...
This is apparently a breaking change in a patch-level release[1] where
it's now necessary to specify values for each CLI argument.
[1] https://github.com/MindFlavor/prometheus_wireguard_exporter/releases/tag/3.6.1
2022-06-12 20:27:25 +02:00
happysalada
f5ef819e24
mimir: switch pname to mimir
2022-06-07 06:53:15 -04:00
Wout Mertens
7f025e2b34
netdata: started when service can be pinged
2022-06-03 10:45:27 +02:00
Martin Weinelt
02e44ee3be
Merge pull request #174804 from dotlambda/prometheus-dmarc-exporter-no-poetry2nix
2022-06-01 01:46:30 +02:00
Robert Schütz
aff15c41fc
dmarc-metrics-exporter: rename from prometheus-dmarc-exporter
...
Also stop using poetry2nix.
2022-05-31 23:25:18 +00:00
Maximilian Bosch
185ee01e80
Merge pull request #173273 from kfollesdal/grafana-azuread
...
nixos/grafana: add new options to grafana module
2022-05-31 19:24:33 +02:00
Jan Tojnar
81291cc793
nixos/grafana: Allow setting UID for datasource
2022-05-29 19:22:02 +02:00
Jörg Thalheim
d32a2bf207
nixos/mimir: also expose mimirtool to users
2022-05-29 03:49:17 -04:00
Jörg Thalheim
6497902407
nixos/mimir: set workingdirectory
...
Mimir writes files relatative to its working directory.
With this option less files have to be configured.
2022-05-29 03:49:17 -04:00
Kristoffer Føllesdal
298e2ce302
nixos/grafana: add disableLoginForm option
2022-05-18 16:09:04 +02:00
Kristoffer Føllesdal
ea8f7e7bbd
nixos/grafana: add serveFromSubPath option
2022-05-18 16:08:15 +02:00
Cole Helbling
c0723eef37
nixos/prometheus: enable checking syntax only
...
This allows config checking with external files to not fail inside the
sandbox.
2022-05-17 10:45:49 -07:00
Kristoffer Føllesdal
e13ec87217
nixos/grafana: add Azure AD OAuth options
2022-05-16 16:37:02 +02:00
Sandro
befb337461
Merge pull request #169216 from Shawn8901/fix_prometheus_config_generation
...
nixos/prometheus: use pkgs.formats.json.generate to write config file
2022-05-08 15:09:09 +02:00
happysalada
a4707b645f
grafana-mimir: add initial module
2022-04-29 07:23:03 -04:00
ajs124
3fedfb5f8a
Merge pull request #110870 from asymmetric/doc/prom-node-exp
...
docs: modules/prometheus: finish exporter setup
2022-04-18 22:54:01 +01:00
Shawn8901
7f01ff7822
nixos/prometheus: use pkgs.formats.json.generate to write config file
...
The old way of writing the file omited qoutes within strings which are needed by some configurations like federations.
The quotes got lost when `echo`ing the content via `echo '${builtins.toJSON x}'`.
The pkgs.formats.json does handle that race condition properly, so this commit switches the writing to that helper.
2022-04-18 18:09:03 +02:00
pacien
68128e7b7e
nixos/nagios: replace ssmtp package use with msmtp
...
The ssmtp program is not maintained and is being removed.
GitHub: see https://github.com/NixOS/nixpkgs/issues/105710
2022-04-17 00:44:50 +02:00
Lassulus
807b226542
Merge pull request #162777 from amarshall/prom-deprecated-opt
...
nixos/prometheus: Remove upstream-deprecated alertManagerTimeout
2022-04-12 09:07:51 +01:00
Andrew Marshall
3bbfc7849e
nixos/prometheus: Remove upstream-deprecated alertManagerTimeout
...
When started, Prometheus prints:
> The flag --alertmanager.timeout has no effect and will be removed in
> the future.
See also
2316062d4e
2022-04-11 23:37:33 -04:00
Guillaume Girol
44a3d91e5f
nixos/collectd: put extraconfig before plugins
...
this is necessary to override the global option Interval.
If set after the plugins, it has no effect.
2022-04-03 17:25:26 +02:00
Florian Klink
c57c5c42a4
prometheus-bird-exporter: update birdSocket default path
...
a5276e1fbd
updated bird to use
/run/bird/bird.ctl, but didn't update the default used for
prometheus-bird-exporter.
Reported-In: https://github.com/NixOS/nixpkgs/pull/161193#issuecomment-1086228985
2022-04-01 22:59:48 +02:00
Martin Weinelt
35b3c26351
Merge pull request #164533 from mweinelt/kea-exporter-after-kea
...
nixos/prometheus-exporters/kea: wait for kea
2022-03-30 00:03:03 +02:00
Moritz
9f715a3d31
nixos/grafana: Add foldersFromFilesStructure option for dashboard provisioning ( #132348 )
2022-03-29 10:53:39 +02:00
Janne Heß
a34c788e30
Merge pull request #163230 from helsinki-systems/feat/misc-prometheus-varnis
...
nixos/prometheus/exporters/varnish: improve some defaults
2022-03-26 18:32:30 +01:00
Martin Weinelt
8b7ca8bdcb
nixos/prometheus-exporters/kea: wait for kea
...
Fixes race conditions like this:
> systemd[1]: Started prometheus-kea-exporter.service.
> kea-exporter[927]: Listening on http://0.0.0.0:9547
> kea-exporter[927]: Socket at /run/kea/dhcp4.sock does not exist. Is Kea running?
> systemd[1]: prometheus-kea-exporter.service: Main process exited, code=exited, status=1/FAILURE
2022-03-17 03:27:21 +01:00
Maximilian Bosch
0c5586c2f2
Merge pull request #162254 from Ma27/init-dmarc-exporter
...
prometheus-dmarc-exporter: init at 0.5.1
2022-03-14 09:02:08 +01:00
Martin Weinelt
76721f5e5e
Merge pull request #159986 from NukaDuka/pve_exporter
2022-03-10 22:41:45 +01:00
pennae
06c57317c2
Merge pull request #146653 from DarkDNA/nixos/fix-systemd-exporter/extraFlags
...
nixos/prometheus/systemd: Implement the extraFlags config option.
2022-03-09 16:12:32 +00:00
ajs124
a28591680b
nixos/prometheus/exporters/varnish: improve some defaults
2022-03-08 01:42:27 +01:00