-
Notifications
You must be signed in to change notification settings - Fork 817
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
Update prometheus and grafana #1850
Update prometheus and grafana #1850
Conversation
build/grafana.yaml
Outdated
@@ -37,6 +37,6 @@ datasources: | |||
datasources: | |||
- name: Prometheus | |||
type: prometheus | |||
url: http://prom-prometheus-server.metrics.svc.cluster.local:80/ | |||
url: http://prometheus-server.metrics.svc.cluster.local:80/ |
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.
This is the effect of changing the name of the installation from prom to prometheus.
If there is no reason, I think the same as the chart name is good.
It is because the name can be shortened.
In the case of grafana, it's the same as the chart name.
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'm a bit hesitant to change this name, because of backward compatibility.
If people are pulling this file down from release branches as part of their install process, this could break things for them, no?
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.
That's certainly going to be a problem in that case.
I'll change it to the original release name.
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.
Thanks for your comment. Fixed.
helm repo add grafana https://grafana.github.io/helm-charts | ||
helm repo update | ||
|
||
helm upgrade --install --wait grafana grafana/grafana --version=5.7.10 --namespace metrics \ |
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.
The same commands can be used to install and upgrade, so it has been modified to use upgrade.
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | ||
helm repo update | ||
|
||
helm upgrade --install --wait prometheus prometheus-community/prometheus --version 11.16.2 --namespace metrics \ |
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.
The version was fixed in grafana, so I fixed this one too.
Just out of curiosity, won't grafana and prometheus be tied to the agones chart? ...
grafana:
enabled: true
service:
port: 3000
...
prometheus:
enabled: true
alertmanager:
enabled: false
... It's as if you can disable it by using enabled. |
Build Succeeded 👏 Build Id: ce37ee9c-d7bd-4c1c-b541-62cd8e0dc519 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
0bdbbf7
to
6edd7f6
Compare
Build Succeeded 👏 Build Id: ba225989-e2c7-4186-9881-71b5657e455e The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
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.
Just tested! Working great!
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 8398a7, markmandel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1 similar comment
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 8398a7, markmandel The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Updated the install instructions for our dev tooling to match PR googleforgames#1850
Build Succeeded 👏 Build Id: 6beb140a-0126-4199-a1cc-d1a7d74c1854 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Updated the install instructions for our dev tooling to match PR googleforgames#1850
Updated the install instructions for our dev tooling to match PR #1850 Co-authored-by: Robert Bailey <robertbailey@google.com>
…leforgames#1850) Co-authored-by: Mark Mandel <markmandel@google.com>
Updated the install instructions for our dev tooling to match PR googleforgames#1850 Co-authored-by: Robert Bailey <robertbailey@google.com>
What type of PR is this?
/kind documentation
What this PR does / Why we need it:
This is because the prometheus and grafana charts are deprecated.
Which issue(s) this PR fixes:
Closes #1829
Special notes for your reviewer:
I used the agones chart in 1.9.0 to verify this.
Existing grafana dashboards also seem to work fine.