kubeblocks icon indicating copy to clipboard operation
kubeblocks copied to clipboard

[Improvement] add prometheus monitor metrics for kubeblocks

Open yimeisun opened this issue 2 years ago • 2 comments

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.

yimeisun avatar Mar 29 '23 14:03 yimeisun

This issue has been marked as stale because it has been open for 30 days with no activity

github-actions[bot] avatar May 01 '23 00:05 github-actions[bot]

will check this in 0.7.0

free6om avatar Jun 09 '23 06:06 free6om

closed by https://github.com/apecloud/kubeblocks/issues/6611

  1. 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
  1. To check the metrics/
curl <kb-pod-ip>:8080/metrics

Then you can customize the dashboard to your needs based on these metrics.

shanshanying avatar Feb 11 '25 03:02 shanshanying