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 удалений

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

@@ -35,6 +35,8 @@ func main() {
"keycloak": 8080,
"prometheus": 9090,
"grafana": 3000,
"loki": 3100,
"promtail": 3180,
"mysql-read-replica": 3306, // FIXME: not recognizing the successfully running service on port 3307.
}
command := []string{}