1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-21 21:31:55 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
Evangelos Foutras
733ad7cb24
grafana: rebase grafana.ini to grafana 9.3.0-1 2022-12-04 18:42:52 +02:00
Jan Alexander Steffens (heftig)
2c1c174169
grafana: Update synapse dashboard
Copy the latest dashboard from upstream, fixing the graphs.
2022-11-19 12:40:27 +01:00
Evangelos Foutras
ed19221404
keycloak: remove /auth from all Keycloak endpoints
From [1]: "By default, the new Quarkus distribution removes /auth from
           the context-path."

[1] https://www.keycloak.org/migration/migrating-to-quarkus
2022-11-12 17:33:36 +02:00
Evangelos Foutras
095a7d76e7
grafana: add dashboard w/ geo mirror traffic stats 2022-11-06 17:53:34 +02:00
Evangelos Foutras
27f1d4c7c4
grafana: rebase grafana.ini to grafana 9.2.3-1 2022-11-06 15:06:24 +02:00
Evangelos Foutras
927b8111c2
grafana: add blank line after auth.anonymous.enabled
Using an inline statement eats the blank line after it; to overcome this
switch to an inline expression, which also happens to be easier to read.
2022-10-24 16:28:36 +03:00
Evangelos Foutras
2762c7550b
grafana: comment out a few default/unused settings
- enable_gzip: grafana listens on localhost, nginx handles compression
- admin_user: initial admin creation is disabled in our config
- strict_transport_security: the same header is set by nginx
- strict_transport_security_max_age_seconds: unused without the above
2022-10-24 16:11:45 +03:00
Evangelos Foutras
f36323cf3f
grafana: rebase grafana.ini to grafana 9.2.0-1 2022-10-24 15:53:45 +03:00
moson-mo
29b025c42d grafana: update grafana dashboard for goaurrpc
* Show totals for the last 24 hours (instead of all time)
* Add total search requests pie chart

Signed-off-by: moson-mo <mo-son@mailbox.org>
2022-10-22 18:54:12 +00:00
Kristian Klausen
cd68bfc211
grafana: Fix disabled dashboards provisioning due to duplicates
Symlinking home.json to archive.json causes a duplicate, as both
dashboards have the same uid, and Grafana won't keep the dashboards
updated when there are duplicates[1]. Instead just change
default_home_dashboard_path to point to the archive.json dashboard.

[1] "dashboards provisioning provider has no database write permissions
     because of duplicates"
2022-10-22 17:44:20 +02:00
Leonidas Spyropoulos
87b2eddfae
aurweb: enable goaurrpc metrics and dashboard
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
Co-authored-by: Kristian Klausen <kristian@klausen.dk>
Co-authored-by: moson-mo <mo-son@mailbox.org>
2022-10-21 15:57:44 +01:00
Evangelos Foutras
1b9230881b
grafana: rebase grafana.ini to grafana 9.1.6-1 2022-09-21 20:46:28 +03:00
Evangelos Foutras
98d3fb8548
grafana: rebase grafana.ini to grafana 9.1.4-1 2022-09-14 20:02:52 +03:00
Evangelos Foutras
578b781966
Capitalize the handler name in handler invocations
Fixes: 26f289b72b ("Capitalize the first letter of all task names")
2022-08-29 21:46:39 +03:00
Evangelos Foutras
26f289b72b
Capitalize the first letter of all task names
ansible-lint 6.5.0 complains about:

  name: All names should start with an
        uppercase letter. (name[casing])
2022-08-23 06:57:13 +03:00
Evangelos Foutras
556a4f0b94
grafana: rebase grafana.ini to grafana 9.1.0-1 2022-08-18 08:40:50 +03:00
Jelle van der Waa
dd31a2c26d
grafana: update grafana config file 2022-08-16 21:33:44 +02:00
Evangelos Foutras
2d2c2ddb06
grafana: rebase grafana.ini to grafana 9.0.7-1 2022-08-12 18:35:20 +03:00
Leonidas Spyropoulos
e2e2beff40
grafana: filter http requests total for aur on job
http_requests_total  contains requests from debuginfo.al.org host
as well as from aur.al.org so filter them on job 'aurweb'

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-08-10 18:24:44 +03:00
Evangelos Foutras
2e7cce7650
grafana: rebase grafana.ini to grafana 9.0.2-1 2022-07-02 17:26:07 +03:00
Evangelos Foutras
a9e0790f53
Remove the three dashes from all YAML documents
These are used to signal the start of the document in a stream of many
documents. As Ansible only supports one YAML document per file this is
unnecessary. About a third of our YAML documents already lacked these.
2022-06-08 14:35:45 +03:00
Evangelos Foutras
8c680c2d66
grafana: rebase grafana.ini to grafana 8.5.4-1 2022-06-04 16:14:07 +03:00
Evangelos Foutras
8b7a231de0
grafana: rebase grafana.ini to grafana 8.4.5-2 2022-04-11 15:46:46 +03:00
Evangelos Foutras
58677706b9
grafana: rebase grafana.ini to grafana 8.4.3-1 2022-03-12 21:40:44 +02:00
Evangelos Foutras
9cca4439fc
grafana: node_exporter: fix a few hardcoded fields
Fixes these display counters which were tied to aur.archlinux.org:

- Uptime
- RootFS Total
- RAM Total
- SWAP Total

Also add a decimal point to the latter two fields.
2022-03-06 09:57:48 +02:00
Evangelos Foutras
4f851ab076
grafana: refresh node_exporter dashboard config
No changes made to it; this is to reduce noise in future modifications.
2022-03-06 09:42:01 +02:00
Kristian Klausen
cee5dd6f51 grafana: Update Loki dashboard
https://github.com/jenkins-x-charts/grafana-dashboard/pull/5
Kristian Klausen (2):
      loki: Use rate() for both loki_distributor_ingester_{appends,failure}_total
      loki: Fix panel title not starting with a capital letter
2022-02-23 20:51:52 +00:00
Kristian Klausen
f4c02c76f2
grafana: Make the database for dashboards.al.org stateless
We don't have any state for dashboards.archlinux.org we want to persist,
so to avoid any stale data in the database, start with a new empty
in-memory database every time Grafana starts.
2022-02-20 15:13:54 +01:00
Kristian Klausen
dce54587bc
grafana: Commit debuginfod dashboard
It has been on dashboards.archlinux.org for a few weeks.
2022-02-20 15:08:13 +01:00
Jelle van der Waa
b0a3a01cbe
Update AUR dashboard with http requests 2022-02-20 14:43:00 +01:00
Kristian Klausen
1e6eccccb3
grafana: Set the Host header to account for CSRF changes[1] in v8.3.5
Without this fix all the Prometheus dashboards failed loading data with:
"Error updating options: origin not allowed".

[1] https://github.com/grafana/grafana/issues/45117#issuecomment-1033842787
2022-02-15 20:58:14 +01:00
Evangelos Foutras
5783e6ec60
Update Borg Backups dashboard
Change storage box size from 10000 to 10240 GiB.
2022-02-07 16:12:27 +02:00
Levente Polyak
8ce033b2dd
grafana: disable version number for unauthenticated users 2022-01-11 23:19:41 +01:00
Levente Polyak
f11a6c590f
grafana: write conditional default values for easier vanilla config diff 2022-01-11 23:19:41 +01:00
Levente Polyak
6f90b24ee9
grafana: sync grafana.ini with latest package version 2022-01-11 23:19:41 +01:00
Jelle van der Waa
201b1c243c
Add Grafana dashboard / alert for SMART errors 2022-01-04 21:25:41 +01:00
Evangelos Foutras
578b751951
Update Borg Backups dashboard
Increase default time range from 90 days to 6 months.
2021-11-05 14:32:00 +02:00
Kristian Klausen
7b1d095835 grafana: Enable Unified Alerting and wire up with alertmanager
Grafana v8.2.0 added support for Prometheus's Alertmanager[1] which can
be used with the Unified Alerting added in v8.0.0[2].

[1] https://github.com/grafana/grafana/releases/tag/v8.2.0
[2] https://grafana.com/blog/2021/06/08/grafana-8.0-unified-grafana-and-prometheus-alerts-live-streaming-new-visualizations-and-more/
2021-10-16 23:01:44 +02:00
Kristian Klausen
d90bf55883 grafana: Update grafana.ini
Mostly changes from Grafana v8.0[1].

[1] https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v8-0/
2021-10-16 20:19:29 +02:00
Evangelos Foutras
65d793a808
Partially revert "Add polkit to phrik.archlinux.org"
This partially reverts commit c3d00264e6.

The smartd changes are not ready to land yet and were included in the
above commit by accident.
2021-09-22 09:25:23 +03:00
Jelle van der Waa
c3d00264e6
Add polkit to phrik.archlinux.org
phrik has a polkit rule for demize to restart phrik
2021-09-17 22:26:04 +02:00
Evangelos Foutras
ec85864d9b
Fix host variable selector in nginx dashboard 2021-09-06 10:23:09 +03:00
Leonidas Spyropoulos
24746910c7 prometheus: add matrix metrics and dashboard
The dashboards is from [1] and fixed with:
sed 's/${DS_PROMETHEUS}/$datasource/g' -i synapse.json

[1] c167e09fe5/contrib/grafana

Closes: #290

Signed-off-by: Leonidas Spyropoulos <artafinde@gmail.com>
2021-07-31 13:13:07 +02:00
Evangelos Foutras
897923fd96
Update Borg Backups dashboard
Mark "Free Space (Hetzner)" metric as instant for faster updates.
2021-07-11 05:46:34 +03:00
Kristian Klausen
896ab5b0ea
grafana: set cookie SameSite to strict 2021-07-08 02:44:36 +02:00
Kristian Klausen
a9ee7e5d8f
Send prometheus metrics and scrap its metrics over WireGuard 2021-07-07 00:58:43 +02:00
Thorben Günther
e7aa7f09a7 grafana: Use builtin functionality to restrict access
This reverts commit 649568e7 ("Restrict Grafana access to Arch Linux
Staff group on Keycloak (fixes #151)").
2021-07-06 22:53:04 +02:00
Evangelos Foutras
9795a8c386
Also track the free space on the storage box
As it turns out, the total size does not include the snapshots (feature
which we recently enabled). Record the free space so we can have a more
accurate picture of the usable space remaining.
2021-07-01 21:24:28 +03:00
Evangelos Foutras
78d804695c
Monitor the used and total size of the storage box
Now that we have enabled snapshots, summing all Borg repository sizes
has become a bad approximation of the total space used on the storage
box.
2021-06-30 19:07:01 +03:00
Evangelos Foutras
e1ad24fa2a
Add Borg Backups dashboard
Currently only tracks repo sizes and total backup space used (as a sum
of the former, not the real exact space used on each storage location).
2021-06-28 00:10:34 +03:00