Commit Graph

117 Commits

Author SHA1 Message Date
d199ebe1f7 Change path_prefix to loki-logs 2022-07-14 14:28:03 -07:00
fe2ce31c47 Switch to using common block to define chunks and rules directories 2022-07-14 14:14:21 -07:00
e28bbcc674 Uncomment common config 2022-07-14 14:10:49 -07:00
ac36fb2b3e Explicitly elevate to root 2022-07-14 14:10:08 -07:00
fb81db3336 Disable volume map 2022-07-14 14:07:50 -07:00
851cb52aac Try again 2022-07-14 13:59:43 -07:00
b0b4a65e36 Switch to local_storage_config with /loki-logs 2022-07-14 13:56:26 -07:00
b501fcf020 Remove loki storage binding 2022-07-14 13:47:56 -07:00
45fd10df15 Persist loki log storage 2022-07-14 13:44:43 -07:00
2060584229 Update pihole exporter config 2022-07-14 00:07:54 -07:00
54124da9d1 #31 Add Loki logging for all "main" apps
Also converted a few old composes from 4-space indentation to 2-space
Ignores supporting containers like postgres, redis, etc.
2022-07-13 13:35:56 -07:00
9ed2c76fc8 Add log_tags link 2022-07-13 12:51:57 -07:00
3cc35fa4d8 Add docker logging docs 2022-07-13 12:50:39 -07:00
af1e3a3571 Update Loki docs 2022-07-13 12:14:38 -07:00
df054da499 Disable auto-start for all containers. (Set all restart: "no") 2022-07-13 10:47:27 -07:00
1ef7a1f9be Fix for:
time="2022-07-11T18:01:05Z" level=error msg="Unable to obtain ACME certificate for domains \"loki-monitoring\": unable to generate a certificate for the domains [loki-monitoring]: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Error creating new order :: Cannot issue for \"loki-monitoring\": Domain name needs at least one dot" ACME CA="https://acme-v02.api.letsencrypt.org/directory" routerName=prometheus@docker rule="Host(`loki-monitoring`)" providerName=lets-encrypt.acme
2022-07-11 11:02:21 -07:00
94c898ae6e Add authentik to prometheus 2022-07-10 16:04:10 -07:00
bed490e6c2 Fix overlapping router name 2022-07-10 16:01:15 -07:00
0730545d41 Update plex token 2022-07-09 01:09:48 -07:00
b0cd68e05b Remove dead prometheus jobs 2022-07-09 01:05:37 -07:00
9b87035d2f Enable automatic oauth 2022-07-08 23:37:07 -07:00
7061652edd Remove role mapping 2022-07-08 23:33:41 -07:00
93356aabe5 Init grafana OAuth2 with Authentik
Per Authentik: https://goauthentik.io/integrations/services/grafana/
And Grafana: https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/generic-oauth/
2022-07-08 23:31:04 -07:00
a1e21f674e Fix path 2022-07-08 11:12:20 -07:00
7cffa6513a Fix indentation 2022-07-08 11:11:46 -07:00
ee6ff79b8d Update docs 2022-07-08 11:10:33 -07:00
a4b9200a37 Remove dangling promtail-config 2022-07-08 10:48:57 -07:00
ab31af5e33 Remove superfluous promtail 2022-07-08 10:48:36 -07:00
cd3be3c088 Remove entry_parser 2022-07-08 01:32:31 -07:00
9ffd267145 Fix indentation 2022-07-08 01:31:00 -07:00
1e0a1fee1c Disable other jobs 2022-07-08 01:28:15 -07:00
5496ea400c Implement ruanbekker's job 2022-07-08 01:27:27 -07:00
83b84fd0cd Add docker_sd job 2022-07-08 01:18:17 -07:00
6eaf80cb44 Switch back to TechnoTim's log scraping method 2022-07-08 01:09:35 -07:00
1dfdbde52b Run loki as default user 2022-07-08 01:01:24 -07:00
d1df32e63c Run promtail as default user 2022-07-08 00:56:51 -07:00
c4278e32d5 Fix typo 2022-07-08 00:56:21 -07:00
2e947e075c Disable :ro due to permissions errors 2022-07-08 00:55:53 -07:00
549927b387 - Switch back to 1000:1000
- Mount docker socket read-only
- Use docker service discovery
2022-07-08 00:54:24 -07:00
852edc1ace Test with 0:0 2022-07-08 00:35:34 -07:00
d646d61ee0 Fix typo 2022-07-08 00:32:53 -07:00
11c34a70e7 make container volume map explicitly read-only 2022-07-08 00:30:44 -07:00
0d1c273a16 Map /var/lib/docker/containers to promtail 2022-07-08 00:21:58 -07:00
45af08b682 Fix promtail config indentation 2022-07-07 23:32:56 -07:00
0e90367495 Fix job indentation 2022-07-07 23:30:13 -07:00
dbc04d9a74 Switch from machine logs to docker logs 2022-07-07 23:25:09 -07:00
7c0d6e1354 Fix typo 2022-07-07 23:20:02 -07:00
81c2eafdf1 Clarify new daemon.json 2022-07-07 23:16:52 -07:00
0d503e917c Init loki & promtail 2022-07-07 23:12:57 -07:00
f4e79aa19a Add fantasy realm server to exporter 2022-06-29 11:10:59 -07:00
0d61ec65bd Add doc, enable anonymouse access 2022-06-21 23:31:21 -07:00
e92913f7d8 Enable unprivileged viewing of dashboards 2022-06-21 23:28:51 -07:00
2ff97328fc Undo previous 2022-06-21 23:24:16 -07:00
e424a65b68 Add grafana-image-renderer plugin to Grafana 2022-06-21 23:20:24 -07:00
29befbc369 Update Uptime Kuma prom config 2022-05-16 17:38:11 -07:00
79fa6396bb Update custom.ini 2022-05-13 09:37:26 -07:00
12d2e8bf20 Update custom.ini 2022-05-13 09:35:12 -07:00
1f5f9a1a63 Fix ini formatting 2022-05-13 09:34:32 -07:00
32d87ec4ed Migrate dashboards 2022-05-13 00:57:12 -07:00
17fc1eaf78 Update dashboards 2022-05-13 00:52:03 -07:00
40f4fee906 Switch to custom.ini 2022-05-13 00:36:59 -07:00
4637d883b5 Update and re-implement grafana.ini 2022-05-13 00:33:51 -07:00
0176210592 Document Grafana dashboards 2022-05-12 22:07:25 -07:00
0a51bcf2d6 Disable grafana.ini 2022-05-12 22:00:16 -07:00
fcbe57f175 Fix user ID for Prom 2022-05-12 21:52:33 -07:00
3dfe8669e4 Add persistent storage for Prometheus 2022-05-12 21:48:08 -07:00
e200e96e28 Consolidate Grafana-stack and prometheus into Monitoring 2022-05-12 21:36:21 -07:00