Commit graph

34 commits

Author SHA1 Message Date
ibizaman
5fd0b1dc83 fluentbit: remove tracing 2026-05-24 22:26:33 +02:00
ibizaman
db0b5df83d fluentbit: fix unit startup 2026-05-24 11:19:38 +02:00
ibizaman
f933f405b4 scrutiny: fix patch by rebasing in fork 2026-05-11 01:27:27 +02:00
ibizaman
acee18e7a3 monitoring: switch to fluent-bit 2026-05-11 01:27:27 +02:00
ibizaman
419c339266 monitoring: reduce metrics scraping interval from 1m to 15s 2026-03-22 22:22:53 +01:00
ibizaman
0dc2406b6a scrutiny: init 2026-03-12 23:24:41 +01:00
ibizaman
c7cf3cce13 monitoring: contact points is now always needed it seems 2026-03-12 20:43:43 +01:00
ibizaman
f485cc60fe homepage: init with dashboard contract 2026-02-24 20:00:36 +01:00
ibizaman
6a74419271 monitoring: move dashboards into related modules 2026-01-22 12:07:58 +01:00
ibizaman
7787957488 monitoring: add module option to add dashboards to grafana 2026-01-22 12:07:58 +01:00
ibizaman
80b4388044 mod: simplify by moving overlay to corresponding module 2025-12-03 22:19:45 +01:00
ibizaman
c10cab627f mod: use explicit shb argument to pass lib 2025-12-03 22:19:45 +01:00
ibizaman
e0055e97e9 monitoring: ensure admin group 2025-12-03 22:19:45 +01:00
ibizaman
1cf6f6a2fe monitoring: add sso integration 2025-11-21 09:52:13 +01:00
ibizaman
583b562ec2 monitoring: fix app name 2025-11-21 09:52:13 +01:00
ibizaman
693541e78f monitoring: add backup scheduling 2025-11-17 21:58:38 +01:00
ibizaman
e04ea6cb24 monitoring: surround with mkMerge 2025-11-17 21:58:38 +01:00
ibizaman
f37a9fbb9c monitoring: enable erroneously disabled scrapers 2025-10-29 23:49:07 +01:00
ibizaman
48802553de chore: format all files 2025-10-28 22:17:00 +01:00
Piotr Gaczkowski
d9a149eca2 Fix Grafana SMTP from_name 2025-06-04 00:54:57 +02:00
ibizaman
a784c08761 add domain and hostname labels 2024-12-25 13:05:59 +01:00
Pierre Penninckx
5056d203d9
update secret contract and add sops module (#356)
I find these `mkProvider` and `mkRequester` functions really nice.

Also fixes doc generation related to  https://github.com/NixOS/nixpkgs/pull/353513
2024-11-21 12:51:57 -08:00
Pierre Penninckx
eb791b3019
flake.lock: Update (#244)
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action.

```
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9ca3f649614213b2aaf5f1e16ec06952fe4c2632?narHash=sha256-7EXDb5WBw%2Bd004Agt%2BJHC/Oyh/KTUglOaQ4MNjBbo5w%3D' (2024-05-27)
  → 'github:nixos/nixpkgs/71e91c409d1e654808b2621f28a327acfdad8dc2?narHash=sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w%3D' (2024-08-28)
```

### Running GitHub Actions on this PR

GitHub Actions will not run workflows on pull requests which are opened
by a GitHub Action.

To run GitHub Actions workflows on this PR, run:

```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-31 07:57:21 +00:00
Pierre Penninckx
10dea06ec1
Fix backup contract secrets (#280) 2024-08-22 19:48:36 +00:00
Pierre Penninckx
dc46ec8eda
Fix prometheus exporter not accessing nvme hard drives (#238) 2024-05-13 09:00:38 -07:00
Pierre Penninckx
222dfa755c
Revert to loki v2 (#230)
This is needed because v3 requires manual intervention to upgrade
otherwise Loki refuses to start. So until there's a fix, reverting is
the easiest fix.
2024-04-21 23:07:32 -07:00
ibizaman
adc09acc49 use contract for ssl block 2024-01-19 10:48:10 -08:00
ibizaman
6f71d64257 switch to netdata to pull most of the metrics 2023-12-17 23:31:33 -08:00
ibizaman
036d2b92a5 fix grafana not being able to load dashboards 2023-12-17 23:31:33 -08:00
Pierre Penninckx
a63b0a6e2e
switch to nixos-render-docs (#34)
fixes #33
2023-12-04 00:33:16 -08:00
Pierre Penninckx
7d9dedb845
provision grafana datasources and some dashboards (#23)
fixes #22 

This commit introduces:
- A few more optional options for the monitoring module, in particular
an SMTP option to setup sending alerts with an STMP server.
- 2 required options for adding a secure key for signing and for an
initial admin password. The latter is nice because at least you can
choose securely the initial admin password instead of it being just
"admin", adding a bit more security to the install process.
- Provisioning Grafana with dashboards, datasources, alerts, contact
points and notification policies.
- Documentation for monitoring in
[docs/blocks/monitoring.md](docs/blocks/monitoring.md).
- A NixOS test that makes sure provisioning did go well as expected.
2023-11-26 09:56:08 -08:00
ibizaman
881af5f111 add more collectors to prometheus node exporter 2023-11-24 20:18:12 -08:00
Pierre Penninckx
52b9233a6c
add postgresql vm test that runs in CI (#19)
Fixes #14 

The tests actually showed a flaw in the implementation, we needed
"password" and not "trust" in the auth file.

Also, having the port defined at the same time as enabling listening for
TCP/IP connection made no sense.
2023-11-23 01:03:33 -08:00
Pierre Penninckx
eae5eade56
distinguish building blocks and provided services
I want to show how composable this project is. For example, you could
just use the Authelia module to add SSO to any service, not just those
provided here.
2023-11-20 22:20:19 -08:00
Renamed from modules/monitoring.nix (Browse further)