-
Notifications
You must be signed in to change notification settings - Fork 55
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
Metrics investigation for CSI driver and dashboard creation on Grafana #274
Conversation
added legend to explain the graphs
- Added shell script to install prometheus and grafana
- added custom dashboard JSON file
- moved files into observability directory - updated readme and documentation in observability.md
# Conflicts: # Makefile
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #274 +/- ##
=======================================
Coverage 76.32% 76.32%
=======================================
Files 21 21
Lines 1622 1622
=======================================
Hits 1238 1238
Misses 286 286
Partials 98 98 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Rahul Sharma <[email protected]>
Co-authored-by: amold1 <[email protected]>
Co-authored-by: Rahul Sharma <[email protected]>
Co-authored-by: Rahul Sharma <[email protected]>
Co-authored-by: Rahul Sharma <[email protected]>
…period, port - updated observability.md to find the PID incase a user doesn't have access to script output - moved dashboard.json to observability dir
@@ -44,6 +44,11 @@ spec: | |||
- "--volume-name-uuid-length=16" | |||
- "--csi-address=$(ADDRESS)" | |||
- "--v=2" | |||
- "--metrics-address=0.0.0.0:10248" |
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.
Could we potentially move all of the metrics related yaml updates to the helm chart on an opt in basis instead of here by default?
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.
Agree with Evan. If we can do this, that would be a better approach.
- added loadbalancer service to avoid port-forwarding
@@ -365,7 +365,7 @@ spec: | |||
secretKeyRef: | |||
key: token | |||
name: linode | |||
image: linode/linode-blockstorage-csi-driver:latest | |||
image: linode/linode-blockstorage-csi-driver:metrics-endpoint |
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.
I think we want to rever this to latest
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: csi-linode-controller-metrics-10248 |
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.
can we rename these services to represent what they are going to(attacher/provisoiner/resizer)
@@ -0,0 +1,62 @@ | |||
apiVersion: v1 |
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.
can this be moved into the helm chart templates and conditionally created if the related metrics endpoints are enabled?
- added new line - removed unused files
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.
LGTM!
General: This PR investigates the metrics provided by the side cars of the csi driver and uses prometheus to scrape them. It also includes implementation of make targets to automate the creation of a grafana dashboard for a user to inspect the metrics.
Pull Request Guidelines: