mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 21:29:33 +01:00
e483c81ce9
* Collate upstream rules, alerts, and dashboards and tune for use in Typhoon * Previously, a well-chosen (but older) set of rules, alerts, and dashboards were maintained to reflect metric name changes
22 lines
662 B
Markdown
22 lines
662 B
Markdown
## Grafana
|
|
|
|
Grafana can be used to build dashboards and visualizations that use Prometheus as the datasource. Create the grafana deployment and service.
|
|
|
|
```
|
|
kubectl apply -f addons/grafana -R
|
|
```
|
|
|
|
Use `kubectl` to authenticate to the apiserver and create a local port-forward to the Grafana pod.
|
|
|
|
```
|
|
kubectl port-forward grafana-POD-ID 8080 -n monitoring
|
|
```
|
|
|
|
Visit [127.0.0.1:8080](http://127.0.0.1:8080) to view the bundled dashboards.
|
|
|
|
![Grafana etcd](../img/grafana-etcd.png)
|
|
![Grafana resources cluster](../img/grafana-resources-cluster.png)
|
|
![Grafana usage cluster](../img/grafana-usage-cluster.png)
|
|
![Grafana usage node](../img/grafana-usage-node.png)
|
|
|