(cobra metrics to statsd bot) change from a statsd type of gauge to a timing one
This commit is contained in:
1 parent
5e200a440f
commit
aa142df486
3 files changed
+7
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user