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

Add RADOS gateway usage exporter support #1082

Merged
merged 22 commits into from
Nov 13, 2024

Conversation

seunghun1ee
Copy link
Member

No description provided.

@seunghun1ee seunghun1ee changed the title Deploy RADOS gateway usage exporter from SKC WIP: Deploy RADOS gateway usage exporter from SKC May 22, 2024
@Alex-Welsh
Copy link
Contributor

@seunghun1ee what's the status of this PR? It's already a bit stale, can we get it moving again?

@seunghun1ee
Copy link
Member Author

seunghun1ee commented Nov 12, 2024

@Alex-Welsh The playbook and Prometheus template were tested. This was set to WIP because the exporter itself is missing one criteria: Reducing the privileges of the credential that the exporter use.

I can close this and create new PR to Antelope branch if we are okay to move on with one missing criteria.

@Alex-Welsh
Copy link
Contributor

Alex-Welsh commented Nov 12, 2024

@Alex-Welsh The playbook and Prometheus template were tested. This was set to WIP because the exporter itself is missing one criteria: Reducing the privileges of the credential that the exporter use.

I can close this and create new PR to Antelope branch if we are okay to move on with one missing criteria.

I see what you mean. Using admin creds isn't ideal but we do it in a lot of places. I don't think it should be a blocker in this instance.

Please do rebase this and change the target branch. Since it's a new feature, I think we should just put it in Caracal

@Alex-Welsh
Copy link
Contributor

Also, please add a release note

@seunghun1ee seunghun1ee changed the base branch from stackhpc/yoga to stackhpc/2024.1 November 12, 2024 13:29
@seunghun1ee seunghun1ee force-pushed the radosgw-usage-exporter-deploy-yoga branch from 0b13351 to 28a88f4 Compare November 12, 2024 13:33
@seunghun1ee seunghun1ee marked this pull request as ready for review November 12, 2024 13:33
@seunghun1ee seunghun1ee requested a review from a team as a code owner November 12, 2024 13:33
@seunghun1ee seunghun1ee changed the title WIP: Deploy RADOS gateway usage exporter from SKC Add RADOS gateway usage exporter support Nov 12, 2024
@seunghun1ee
Copy link
Member Author

@Alex-Welsh I found the way to use ceph_rgw user's ec2 credential instead of admin user.

Copy link
Contributor

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

One general change, could you add it as a post-hook to service deploy since the default for stackhpc_enable_radosgw_usage_exporter is false?

etc/kayobe/ansible/deploy-radosgw-usage-exporter.yml Outdated Show resolved Hide resolved
etc/kayobe/ansible/deploy-radosgw-usage-exporter.yml Outdated Show resolved Hide resolved
etc/kayobe/stackhpc-monitoring.yml Outdated Show resolved Hide resolved
This will not run by default as ``stackhpc_enable_radosgw_usage_exporter``
is initially set to false
Copy link
Contributor

@Alex-Welsh Alex-Welsh left a comment

Choose a reason for hiding this comment

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

Couple of nits but almost there

@Alex-Welsh Alex-Welsh enabled auto-merge (squash) November 13, 2024 14:10
@Alex-Welsh Alex-Welsh merged commit 4026c4e into stackhpc/2024.1 Nov 13, 2024
12 checks passed
@Alex-Welsh Alex-Welsh deleted the radosgw-usage-exporter-deploy-yoga branch November 13, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants