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
mgr: perf counters node exporter #45220
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d109257
to
3629ddd
Compare
269a776
to
e47ad19
Compare
cbodley
reviewed
Mar 11, 2022
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.
the beast stuff in http_connection looks good, nice work so far
d64b0ee
to
3aa29a2
Compare
* move all related files to the exporter to src/exporter * move http_server logic to a new file under src/exporter/http_server.* Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
1. Formatted all exporter files to google c++ styling. 2. Refactored send_requests a bit to increase readabilty. 3. Removed unused functions + variables. 4. Moved fs::path socketdir to a static const char* SOCKETDIR. Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
This is just a temporary change, as in future once the feature branch is merged in master the exporter would be included in default master ceph image Signed-off-by: Avan Thakkar <athakkar@redhat.com>
- DaemonMetricCollector singleton with static variable - some iterator references - DaemonMetricCollector chagne timer to steady_timer with chrono - AdminClientSocket handle error when send_request. - update_sockests now clears the list of sockets before adding new ones. - use string_body instead of dynamic_body in http::response Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
5081dc1
to
a2b7e7f
Compare
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
pereman2
approved these changes
May 6, 2022
|
We'll keep track of the whole progress in #46213. |
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bluestore
build/ops
ceph-volume
cephadm
cephfs
Ceph File System
CI
Continuous Integration
common
core
crimson
dashboard
documentation
mgr
mon
monitoring
orchestrator
performance
pybind
rbd
rgw
rook
tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The number of perf counters keeps growing in each ceph version and mgr's performance is fragile when moving big payloads of data around because of subinterpreters. A way to reduce this load is by moving perf counters away from the mgr.
update: This PR will be the first of many which will be merge onto the feature branch
feature-exporter. This PR is intended to have all features marked as done in Next steps except TLS support.Next steps:
Proposal for node-exporter:

Signed-off-by: Pere Diaz Bou pdiazbou@redhat.com
Co-authored-by: Avan Thakkar athakkar@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox