-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve InfluxdbWriter performance #5764
Conversation
lib/perfdata/influxdbwriter.cpp
Outdated
} | ||
} | ||
|
||
msgbuf << " " << static_cast<unsigned long>(ts); | ||
|
||
#ifdef _DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be I2_DEBUG
.
lib/perfdata/influxdbwriter.cpp
Outdated
} | ||
|
||
double et = Utility::GetTime(); | ||
Log(LogInformation, "InfluxDbWriter") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That might be too noisy as information level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, that's not even meant to be there at all, at least not in the PR. 😇
That's de facto a rewrite of the InfluxDB feature. Must be tested with care before any release. |
bca74ea
to
4764c03
Compare
Aye, this is definitely a major change. |
Backporting will be "funny" with the code quality changes applied in master. |
Backporting as per @lippserd's request. :) |
4764c03
to
40f9431
Compare
This also depends on PR #5759 and #5760.