Add Service Definitions: Loki and Promtail#376
Conversation
|
I'm stuck at and every request 404's. I've tried a completely fresh environment and toolchain, but nothing is working and I'm blocked on testing this change |
|
That's expected, static web assets are only bundled and served by the server in the docker image. For dev, run make dev-ui alongside make dev-server to start the svelte UI server; then you can make an account and get authed correctly. |
|
ah - that makes sense. I tried |
|
Gotcha, yeah for the time being in order to auth you'll need to log in and create a session to hit the endpoints needed to test. |
|
I was planning on accessing the dev server's ui from my laptop's browser and/or putting a proxy or tunnel in front of it (if it only listens at localhost) I'll see if there's some workaround to vite requiring graphics in order to run |
1185a47 to
b855db3
Compare
Add Service Definitions: Loki and Promtail
Add service definition for Grafana Loki and Promtail
Description: Grafana Loki is a logging centralization and query tool. Promtail is an agent that forwards logs to that service.
Official Website: https://github.com/grafana/loki
Default Ports: Loki defaults to
tcp/3100and Promtail defaults totcp/9080Discovery Method: Both services have a
loki_build_infoandpromtail_build_infometric present at the/metricsendpoint. The Promtail service also has a/targetsUI that contains the project name.Icon Source: Dashboard icons (note: I think that the Loki logo is valid for both of these, as the promtail service is an agent of Loki, and is released under the same github page)
Testing:
Testing Details:
I'm still trying to set up the dev toolchain and build a full server to locally test, but it hasn't been going well. I figured I'd get the PR in and keep trying in parallel.