configure Loki for local development (#26997)

* configure Loki for local development

Extend our docker compose setup to include Loki (along with promtail), scraping `logs/*.log` to ingest development logs as well as all logs from running containers.

While we're in here, teach Prometheus to scrape metrics from Docker containers too.

* tweak promtail labels

* document extra services in config.mk

* update home.json
Этот коммит содержится в:
Jesse Hallam
2024-05-16 12:16:08 -03:00
коммит произвёл GitHub
родитель 65325a767c
Коммит 617053e206
10 изменённых файлов: 473 добавлений и 40 удалений

Просмотреть файл

@@ -0,0 +1,11 @@
apiVersion: 1
datasources:
- name: Loki
type: 'loki'
access: 'proxy'
orgId: 1
url: 'http://loki:3100'
isDefault: false
version: 1
editable: false