Felix Yuan 
							
						 
					 
					
						
						
							
						
						5edc331876 
					 
					
						
						
							
							Record table only size bytes as well in addition to the total size bytes ( #1149 )  
						
						 
						
						... 
						
						
						
						* Record table only size bytes as well in addition to the total size bytes
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
* Update collector/pg_stat_user_tables.go
Co-authored-by: Ben Kochie <superq@gmail.com >
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
* Update collector/pg_stat_user_tables.go
Co-authored-by: Ben Kochie <superq@gmail.com >
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
* Finish renaming elements to index and table size
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
---------
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
Co-authored-by: Ben Kochie <superq@gmail.com > 
						
						
					 
					
						2025-04-18 16:14:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David Cook 
							
						 
					 
					
						
						
							
						
						31ef4ed5a2 
					 
					
						
						
							
							stat_user_tables: Add total size metric ( #904 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: David Cook <dcook@divviup.org > 
						
						
					 
					
						2023-09-12 09:07:36 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Yuan 
							
						 
					 
					
						
						
							
						
						8d087f2c64 
					 
					
						
						
							
							Bug fix: Make collector not fail on null values ( #823 )  
						
						 
						
						... 
						
						
						
						* Make all values nullable
---------
Signed-off-by: Felix Yuan <felix.yuan@reddit.com >
Co-authored-by: Ben Kochie <superq@gmail.com > 
						
						
					 
					
						2023-06-27 08:07:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Joe Adams 
							
						 
					 
					
						
						
							
						
						ab33346cbd 
					 
					
						
						
							
							Add the instance struct to handle connections  
						
						 
						
						... 
						
						
						
						The intent is to use the instance struct to hold the connection to the database as well as metadata about the instance. Currently this metadata only includes the version of postgres for the instance which can be used in the collectors to decide what query to run. In the future this could hold more metadata but for now it keeps the Collector interface arguments to a reasonable number.
Signed-off-by: Joe Adams <github@joeadams.io > 
						
						
					 
					
						2023-06-21 20:36:59 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix Yuan 
							
						 
					 
					
						
						
							
						
						fe960c6b54 
					 
					
						
						
							
							Move queries from queries.yaml to collectors ( #801 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: Ben Kochie <superq@gmail.com > 
						
						
					 
					
						2023-06-08 23:28:04 +02:00