mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
rename the stat type argument in Logstash
This commit is contained in:
parent
f7f321663a
commit
11e06dbed2
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