mirror of https://github.com/Icinga/icinga2.git
parent
a43e8d6b2d
commit
c611a31670
|
@ -241,12 +241,12 @@ void InfluxdbWriter::CheckResultHandler(const Checkable::Ptr& checkable, const C
|
|||
SendPerfdata(tmpl, checkable, cr, ts);
|
||||
}
|
||||
|
||||
String InfluxdbWriter::FormatInteger(const int val)
|
||||
String InfluxdbWriter::FormatInteger(int val)
|
||||
{
|
||||
return Convert::ToString(val) + "i";
|
||||
}
|
||||
|
||||
String InfluxdbWriter::FormatBoolean(const bool val)
|
||||
String InfluxdbWriter::FormatBoolean(bool val)
|
||||
{
|
||||
return String(val);
|
||||
}
|
||||
|
|
|
@ -82,8 +82,8 @@ private:
|
|||
|
||||
void FlushHandler(const String& body);
|
||||
|
||||
static String FormatInteger(const int val);
|
||||
static String FormatBoolean(const bool val);
|
||||
static String FormatInteger(int val);
|
||||
static String FormatBoolean(bool val);
|
||||
|
||||
static String EscapeKey(const String& str);
|
||||
static String EscapeField(const String& str);
|
||||
|
|
Loading…
Reference in New Issue