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

Remove topk vars from StorageGRID dashboards #2890

Closed
cgrinds opened this issue May 13, 2024 · 3 comments · Fixed by #3002
Closed

Remove topk vars from StorageGRID dashboards #2890

cgrinds opened this issue May 13, 2024 · 3 comments · Fixed by #3002
Assignees
Labels
24.08 feature New feature or request

Comments

@cgrinds
Copy link
Collaborator

cgrinds commented May 13, 2024

See also #2879

@cgrinds cgrinds added the feature New feature or request label May 13, 2024
@cgrinds
Copy link
Collaborator Author

cgrinds commented May 23, 2024

rg -F '$Top' grafana/dashboards/ | rg -v TopResources | sort
grafana/dashboards/storagegrid/fabricpool.json:          "expr": "8 * sum by (cluster,policy)(rate(storagegrid_private_load_balancer_storage_rx_bytes{cluster=~\"$SGCluster\",policy=~\"$TopPolicyRx\"}[$__interval]))",
grafana/dashboards/storagegrid/fabricpool.json:          "expr": "8 * sum by (cluster,policy)(rate(storagegrid_private_load_balancer_storage_tx_bytes{cluster=~\"$SGCluster\",policy=~\"$TopPolicyTx\"}[$__interval]))",
grafana/dashboards/storagegrid/fabricpool.json:          "expr": "sum by (cluster,policy)(rate(storagegrid_private_load_balancer_storage_request_count{cluster=~\"$SGCluster\",policy=~\"$TopPolicyRequestCount\"}[$__interval])) > 0",
grafana/dashboards/storagegrid/fabricpool.json:          "expr": "sum by (cluster,policy,method)(rate(storagegrid_private_load_balancer_storage_request_count{cluster=~\"$SGCluster\",policy=~\"$TopPolicyRequestCount\"}[$__interval])) > 0",
grafana/dashboards/storagegrid/overview.json:              "expr": "8 * sum by (cluster,policy)(rate(storagegrid_private_load_balancer_storage_rx_bytes{cluster=~\"$Cluster\",policy=~\"$TopPolicyRx\"}[$__interval]))",
grafana/dashboards/storagegrid/overview.json:              "expr": "8 * sum by (cluster,policy)(rate(storagegrid_private_load_balancer_storage_tx_bytes{cluster=~\"$Cluster\",policy=~\"$TopPolicyTx\"}[$__interval]))",
grafana/dashboards/storagegrid/overview.json:              "expr": "sum by (cluster,policy)(rate(storagegrid_private_load_balancer_storage_request_count{cluster=~\"$Cluster\",policy=~\"$TopPolicyRequestCount\"}[$__interval])) > 0",
grafana/dashboards/storagegrid/overview.json:              "expr": "sum by (cluster,policy,code)(rate(storagegrid_private_load_balancer_storage_request_count{cluster=~\"$Cluster\",policy=~\"$TopPolicyRequestCount\",code=~\"[45].*\"}[$__interval])) > 0",
grafana/dashboards/storagegrid/overview.json:              "expr": "sum by (cluster,policy,method)(rate(storagegrid_private_load_balancer_storage_request_count{cluster=~\"$Cluster\",policy=~\"$TopPolicyRequestCount\"}[$__interval])) > 0",
grafana/dashboards/storagegrid/overview.json:              "expr": "sum by (cluster,policy,method)(rate(storagegrid_private_load_balancer_storage_request_time{cluster=~\"$Cluster\",policy=~\"$TopPolicyRequestTime\",code=~\"2.+\"}[$__interval])) / (sum by (cluster,policy,method)(rate(storagegrid_private_load_balancer_storage_request_count{cluster=~\"$Cluster\",policy=~\"$TopPolicyRequestTime\",code=~\"2.+\"}[$__interval]))) > 0",

@Bhagyasri-Dolly
Copy link

@cgrinds - i can pull the storage grid metrics (only default.yaml) metrics.
i want more metrics to be pulled from prometheus - how to define the template / objects

@Hardikl Hardikl linked a pull request Jun 20, 2024 that will close this issue
@Hardikl
Copy link
Contributor

Hardikl commented Jun 20, 2024

@cgrinds - i can pull the storage grid metrics (only default.yaml) metrics. i want more metrics to be pulled from prometheus - how to define the template / objects

@Bhagyasri-Dolly
Could you please elaborate on the use-case side, so we can help you out on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
24.08 feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants