Skip to content
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

quincy: exporter: user only counter dump/schema commands for extacting counters #50749

Merged
merged 1 commit into from May 29, 2023

Conversation

avanthakkar
Copy link
Contributor

backport tracker: https://tracker.ceph.com/issues/59214


backport of #50718
parent tracker: https://tracker.ceph.com/issues/59191

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh

Fixes: https://tracker.ceph.com/issues/59191
Signed-off-by: Avan Thakkar <athakkar@redhat.com>

Ceph exporter no more required the output of perf dump/schema, as the ``counter dump`` command
returns both labeled and unlabeled perf counters which exporter can fetch and export.
Removed the ``exporter_get_labeled_counters`` confiug option as exporter will now export
all the counters, labeled or unlabeled.
Also the fix includes the support for renaming the metrics name of rgw multi-site and
adding labels to it, similar to what is there in prometheus module.

(cherry picked from commit 51a8990)
@avanthakkar avanthakkar added this to the quincy milestone Mar 29, 2023
@avanthakkar
Copy link
Contributor Author

jenkins test api

@avanthakkar
Copy link
Contributor Author

jenkins test make check

@avanthakkar avanthakkar merged commit c1e70eb into ceph:quincy May 29, 2023
11 checks passed
@avanthakkar avanthakkar deleted the wip-59214-quincy branch May 29, 2023 12:25
Copy link
Contributor

@idryomov idryomov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avanthakkar counter dump and counter schema commands aren't available in quincy, which means that exporter won't function with this PR. How was this tested?

It looks like this had (and still has) a Do-Not-Merge label. I'm pretty sure we need an urgent revert here because 17.2.7 is about to ship.

@idryomov
Copy link
Contributor

I'm pretty sure we need an urgent revert here because 17.2.7 is about to ship.

Happening in #54169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants