You've already forked postgres_exporter
							
							
				mirror of
				https://github.com/prometheus-community/postgres_exporter.git
				synced 2025-11-03 07:53:12 +03:00 
			
		
		
		
	postgres_mixin: allow parametrization of mixin by using _config object
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
This commit is contained in:
		
							
								
								
									
										5
									
								
								postgres_mixin/config.libsonnet
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								postgres_mixin/config.libsonnet
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  _config+:: {
 | 
				
			||||||
 | 
					    postgresExporterSelector: '',
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1,2 +1,3 @@
 | 
				
			|||||||
(import 'alerts/alerts.libsonnet') +
 | 
					(import 'alerts/alerts.libsonnet') +
 | 
				
			||||||
(import 'dashboards/dashboards.libsonnet')
 | 
					(import 'dashboards/dashboards.libsonnet') +
 | 
				
			||||||
 | 
					(import 'config.libsonnet')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user