(cobra metrics to statsd bot) change from a statsd type of gauge to a timing one
This commit is contained in:
		@@ -1,6 +1,10 @@
 | 
			
		||||
# Changelog
 | 
			
		||||
All changes to this project will be documented in this file.
 | 
			
		||||
 | 
			
		||||
## [9.7.4] - 2020-06-11
 | 
			
		||||
 | 
			
		||||
(cobra metrics to statsd bot) change from a statsd type of gauge to a timing one
 | 
			
		||||
 | 
			
		||||
## [9.7.3] - 2020-06-11
 | 
			
		||||
 | 
			
		||||
(redis cobra bots) capture most used devices in a zset
 | 
			
		||||
 
 | 
			
		||||
@@ -103,7 +103,7 @@ namespace ix
 | 
			
		||||
           << removeSpaces(msg["data"]["Tag"].asString());
 | 
			
		||||
 | 
			
		||||
        std::string id = ss.str();
 | 
			
		||||
        statsdClient.gauge(id, slowFrames);
 | 
			
		||||
        statsdClient.timing(id, slowFrames);
 | 
			
		||||
 | 
			
		||||
        // extract device model names for common devices
 | 
			
		||||
        auto deviceId = getDeviceIdentifier(msg);
 | 
			
		||||
@@ -119,7 +119,7 @@ namespace ix
 | 
			
		||||
               << removeSpaces(msg["data"]["Tag"].asString());
 | 
			
		||||
 | 
			
		||||
            std::string id = ss.str();
 | 
			
		||||
            statsdClient.gauge(id, slowFrames);
 | 
			
		||||
            statsdClient.timing(id, slowFrames);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // periodically display all device ids
 | 
			
		||||
 
 | 
			
		||||
@@ -6,4 +6,4 @@
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define IX_WEBSOCKET_VERSION "9.7.3"
 | 
			
		||||
#define IX_WEBSOCKET_VERSION "9.7.4"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user