mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-09 14:52:40 +02:00
Merge pull request #610 from birarda/domain-stats
rename argument for Logstash stat stash
This commit is contained in:
commit
010e6e5570
1 changed files with 2 additions and 2 deletions
|
@ -45,12 +45,12 @@ bool Logstash::shouldSendStats() {
|
|||
return shouldSendStats;
|
||||
}
|
||||
|
||||
void Logstash::stashValue(char valueType, const char* key, float value) {
|
||||
void Logstash::stashValue(char statType, const char* key, float value) {
|
||||
static char logstashPacket[MAX_PACKET_SIZE];
|
||||
|
||||
// load up the logstash packet with the key and the passed float value
|
||||
// send it to 4 decimal places
|
||||
int numPacketBytes = sprintf(logstashPacket, "%c %s %.4f", valueType, key, value);
|
||||
int numPacketBytes = sprintf(logstashPacket, "%c %s %.4f", statType, key, value);
|
||||
|
||||
AgentList *agentList = AgentList::getInstance();
|
||||
|
||||
|
|
Loading…
Reference in a new issue