Commit graph

33 commits

Author SHA1 Message Date
Payas Relekar
a904cb31c6 loki: rename host to bebop 2023-06-11 11:43:10 +05:30
Payas Relekar
4cc3f7ca7e grafana: Fix nix API 2023-06-11 11:31:21 +05:30
Payas Relekar
200957e858 monitoring: Add Loki + promtail 2023-06-11 11:29:39 +05:30
Payas Relekar
c78c541dd6 grafana: declarative datasources 2023-06-11 11:29:21 +05:30
Payas Relekar
274e99a781 victoriametrics: retain for 4 years
Sounds overkill, but seeing my grafana for a year's metrics was quite
revealing. I'd like to keep that possibility
2023-06-10 18:45:10 +05:30
Payas Relekar
6591259b70 grafana: Disable public dashboard 2023-06-10 16:25:41 +05:30
Payas Relekar
758c67ef29 grafana: enable public dashboards 2023-06-10 15:14:58 +05:30
Payas Relekar
d35692f32f grafana: change default org name 2023-06-10 15:11:59 +05:30
Payas Relekar
0a042d8fab monitoring: replace prometheus with victoriametrics
VictoriaMetrics is known to be less resource intensive compared to
prometheus.

Prometheus' node_exporter is still used to scrape data from systemd,
because it is very good, but entire Prometheus scraper and data storage
is no longer necessary. The complete Node Exporter Full dashboard is
also very nice to look at :)
2023-06-10 15:03:36 +05:30
Payas Relekar
3c9fc4014b victoriametrics: try to use prometheus node-exporter's port 2023-06-10 14:54:04 +05:30
Payas Relekar
00f1905629 grafana: enable websockets 2023-06-10 14:51:09 +05:30
Payas Relekar
17a19bf157 monitoring: multiple changes
- remove OpenWRT, systemd, influxdb and pihole configs (I'll think about
them later)
- remove telegraf
- enable prometheus + node-exporter
- grafana: update domain
2023-06-10 14:46:00 +05:30
Payas Relekar
bf84e931d1 monitoring: disable prometheus exporters 2023-06-10 14:29:56 +05:30
Payas Relekar
3b0174fb1a monitoring: initial config for victoriametrics 2023-06-10 14:26:58 +05:30
d433c404f8 grafana: move domain config 2023-06-10 00:03:54 +05:30
27da96a552 grafana: try to fix origin 2023-06-05 04:35:20 +05:30
931678140b grafana: another attempt to fix anonymous auth 2023-06-05 03:51:42 +05:30
0ae5726697 grafana: another attempt at anonymous login 2023-06-05 03:10:47 +05:30
511da815a3 Revert "grafana: Allow anonymous auth"
This reverts commit 2faa1f0c7a.
2023-06-05 03:04:09 +05:30
66341a4fda Revert "grafana: allow anonymous viewer"
This reverts commit bf7142cf37.
2023-06-05 03:04:07 +05:30
bf7142cf37 grafana: allow anonymous viewer 2023-06-05 03:03:06 +05:30
2faa1f0c7a grafana: Allow anonymous auth 2023-06-05 02:53:23 +05:30
06d1be47a7 monitoring: Add extra collectors to prometheus node
Does NOT work
2023-05-21 11:19:42 +05:30
f7a53e19e7 monitoring: Add new job for every target
Doesn NOT work
2023-05-21 11:19:23 +05:30
6541afb931 monitoring: Add job to scrape metrics from OpenWRT 2023-05-21 11:10:05 +05:30
7e1e1eb17d monitoring: remove zabbix 2023-05-21 11:09:45 +05:30
8cf2aec09f monitoring: Add new exporters and their scraping for Prometheus
- Systemd
- influxdb
- pihole
2023-05-18 22:15:03 +05:30
c3ca54be60 grafana: Disable analytics
I'm surprised at Nixpkgs keeping them enabled by default :(
2023-05-17 00:15:26 +05:30
34cadf5c84 monitoring: Initial config for zabbix 2023-04-29 13:14:29 +05:30
8fb55cfa17 bebop: Update to changed options 2023-04-23 18:26:03 +05:30
3d4a2ba8b2 Monitoring: Disable Nginx reverse proxy
It is not needed to display grafana afterall. If I need it to show things in
future from a (truly) remote host, I'll think about it.
2022-04-21 22:39:39 +05:30
2aaf27998e Monitoring: Add telegraf+influxdb data source
Still needs to be added to grafana imperatively, but that is something that will
take a lot of time, and need to understand my own pattern.

The board that I have copied over is not very useful, has too much info that I
don't need, and needs to have some more inputs from telegraf configured. So this
is a long term proejct, and can be safely ignored as *done* for now.
2022-04-20 00:01:03 +05:30
008e831bff Monitoring: Enable monitoring using Prometheus+grafana+systemd
TODO: Add Loki for logs

resource:
https://christine.website/blog/prometheus-grafana-loki-nixos-2020-11-20
2022-04-18 23:16:29 +05:30