Michael Todorovic 
							
						 
					 
					
						
						
							
						
						9e42fc0145 
					 
					
						
						
							
							fix: handle pg_replication_slots on pg<13 ( #1098 )  
						
						 
						
						... 
						
						
						
						* fix: handle pg_replication_slots on pg<13
Signed-off-by: Michael Todorovic <michael.todorovic@outlook.com >
* fix: tests
Signed-off-by: Michael Todorovic <michael.todorovic@outlook.com >
---------
Signed-off-by: Michael Todorovic <michael.todorovic@outlook.com > 
						
						
					 
					
						2025-02-15 09:00:48 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								TJ Hoplock 
							
						 
					 
					
						
						
							
						
						e8540767e4 
					 
					
						
						
							
							chore!: adopt log/slog, drop go-kit/log ( #1073 )  
						
						 
						
						... 
						
						
						
						* ci: update go to version 1.23
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com >
* build(deps): bump prometheus/{client_golang,common,exporter-toolkit}
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com >
* chore!: adopt log/slog, drop go-kit/log
The bulk of this change set was automated by the following script which
is being used to aid in converting the various exporters/projects to use
slog:
https://gist.github.com/tjhop/49f96fb7ebbe55b12deee0b0312d8434 
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com >
---------
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com >
Co-authored-by: Ben Kochie <superq@gmail.com > 
						
						
					 
					
						2024-10-26 21:44:17 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Marc W 
							
						 
					 
					
						
						
							
						
						a4ac0e6747 
					 
					
						
						
							
							feat: Add safe_wal_size and wal_status to replication_slot  ( #1027 )  
						
						 
						
						... 
						
						
						
						* feat: Add safe_wal_size to replication_slot
Signed-off-by: MarcWort <113890636+MarcWort@users.noreply.github.com >
* feat: Add wal_status to replication_slot
Signed-off-by: MarcWort <113890636+MarcWort@users.noreply.github.com >
---------
Signed-off-by: MarcWort <113890636+MarcWort@users.noreply.github.com > 
						
						
					 
					
						2024-05-11 14:59:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Simenduev 
							
						 
					 
					
						
						
							
						
						ae1375b28e 
					 
					
						
						
							
							pg_replication_slot: add slot type label ( #960 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: Alex Simenduev <shamil.si@gmail.com > 
						
						
					 
					
						2023-11-23 09:44:58 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ben Kochie 
							
						 
					 
					
						
						
							
						
						5f917ccdd9 
					 
					
						
						
							
							Improve linting ( #861 )  
						
						 
						
						... 
						
						
						
						* Disable unused-parameter check due to false positives on Collect()
  calls.
* Enable misspell.
* Simplify error returns.
Signed-off-by: SuperQ <superq@gmail.com > 
						
						
					 
					
						2023-07-06 13:08:45 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Vadim Voitenko 
							
						 
					 
					
						
						
							
						
						6a1bb59efb 
					 
					
						
						
							
							Fixed replication pgReplicationSlotQuery - now it's working correctly for replica and primary ( #825 )  
						
						 
						
						... 
						
						
						
						Signed-off-by: Vadim Voitenko <vadim.voitenko@exness.com >
Co-authored-by: Vadim Voitenko <vadim.voitenko@exness.com > 
						
						
					 
					
						2023-06-27 15:47:33 +02: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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ben Kochie 
							
						 
					 
					
						
						
							
						
						99828de70a 
					 
					
						
						
							
							Fix up collector registration ( #812 )  
						
						 
						
						... 
						
						
						
						Use const definitions to make collector registration consistent.
* Use collector subsystem name consistently.
* Fix up replication metric name unit.
Signed-off-by: SuperQ <superq@gmail.com > 
						
						
					 
					
						2023-06-13 17:28:11 +02:00