chore: review article after reading

This commit is contained in:
Michele Cereda
2025-06-25 22:53:24 +02:00
parent 5f448b6ece
commit 9f0fec3e9f
2 changed files with 19 additions and 20 deletions

View File

@@ -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 -->

View File

@@ -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,14 +185,10 @@ 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' \
" "
``` ```
@@ -203,12 +196,13 @@ $ curl -sS \
## 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]