[Improvement] add prometheus monitor metrics for kubeblocks
Is your improvement request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
If this is a new function, please describe the motivation and goals. A clear and concise description of why you want to happen, link the design doc if possible
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or fuctions you've considered.
Additional context Add any other context or screenshots about the improvement request here.
This issue has been marked as stale because it has been open for 30 days with no activity
will check this in 0.7.0
closed by https://github.com/apecloud/kubeblocks/issues/6611
- To enable runtime metrics, KubeBlocks must be deployed with
ENABLED_RUNTIME_METRICS=true, set following values when install KubeBlocks through HELM
# values.yaml
serviceMonitor:
enabled: true
goRuntime:
enabled: true
- To check the metrics/
curl <kb-pod-ip>:8080/metrics
Then you can customize the dashboard to your needs based on these metrics.