Alberto Berti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e17b464a43 
							
						 
					 
					
						
						
							
							Fix alertmanager service definition. Thanks to @eonpatapon  
						
						 
						
						
						
						
					 
					
						2019-03-25 14:36:45 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alberto Berti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1b6ce80c2b 
							
						 
					 
					
						
						
							
							Make it pass a minimal test  
						
						 
						
						
						
						
					 
					
						2019-03-25 14:36:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alberto Berti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							11b89720b7 
							
						 
					 
					
						
						
							
							Add prometheus2 configuration to the prometheus modules  
						
						 
						
						... 
						
						
						
						As the configuration for the exporters and alertmanager is unchanged
between the two major versions this patch tries to minimize
duplication while at the same time as there's no upgrade path from 1.x
to 2.x, it allows running the two services in parallel. See also #56037  
						
						
					 
					
						2019-03-25 14:36:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Childs 
							
						 
					 
					
						
						
						
						
							
						
						
							c53703a6b2 
							
						 
					 
					
						
						
							
							nixos/prometheus: use append instead of insert for opening firewalls ( #55224 )  
						
						 
						
						... 
						
						
						
						Inserting with `-I` causes the rules to placed before `ctstate`
tracking, while `-A` places them alongside all other allow rules. 
						
						
					 
					
						2019-03-13 12:44:36 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tom F 
							
						 
					 
					
						
						
						
						
							
						
						
							9f07fa719c 
							
						 
					 
					
						
						
							
							Document the addresses Alertmanager will listen on ( #56409 )  
						
						 
						
						... 
						
						
						
						https://github.com/golang/go/issues/9334  describes how net.Listen (as used by Alertmanager):
* listens on 127.0.0.1 if the listenAddress is "localhost"
* listens on all interfaces if the listenAddress is "" 
						
						
					 
					
						2019-02-26 14:59:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Symphorien Gibol 
							
						 
					 
					
						
						
						
						
							
						
						
							a915b33315 
							
						 
					 
					
						
						
							
							nixos: add preferLocalBuild=true; on derivations for config files  
						
						 
						
						
						
						
					 
					
						2019-02-22 20:11:27 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Silvan Mosberger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7222fd9e21 
							
						 
					 
					
						
						
							
							Merge pull request  #53986  from Ma27/document-dovecot-prometheus-exporter-issues  
						
						 
						
						... 
						
						
						
						nixos/prometheus-dovecot-exporter: enhance `socketPath` documentation 
						
						
					 
					
						2019-01-24 00:17:20 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Maximilian Bosch 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ca72dbd125 
							
						 
					 
					
						
						
							
							nixos/prometheus-dovecot-exporter: enhance socketPath documentation  
						
						 
						
						... 
						
						
						
						In Dovecot 2.3[1] the stats module changed and now the UNIX socket
provided by Dovecot by default isn't compatible anymore with the
exporter[2]. By enabling the `old-stats` plugin in Dovecot this issue
can be solved which should be documented in this module.
[1] https://wiki2.dovecot.org/Upgrading/2.3 
[2] https://github.com/kumina/dovecot_exporter/issues/8  
						
						
					 
					
						2019-01-23 23:51:48 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Maximilian Bosch 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							003132c2dd 
							
						 
					 
					
						
						
							
							nixos/prometheus: make source_labels optional  
						
						 
						
						... 
						
						
						
						It's possible to skip `source_labels` entirely, an example for this is
the blackbox exporter configuration:
https://github.com/prometheus/blackbox_exporter#prometheus-configuration  
						
						
					 
					
						2019-01-16 14:01:43 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jean-Philippe Braun 
							
						 
					 
					
						
						
						
						
							
						
						
							4f99f8d2cb 
							
						 
					 
					
						
						
							
							nixos/prometheus-bind-exporter: add module  
						
						 
						
						
						
						
					 
					
						2019-01-03 21:14:21 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pierre Bourdon 
							
						 
					 
					
						
						
						
						
							
						
						
							3873f43fc3 
							
						 
					 
					
						
						
							
							prometheus/exporters: fix regression in DynamicUser behavior  
						
						 
						
						... 
						
						
						
						Instead of setting User/Group only when DynamicUser is disabled, the
previous version of the code set it only when it was enabled. This
caused services with DynamicUser enabled to actually run as nobody, and
services without DynamicUser enabled to run as root.
Regression from fbb7e0c82f297815950e9153c21e561a704bfcd5. 
						
						
					 
					
						2018-12-05 11:26:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pierre Bourdon 
							
						 
					 
					
						
						
						
						
							
						
						
							199b4c4743 
							
						 
					 
					
						
						
							
							prometheus/exporters/tor: make CPython happy by defining $HOME  
						
						 
						
						
						
						
					 
					
						2018-12-05 11:26:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andreas Rammhold 
							
						 
					 
					
						
						
						
						
							
						
						
							51c3082119 
							
						 
					 
					
						
						
							
							nixos/prometheus: require one alertmanager configuration parameter  
						
						 
						
						... 
						
						
						
						This commit adds an assertion that checks that either `configFile` or
`configuration` is configured for alertmanager. The alertmanager config
can not be an empty attributeset. The check executed with `amtool` fails
before the service even has the chance to start. We should probably not
allow a broken alertmanager configuration anyway.
This also introduces a test for alertmanager configuration that piggy
backs on the existing prometheus tests. 
						
						
					 
					
						2018-11-23 19:45:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andreas Rammhold 
							
						 
					 
					
						
						
						
						
							
						
						
							b1032db5a9 
							
						 
					 
					
						
						
							
							nixos/prometheus: check alertmanager configuration  
						
						 
						
						
						
						
					 
					
						2018-11-23 19:45:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andreas Rammhold 
							
						 
					 
					
						
						
						
						
							
						
						
							d1ef00ebee 
							
						 
					 
					
						
						
							
							nixos/prometheus: add package option to alertmanager  
						
						 
						
						
						
						
					 
					
						2018-11-23 19:45:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andreas Rammhold 
							
						 
					 
					
						
						
						
						
							
						
						
							6795bdd58c 
							
						 
					 
					
						
						
							
							nixos/prometheus: check configuration before starting service  
						
						 
						
						... 
						
						
						
						With `promtool` we can check the validity of a configuration before
deploying it. This avoids situations where you would end up with a
broken monitoring system without noticing it - since the monitoring
broke down. :-) 
						
						
					 
					
						2018-11-04 15:08:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andreas Rammhold 
							
						 
					 
					
						
						
						
						
							
						
						
							0de150e0f2 
							
						 
					 
					
						
						
							
							nixos/prometheus: add package option  
						
						 
						
						... 
						
						
						
						With a package option we can let the user decide what package to use for
prometheus without requiring an overlay. 
						
						
					 
					
						2018-11-04 15:08:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pierre Bourdon 
							
						 
					 
					
						
						
						
						
							
						
						
							cf58856d90 
							
						 
					 
					
						
						
							
							nixos/prometheus: add webExternalUrl option  
						
						 
						
						... 
						
						
						
						Similar to the prometheus.alertmanager.webExternalUrl option, but for
Prometheus itself. 
						
						
					 
					
						2018-10-20 13:45:55 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pierre Bourdon 
							
						 
					 
					
						
						
						
						
							
						
						
							86d644f8cc 
							
						 
					 
					
						
						
							
							prometheus-tor-exporter: init at 0.3  
						
						 
						
						... 
						
						
						
						Upstream: https://github.com/atx/prometheus-tor_exporter  
						
						
					 
					
						2018-10-13 10:10:29 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fbb7e0c82f 
							
						 
					 
					
						
						
							
							nixos/prometheus-exporters: fix unapplied service config  
						
						 
						
						... 
						
						
						
						Prior to this commit, the default values for `Restart`, `PrivateTmp` and
`WorkingDirectory` were falsely ignored.
I also added myself as maintainer. 
						
						
					 
					
						2018-10-08 17:21:49 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							24320f4a9e 
							
						 
					 
					
						
						
							
							nixos/prometheus-varnish-exporter: avoid crash on restart  
						
						 
						
						
						
						
					 
					
						2018-10-08 17:21:48 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Andrew Childs 
							
						 
					 
					
						
						
						
						
							
						
						
							c477d6658c 
							
						 
					 
					
						
						
							
							nixos/prometheus-snmp-exporter: fix command line argument format  
						
						 
						
						
						
						
					 
					
						2018-10-07 11:35:55 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Bauer 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							907afd17f9 
							
						 
					 
					
						
						
							
							Merge pull request  #46068  from azazel75/alertmanager-flags  
						
						 
						
						... 
						
						
						
						Prometheus Alertmanager: Allow the definition of extra options on commandline 
						
						
					 
					
						2018-10-05 22:52:48 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Graham Christensen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8413f22bb3 
							
						 
					 
					
						
						
							
							docs: format  
						
						 
						
						
						
						
					 
					
						2018-09-29 20:51:11 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alberto Berti 
							
						 
					 
					
						
						
						
						
							
						
						
							69e4e4934d 
							
						 
					 
					
						
						
							
							Allow the definition of extra options on commandline  
						
						 
						
						... 
						
						
						
						I stumbled upon an issue with the Alertmanager that required
an additional comand line option. See https://groups.google.com/forum/#!msg/prometheus-users/-5wd-P13xCI/lGLBHHgnBgAJ  
						
						
					 
					
						2018-09-04 23:19:26 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Graham Christensen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34d2ec7c09 
							
						 
					 
					
						
						
							
							nixos docs: give IDs to things  
						
						 
						
						
						
						
					 
					
						2018-09-01 16:20:49 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9216da8928 
							
						 
					 
					
						
						
							
							nixos/prometheus-exporters: use nixos-fw chain  
						
						 
						
						... 
						
						
						
						Use nixos-fw chain instead of INPUT so that the rules don't keep
stacking everytime the firewall is reloaded.
This also adds a comment to each rule about the associated exporter. 
						
						
					 
					
						2018-08-03 13:20:53 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								volth 
							
						 
					 
					
						
						
						
						
							
						
						
							2e979e8ceb 
							
						 
					 
					
						
						
							
							[bot] nixos/*: remove unused arguments in lambdas  
						
						 
						
						
						
						
					 
					
						2018-07-20 20:56:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Florian Klink 
							
						 
					 
					
						
						
						
						
							
						
						
							fff5923686 
							
						 
					 
					
						
						
							
							nixos/modules: users.(extraUsers|extraGroup->users|group)  
						
						 
						
						
						
						
					 
					
						2018-06-30 03:02:58 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matthew Justin Bauer 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc7ea93a47 
							
						 
					 
					
						
						
							
							Merge pull request  #40028  from WilliButz/add-dnsmasq-exporter  
						
						 
						
						... 
						
						
						
						prometheus-dnsmasq-exporter: init at 2018-05-05, add module 
						
						
					 
					
						2018-06-01 23:18:49 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							de5205ae2d 
							
						 
					 
					
						
						
							
							nixos/prometheus-node-exporter: fix file collector  
						
						 
						
						
						
						
					 
					
						2018-05-24 04:40:46 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e2dfac67f7 
							
						 
					 
					
						
						
							
							nixos/promtheus-dnsmasq-exporter: add module  
						
						 
						
						
						
						
					 
					
						2018-05-06 13:58:39 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
						
						
							
						
						
							27eb2859f2 
							
						 
					 
					
						
						
							
							prometheus-nginx-exporter: fix bool to string coercion  
						
						 
						
						
						
						
					 
					
						2018-05-02 16:18:20 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Samuel Leathers 
							
						 
					 
					
						
						
						
						
							
						
						
							78f09c9102 
							
						 
					 
					
						
						
							
							nixos/prometheus-surfboard-exporter: add new module  
						
						 
						
						
						
						
					 
					
						2018-05-02 13:04:34 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
						
						
							
						
						
							cb4c2834ef 
							
						 
					 
					
						
						
							
							nixos/prometheus-varnish-exporter: update module  
						
						 
						
						
						
						
					 
					
						2018-05-01 18:00:53 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
						
						
							
						
						
							de60146f59 
							
						 
					 
					
						
						
							
							nixos/promtheus-nginx-exporter: update module  
						
						 
						
						
						
						
					 
					
						2018-05-01 15:45:48 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3d46165db 
							
						 
					 
					
						
						
							
							nixos/prometheus-postfix-exporter: update module  
						
						 
						
						
						
						
					 
					
						2018-04-19 19:47:13 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
						
						
							
						
						
							01af301443 
							
						 
					 
					
						
						
							
							prometheus-exporters: add dovecot exporter module  
						
						 
						
						
						
						
					 
					
						2018-04-19 00:35:27 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c54aa1f293 
							
						 
					 
					
						
						
							
							nixos/prometheus-exporters: add postfix exporter & documentation  
						
						 
						
						
						
						
					 
					
						2018-03-22 14:52:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								WilliButz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f4d03b5c9c 
							
						 
					 
					
						
						
							
							nixos/prometheus-exporters: rewrite and restructure  
						
						 
						
						... 
						
						
						
						- prometheus exporters are now configured with
  `services.prometheus.exporters.<name>`
- the exporters are now defined by attribute sets
  from which the options for each exporter are generated
- most of the exporter definitions are used unchanged,
  except for some changes that should't have any impact
  on the functionality. 
						
						
					 
					
						2018-03-22 14:46:17 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ruben Maher 
							
						 
					 
					
						
						
						
						
							
						
						
							ac52cb3aed 
							
						 
					 
					
						
						
							
							nixos/prometheus/alertmanager: double hyphenate long opts ( #34914 )  
						
						 
						
						... 
						
						
						
						Alertmanager 0.13.0 doesn't support single dash long options, so '-config.file'
for example is parsed as '-c', which leads to the service not starting. 
						
						
					 
					
						2018-02-12 18:02:38 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Charles 
							
						 
					 
					
						
						
						
						
							
						
						
							560400773c 
							
						 
					 
					
						
						
							
							nixos/prometheus: Correct documentation for external_labels  
						
						 
						
						... 
						
						
						
						As description is literal XML, I need to escape < and > by hand. 
						
						
					 
					
						2017-11-17 11:06:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Charles 
							
						 
					 
					
						
						
						
						
							
						
						
							acb7f43db9 
							
						 
					 
					
						
						
							
							nixos/prometheus: add external_labels option  
						
						 
						
						
						
						
					 
					
						2017-11-17 10:16:21 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Oliver Charles 
							
						 
					 
					
						
						
						
						
							
						
						
							f0334c0336 
							
						 
					 
					
						
						
							
							nixos/prometheus: add scrape_configs.honor_labels  
						
						 
						
						
						
						
					 
					
						2017-11-17 10:15:37 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Franz Pletz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a26b6c4290 
							
						 
					 
					
						
						
							
							prometheus-node-exporter service: delete dead code  
						
						 
						
						
						
						
					 
					
						2017-10-25 20:18:33 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Franz Pletz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce301ef21a 
							
						 
					 
					
						
						
							
							prometheus-node-exporter service: add disabledCollectors option  
						
						 
						
						
						
						
					 
					
						2017-10-25 20:10:20 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Franz Pletz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63bbada520 
							
						 
					 
					
						
						
							
							prometheus-node-exporter service: run as nobody again  
						
						 
						
						... 
						
						
						
						Using DynamicUser breaks the systemd and logind collectors.
cc #30535  
						
						
					 
					
						2017-10-25 17:49:40 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pascal Bach 
							
						 
					 
					
						
						
						
						
							
						
						
							0f0f0cbc6f 
							
						 
					 
					
						
						
							
							prometheus-node-exporter service: update for new arguments handling  
						
						 
						
						... 
						
						
						
						The behaviour have changed again. Listed collectors are now enabled in
addition to the default one.
Also run as DynmicUser instead of user nobody as the exporter doesn't need
any state. 
						
						
					 
					
						2017-10-22 14:45:48 +02:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joerg Thalheim 
							
						 
					 
					
						
						
						
						
							
						
						
							e7e4e0c3b6 
							
						 
					 
					
						
						
							
							nixos/prometheus-minio-exporter: only inherit keys from minio if set  
						
						 
						
						
						
						
					 
					
						2017-10-08 15:05:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pascal Bach 
							
						 
					 
					
						
						
						
						
							
						
						
							8e10a4d862 
							
						 
					 
					
						
						
							
							prometheus-minio-exporter service: default to local minio server if enabled  
						
						 
						
						
						
						
					 
					
						2017-10-08 15:09:25 +02:00