mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
chore: review article after reading
This commit is contained in:
@@ -378,7 +378,8 @@ All the references in the [further readings] section, plus the following:
|
|||||||
- [6 Bash tricks you can use daily]
|
- [6 Bash tricks you can use daily]
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
References
|
Reference
|
||||||
|
═╬═Time══
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- In-article sections -->
|
<!-- In-article sections -->
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Open-source platform for monitoring and observability.
|
|||||||
1. [Dashboards](#dashboards)
|
1. [Dashboards](#dashboards)
|
||||||
1. [Dashboards of interest](#dashboards-of-interest)
|
1. [Dashboards of interest](#dashboards-of-interest)
|
||||||
1. [Alerting](#alerting)
|
1. [Alerting](#alerting)
|
||||||
|
1. [APIs](#apis)
|
||||||
1. [Further readings](#further-readings)
|
1. [Further readings](#further-readings)
|
||||||
1. [Sources](#sources)
|
1. [Sources](#sources)
|
||||||
|
|
||||||
@@ -34,14 +35,10 @@ GET /api/health
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Export all existing dashboards by ID.
|
# Export all existing dashboards by ID.
|
||||||
curl -sS \
|
curl -sS 'http://grafana:3000/api/search' -H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
||||||
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
|
||||||
'http://grafana:3000/api/search' \
|
|
||||||
| jq -r '.[].uid' - \
|
| jq -r '.[].uid' - \
|
||||||
| parallel " \
|
| parallel " \
|
||||||
curl -sS \
|
curl -sS 'http://grafana:3000/api/dashboards/uid/{}' -H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
||||||
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
|
||||||
'http://grafana:3000/api/dashboards/uid/{}' \
|
|
||||||
> '{}.json' \
|
> '{}.json' \
|
||||||
"
|
"
|
||||||
```
|
```
|
||||||
@@ -188,27 +185,24 @@ Save existing dashboards like [you would for the datasources][datasources provis
|
|||||||
Save the dashboard definitions in JSON files in the path searched by the provider (e.g. `/var/lib/grafana/dashboards`).
|
Save the dashboard definitions in JSON files in the path searched by the provider (e.g. `/var/lib/grafana/dashboards`).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ curl -sS \
|
curl -sS 'http://grafana:3000/api/search' -H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
||||||
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
|
||||||
'http://grafana:3000/api/search' \
|
|
||||||
| jq -r '.[].uid' - \
|
| jq -r '.[].uid' - \
|
||||||
| parallel " \
|
| parallel " \
|
||||||
curl -sS \
|
curl -sS 'http://grafana:3000/api/dashboards/uid/{}' -H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
||||||
-H 'Authorization: Basic YWRtaW46YWRtaW4=' \
|
|
||||||
'http://grafana:3000/api/dashboards/uid/{}' \
|
|
||||||
> '/var/lib/grafana/dashboards/{}.json' \
|
> '/var/lib/grafana/dashboards/{}.json' \
|
||||||
"
|
"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Dashboards of interest
|
## Dashboards of interest
|
||||||
|
|
||||||
| Name | Grafana ID | URLs |
|
| Name | Grafana ID | URLs |
|
||||||
| ------------------------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| Node exporter full | 1860 | [grafana](https://grafana.com/grafana/dashboards/1860-node-exporter-full/), [github raw](https://raw.githubusercontent.com/rfmoz/grafana-dashboards/master/prometheus/node-exporter-full.json) |
|
| Node exporter full | 1860 | [summary](https://grafana.com/grafana/dashboards/1860-node-exporter-full/)<br/>[code](https://raw.githubusercontent.com/rfmoz/grafana-dashboards/master/prometheus/node-exporter-full.json) |
|
||||||
| OpenWRT | 11147 | [grafana](https://grafana.com/grafana/dashboards/11147-openwrt/) |
|
| OpenWRT | 11147 | [summary](https://grafana.com/grafana/dashboards/11147-openwrt/)<br/>[code](https://raw.githubusercontent.com/try2codesecure/grafana_dashboards/refs/heads/master/OpenWRT/openwrt.json) |
|
||||||
| prometheus 2.0 overview | 3662 | FIXME |
|
| Prometheus | 19105 | [summary](https://grafana.com/grafana/dashboards/19105-prometheus/)<br/>[code](https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/refs/heads/master/dashboards/k8s-addons-prometheus.json) |
|
||||||
| kubernetes cluster (prometheus) | 6417 | FIXME |
|
| Kubernetes Cluster (Prometheus) | 6417 | [summary](https://grafana.com/grafana/dashboards/6417-kubernetes-cluster-prometheus/) |
|
||||||
| Nextcloud | 9632 | FIXME |
|
| Kubernetes cluster monitoring (via Prometheus) | 315 | [summary](https://grafana.com/grafana/dashboards/315-kubernetes-cluster-monitoring-via-prometheus/) |
|
||||||
|
| Nextcloud | 20716 | [summary](https://grafana.com/grafana/dashboards/20716-nextcloud/) |
|
||||||
|
|
||||||
## Alerting
|
## Alerting
|
||||||
|
|
||||||
@@ -217,6 +211,10 @@ Refer [alerting] and [Get started with Grafana Alerting].
|
|||||||
1. Create a contact point if not existing already.
|
1. Create a contact point if not existing already.
|
||||||
1. Create an alert rule.
|
1. Create an alert rule.
|
||||||
|
|
||||||
|
## APIs
|
||||||
|
|
||||||
|
Refer [HTTP API reference].
|
||||||
|
|
||||||
## Further readings
|
## Further readings
|
||||||
|
|
||||||
- [Website]
|
- [Website]
|
||||||
|
|||||||
Reference in New Issue
Block a user