mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
parent
deb7bbd331
commit
f9b34cca30
@ -411,7 +411,7 @@ void InfluxdbWriter::SendMetric(const Dictionary::Ptr& tmpl, const String& label
|
|||||||
m_DataBuffer.push_back(String(msgbuf.str()));
|
m_DataBuffer.push_back(String(msgbuf.str()));
|
||||||
|
|
||||||
// Flush if we've buffered too much to prevent excessive memory use
|
// Flush if we've buffered too much to prevent excessive memory use
|
||||||
if (m_DataBuffer.size() >= GetFlushThreshold()) {
|
if (static_cast<int>(m_DataBuffer.size()) >= GetFlushThreshold()) {
|
||||||
Log(LogDebug, "InfluxdbWriter")
|
Log(LogDebug, "InfluxdbWriter")
|
||||||
<< "Data buffer overflow writing " << m_DataBuffer.size() << " data points";
|
<< "Data buffer overflow writing " << m_DataBuffer.size() << " data points";
|
||||||
Flush();
|
Flush();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user