b617864cd9 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix for structured logging tests stomping on logs ( #6023 )  
							
							
							
						 
						
							2019-09-13 02:29:55 +10:00  
				
					
						
							
							
								 
						
							
							
								aeb9b2179e 
								
									
								
							
								 
							
						 
						
							
							
								
								Add a build info metric to Prometheus ( #6005 )  
							
							
							
						 
						
							2019-09-10 00:14:58 +10:00  
				
					
						
							
							
								 
						
							
							
								7ad1d76356 
								
									
								
							
								 
							
						 
						
							
							
								
								Support Prometheus_client 0.4.0+ ( #5636 )  
							
							
							
						 
						
							2019-07-18 23:57:15 +10:00  
				
					
						
							
							
								 
						
							
							
								463b072b12 
								
									
								
							
								 
							
						 
						
							
							
								
								Move logging utilities out of the side drawer of util/ and into logging/ ( #5606 )  
							
							
							
						 
						
							2019-07-04 00:07:04 +10:00  
				
					
						
							
							
								 
						
							
							
								071150ce19 
								
									
								
							
								 
							
						 
						
							
							
								
								Don't log GC 0s at INFO ( #5557 )  
							
							
							
						 
						
							2019-06-28 21:45:33 +10:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								3ed595e327 
								
							
								 
							
						 
						
							
							
								
								Prometheus histograms are cumalative  
							
							
							
						 
						
							2019-06-14 14:07:32 +01:00  
				
					
						
							
							
								 
						
							
							
								a10c8dae85 
								
							
								 
							
						 
						
							
							
								
								fix prometheus rendering error  
							
							
							
						 
						
							2019-06-14 21:09:33 +10:00  
				
					
						
							
							
								 
						
							
							
								6312d6cc7c 
								
									
								
							
								 
							
						 
						
							
							
								
								Expose statistics on extrems to prometheus ( #5384 )  
							
							
							
						 
						
							2019-06-13 22:40:52 +10:00  
				
					
						
							
							
								 
						
							
							
								82ca6d1f9f 
								
									
								
							
								 
							
						 
						
							
							
								
								Add metrics for number of outgoing EDUs, by type ( #4695 )  
							
							
							
						 
						
							2019-02-20 14:13:14 +00:00  
				
					
						
							
							
								 
						
							
							
								7c570bff74 
								
							
								 
							
						 
						
							
							
								
								Fix exception in background metrics collection  
							
							... 
							
							
							
							We attempted to iterate through a list on a separate thread without
doing the necessary copying. 
							
						 
						
							2018-10-03 11:28:01 +01:00  
				
					
						
							
							
								 
						
							
							
								94ae1dea3c 
								
							
								 
							
						 
						
							
							
								
								Add missing logger  
							
							
							
						 
						
							2018-09-20 17:05:34 +01:00  
				
					
						
							
							
								 
						
							
							
								9ea408441f 
								
							
								 
							
						 
						
							
							
								
								Handle exceptions thrown by background tasks  
							
							... 
							
							
							
							Fixes  #3921  
						
							2018-09-20 16:15:21 +01:00  
				
					
						
							
							
								 
						
							
							
								d0f6c1ce21 
								
							
								 
							
						 
						
							
							
								
								Remove spurious comment  
							
							
							
						 
						
							2018-09-14 15:12:36 +01:00  
				
					
						
							
							
								 
						
							
							
								0a81038ea0 
								
							
								 
							
						 
						
							
							
								
								Add in flight real time metrics for Measure blocks  
							
							
							
						 
						
							2018-09-14 15:08:37 +01:00  
				
					
						
							
							
								 
						
							
							
								3f6762f0bb 
								
							
								 
							
						 
						
							
							
								
								isort  
							
							
							
						 
						
							2018-08-21 09:38:38 +01:00  
				
					
						
							
							
								 
						
							
							
								1058d14127 
								
							
								 
							
						 
						
							
							
								
								Make the in flight background process metrics thread safe  
							
							
							
						 
						
							2018-08-20 17:27:24 +01:00  
				
					
						
							
							
								 
						
							
							
								bab94da79c 
								
							
								 
							
						 
						
							
							
								
								fix metric name  
							
							
							
						 
						
							2018-08-07 22:11:45 +01:00  
				
					
						
							
							
								 
						
							
							
								53bca4690b 
								
							
								 
							
						 
						
							
							
								
								more metrics for the federation and appservice senders  
							
							
							
						 
						
							2018-08-07 19:09:48 +01:00  
				
					
						
							
							
								 
						
							
							
								03751a6420 
								
							
								 
							
						 
						
							
							
								
								Fix some looping_call calls which were broken in  #3604  
							
							... 
							
							
							
							It turns out that looping_call does check the deferred returned by its
callback, and (at least in the case of client_ips), we were relying on this,
and I broke it in #3604 .
Update run_as_background_process to return the deferred, and make sure we
return it to clock.looping_call. 
							
						 
						
							2018-07-26 11:48:08 +01:00  
				
					
						
							
							
								 
						
							
							
								6e3fc657b4 
								
							
								 
							
						 
						
							
							
								
								Resource tracking for background processes  
							
							... 
							
							
							
							This introduces a mechanism for tracking resource usage by background
processes, along with an example of how it will be used.
This will help address #3518 , but more importantly will give us better insights
into things which are happening but not being shown up by the request metrics.
We *could* do this with Measure blocks, but:
 - I think having them pulled out as a completely separate metric class will
   make it easier to distinguish top-level processes from those which are
   nested.
 - I want to be able to report on in-flight background processes, and I don't
   think we want to do this for *all* Measure blocks. 
							
						 
						
							2018-07-18 10:50:33 +01:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								6350bf925e 
								
									
								
							
								 
							
						 
						
							
							
								
								Attempt to be more performant on PyPy ( #3462 )  
							
							
							
						 
						
							2018-06-28 14:49:57 +01:00  
				
					
						
							
							
								 
						
							
							
								cbbfaa4be8 
								
							
								 
							
						 
						
							
							
								
								Fix description of "python_gc_time" metric  
							
							
							
						 
						
							2018-06-21 10:02:42 +01:00  
				
					
						
							
							
								 
						
							
							
								ccfdaf68be 
								
							
								 
							
						 
						
							
							
								
								spell gauge correctly  
							
							
							
						 
						
							2018-06-16 07:10:34 +01:00  
				
					
						
							
							
								 
						
							
							
								f116f32ace 
								
									
								
							
								 
							
						 
						
							
							
								
								add a last seen metric ( #3396 )  
							
							
							
						 
						
							2018-06-14 20:26:59 +10:00  
				
					
						
							
							
								 
						
							
							
								694968fa81 
								
							
								 
							
						 
						
							
							
								
								Hopefully, fix LaterGuage error handling  
							
							
							
						 
						
							2018-06-04 15:59:14 +01:00  
				
					
						
							
							
								 
						
							
							
								febe0ec8fd 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Prometheus on a different port, optionally. ( #3274 )  
							
							
							
						 
						
							2018-05-31 19:04:50 +10:00  
				
					
						
							
							
								 
						
							
							
								ff1bc0a279 
								
							
								 
							
						 
						
							
							
								
								pep8  
							
							
							
						 
						
							2018-05-29 02:32:15 +01:00  
				
					
						
							
							
								 
						
							
							
								0a240ad36e 
								
							
								 
							
						 
						
							
							
								
								disable CPUMetrics if no /proc/self/stat  
							
							... 
							
							
							
							fixes build on macOS again 
							
						 
						
							2018-05-29 02:23:30 +01:00  
				
					
						
							
							
								 
						
							
							
								5c40ce3777 
								
							
								 
							
						 
						
							
							
								
								invalid syntax :(  
							
							
							
						 
						
							2018-05-28 19:16:09 +10:00  
				
					
						
							
							
								 
						
							
							
								a2eb5db4a0 
								
							
								 
							
						 
						
							
							
								
								update metrics to be in seconds  
							
							
							
						 
						
							2018-05-28 19:10:27 +10:00  
				
					
						
							
							
								 
						
							
							
								389dac2c15 
								
							
								 
							
						 
						
							
							
								
								pepeightttt  
							
							
							
						 
						
							2018-05-23 13:08:59 -05:00  
				
					
						
							
							
								 
						
							
							
								472a5ec4e2 
								
							
								 
							
						 
						
							
							
								
								add back CPU metrics  
							
							
							
						 
						
							2018-05-23 13:03:56 -05:00  
				
					
						
							
							
								 
						
							
							
								b6063631c3 
								
							
								 
							
						 
						
							
							
								
								more cleanup  
							
							
							
						 
						
							2018-05-22 17:36:20 -05:00  
				
					
						
							
							
								 
						
							
							
								53cc2cde1f 
								
							
								 
							
						 
						
							
							
								
								cleanup  
							
							
							
						 
						
							2018-05-22 17:32:57 -05:00  
				
					
						
							
							
								 
						
							
							
								85ba83eb51 
								
							
								 
							
						 
						
							
							
								
								fixes  
							
							
							
						 
						
							2018-05-22 16:28:23 -05:00  
				
					
						
							
							
								 
						
							
							
								a8990fa2ec 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into 3218-official-prom  
							
							
							
						 
						
							2018-05-22 10:50:26 -05:00  
				
					
						
							
							
								 
						
							
							
								df9f72d9e5 
								
							
								 
							
						 
						
							
							
								
								replacing portions  
							
							
							
						 
						
							2018-05-21 19:47:37 -05:00  
				
					
						
							
							
								 
						
							
							
								c60e0d5e02 
								
							
								 
							
						 
						
							
							
								
								don't need the resource portion  
							
							
							
						 
						
							2018-05-21 17:03:20 -05:00  
				
					
						
							
							
								 
						
							
							
								f258deffcb 
								
							
								 
							
						 
						
							
							
								
								remove old metrics libs  
							
							
							
						 
						
							2018-05-21 17:01:15 -05:00  
				
					
						
							
							
								 
						
							
							
								6d8ec3462d 
								
							
								 
							
						 
						
							
							
								
								Note that label values can be anything  
							
							
							
						 
						
							2018-05-03 16:25:05 +01:00  
				
					
						
							
							
								 
						
							
							
								95b6912045 
								
							
								 
							
						 
						
							
							
								
								Fix metrics that have integer value labels  
							
							
							
						 
						
							2018-05-03 15:51:04 +01:00  
				
					
						
							
							
								 
						
							
							
								a41117c63b 
								
							
								 
							
						 
						
							
							
								
								Make _escape_character take MatchObject  
							
							
							
						 
						
							2018-05-02 17:27:27 +01:00  
				
					
						
							
							
								 
						
							
							
								32015e1109 
								
							
								 
							
						 
						
							
							
								
								Escape label values in prometheus metrics  
							
							
							
						 
						
							2018-05-02 16:52:42 +01:00  
				
					
						
							
							
								 
						
							
							
								d7bf3a68f0 
								
							
								 
							
						 
						
							
							
								
								s/list/tuple  
							
							
							
						 
						
							2018-04-12 11:19:04 +01:00  
				
					
						
							
							
								 
						
							
							
								4dae4a97ed 
								
							
								 
							
						 
						
							
							
								
								Track last processed event received_ts  
							
							
							
						 
						
							2018-04-11 14:27:09 +01:00  
				
					
						
							
							
								 
						
							
							
								92e34615c5 
								
							
								 
							
						 
						
							
							
								
								Track where event stream processing have gotten up to  
							
							
							
						 
						
							2018-04-11 12:13:40 +01:00  
				
					
						
							
							
								 
						
							
							
								ab825aa328 
								
							
								 
							
						 
						
							
							
								
								Add GaugeMetric  
							
							
							
						 
						
							2018-04-11 12:13:40 +01:00  
				
					
						
							
							
								 
						
							
							
								6d7f0f8dd3 
								
							
								 
							
						 
						
							
							
								
								Don't disable GC when running on PyPy  
							
							... 
							
							
							
							PyPy's incminimark GC can't be triggered manually. From what I observed
there are no obvious issues with just letting it run normally. And
unlike CPython, it actually returns unused RAM to the system.
Signed-off-by: Vincent Breitmoser <look@my.amazin.horse> 
							
						 
						
							2018-04-10 11:35:34 +02:00