bc496df192 
								
							
								 
							
						 
						
							
							
								
								report metrics on number of cache evictions  
							
							
							
						 
						
							2018-02-05 15:34:01 +00:00  
				
					
						
							
							
								 
						
							
							
								ce236f8ac8 
								
							
								 
							
						 
						
							
							
								
								better exception logging in callbackmetrics  
							
							... 
							
							
							
							when we fail to render a metric, give a clue as to which metric it was 
							
						 
						
							2018-01-18 11:30:49 +00:00  
				
					
						
							
							
								 
						
							
							
								992018d1c0 
								
							
								 
							
						 
						
							
							
								
								mechanism to render metrics with alternative names  
							
							
							
						 
						
							2018-01-15 17:04:39 +00:00  
				
					
						
							
							
								 
						
							
							
								80fa610f9c 
								
							
								 
							
						 
						
							
							
								
								Add some comments to metrics classes  
							
							
							
						 
						
							2018-01-15 16:52:52 +00:00  
				
					
						
							
							
								 
						
							
							
								19d274085f 
								
							
								 
							
						 
						
							
							
								
								Make Counter render floats  
							
							... 
							
							
							
							Prometheus handles all metrics as floats, and sometimes we store non-integer
values in them (notably, durations in seconds), so let's render them as floats
too.
(Note that the standard client libraries also treat Counters as floats.) 
							
						 
						
							2018-01-12 23:49:44 +00:00  
				
					
						
							
							
								 
						
							
							
								b21b9dbc37 
								
							
								 
							
						 
						
							
							
								
								Callback metric values might not just be integers - allow floats  
							
							
							
						 
						
							2016-10-19 15:05:15 +01:00  
				
					
						
							
							
								 
						
							
							
								7c1a92274c 
								
							
								 
							
						 
						
							
							
								
								Make psutil optional  
							
							
							
						 
						
							2016-08-08 11:12:21 +01:00  
				
					
						
							
							
								 
						
							
							
								d36b1d849d 
								
							
								 
							
						 
						
							
							
								
								Don't explode if we have no snapshots yet  
							
							
							
						 
						
							2016-07-20 16:59:52 +01:00  
				
					
						
							
							
								 
						
							
							
								66868119dc 
								
							
								 
							
						 
						
							
							
								
								Add metrics for psutil derived memory usage  
							
							
							
						 
						
							2016-07-20 16:00:21 +01:00  
				
					
						
							
							
								 
						
							
							
								73c7112433 
								
							
								 
							
						 
						
							
							
								
								Change CacheMetrics to be quicker  
							
							... 
							
							
							
							We change it so that each cache has an individual CacheMetric, instead
of having one global CacheMetric. This means that when a cache tries to
increment a counter it does not need to go through so many indirections. 
							
						 
						
							2016-06-03 11:26:52 +01:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								128cf2daf7 
								
							
								 
							
						 
						
							
							
								
								Appease pep8  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								c1cdd7954d 
								
							
								 
							
						 
						
							
							
								
								Add an .inc_by() method to CounterMetric; implement DistributionMetric a neater way  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								f1fbe3e09f 
								
							
								 
							
						 
						
							
							
								
								Rename TimerMetric to DistributionMetric; as it could count more than just time  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								cbc0406be8 
								
							
								 
							
						 
						
							
							
								
								Export CacheMetric as hits+total, rather than hits+misses, as it's easier to derive hit ratio from that  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								0e847540c3 
								
							
								 
							
						 
						
							
							
								
								Prometheus needs "escaped" label values  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								22b37b75db 
								
							
								 
							
						 
						
							
							
								
								Kill unused CounterMetric.fetch() method  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								b3a0179d64 
								
							
								 
							
						 
						
							
							
								
								Bugfix to rendering output of vectored TimerMetrics  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								f9478e475b 
								
							
								 
							
						 
						
							
							
								
								Rename Metrics' "keys" to "labels"  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								a99d6edc05 
								
							
								 
							
						 
						
							
							
								
								Neater implementation of metric render methods by pulling out 'render' as a base method that calls self.render_item  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								72625f2f4d 
								
							
								 
							
						 
						
							
							
								
								Initial hack at a TimerMetric; for storing counts + duration accumulators  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								23ab0c68c2 
								
							
								 
							
						 
						
							
							
								
								Implement vector CallbackMetrics  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								849300bc73 
								
							
								 
							
						 
						
							
							
								
								Neater introspection methods on BaseMetric so that subclasses don't need to touch self.keys directly  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								8664599af7 
								
							
								 
							
						 
						
							
							
								
								Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component to give the size of the cache  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								d8caa5454d 
								
							
								 
							
						 
						
							
							
								
								Initial attempt at a scalar callback-based metric to give instantaneous snapshot gauges  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								ce8b5769f7 
								
							
								 
							
						 
						
							
							
								
								Create the concept of a cachecounter metric; generating two counters specific to caches  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								e7420a3bef 
								
							
								 
							
						 
						
							
							
								
								Initial tiny attempt at (vectorable) counter metrics  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00