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

Importing Grafana dashboard based on kube metaheus stack, hoping to be helpful to everyone #1887

Open
junlintianxiazhifulinzhongguo opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels

Comments

@junlintianxiazhifulinzhongguo
Copy link

junlintianxiazhifulinzhongguo commented Dec 11, 2024

The metrics section only needs to be configured as follows, there is no need to configure anything else, otherwise promethues may not be able to collect data

[root@master1 harbor]# helm pull harbor/harbor --version 1.16.0
[root@master1 harbor]#  vim values.yaml
......
......
metrics:  
  enabled: true
  serviceMonitor:
    enabled: true
......
......

reference resources:

effect:

image
image
image

image

image

grafana-harbor.json Template

helm-harbor-kube-prometheus-stack-grafana.json

@MinerYang
Copy link
Collaborator

MinerYang commented Dec 16, 2024

Thanks for the sharing!
And we having a more detailed wiki page for setting the metrics, you could refer this for more contexts
https://github.com/goharbor/perf/wiki/How-to-setup-a-monitoring-environment(kubernetes)

@MinerYang MinerYang reopened this Dec 16, 2024
Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants