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 
			
		
		
		
	* Update mixin to latest changes from grafana/postgres_exporter Porting a bunch of PRs accumulated over time in grafana/postgres_exporter: - https://github.com/grafana/postgres_exporter/pull/11 (@v-zhuravlev) - https://github.com/grafana/postgres_exporter/pull/12 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/13 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/14 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/15 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/16 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/17 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/20 (@gaantunes) - https://github.com/grafana/postgres_exporter/pull/21 (@mshahzeb) - https://github.com/grafana/postgres_exporter/pull/22 (@mshahzeb) Signed-off-by: Cristian Greco <cristian@regolo.cc> * rename dashboard to old name Signed-off-by: Cristian Greco <cristian@regolo.cc> * remove custom selector Signed-off-by: Cristian Greco <cristian@regolo.cc> --------- Signed-off-by: Cristian Greco <cristian@regolo.cc> Co-authored-by: Vitaly <v-zhuravlev@users.noreply.github.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			258 B
		
	
	
	
		
			Jsonnet
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			258 B
		
	
	
	
		
			Jsonnet
		
	
	
	
	
	
{
 | 
						|
  _config+:: {
 | 
						|
    dbNameFilter: 'datname!~"template.*"',
 | 
						|
    postgresExporterSelector: '',
 | 
						|
    groupLabels: if self.enableMultiCluster then ['job', 'cluster'] else ['job'],
 | 
						|
    instanceLabels: ['instance', 'server'],
 | 
						|
    enableMultiCluster: false,
 | 
						|
  },
 | 
						|
}
 |