grafana / killercoda

This repository holds tutorials designed and hosted on Killercoda and interactive education platform.
https://killercoda.com/
Apache License 2.0
2 stars 4 forks source link

Alloy crashes after a few seconds in Loki Quickstart Demo #4

Open rfratto opened 1 month ago

rfratto commented 1 month ago

After starting the Docker Compose environment, Alloy crashes after a few seconds of running the loki.source.docker component.

I've tracked this down to a bug in the v1.1.0 release of Alloy. There is a fix available (grafana/alloy#875), but it hasn't been published as a patch release yet.

There are two workarounds I can identify:

If one of the two workarounds above are used, the pin can be removed either when a v1.1.1 patch release is published with the fix, or when v1.2 comes out.

Jayclifford345 commented 1 month ago

Hi @rfratto, This is awesome thank you for the update and I will get this fixed!

Jayclifford345 commented 1 month ago

@rfratto I have added a hotfix to the tutorial sandbox for now which replaces Alloy with the latest Alloy-dev image. Once 1.2.0 releases I will remove this section from the sandbox. The docker-compose for the tutorial lies in the main Loki repo so this was a not so pretty work around. Just chatting with the team to see what the best route for the actual docker compose file is

Jayclifford345 commented 1 month ago

That's the main repo moved over to alloy-dev for now. I shall leave this issue open to remind myself to put it back on the official release of 1.2.0. Thanks again for letting me know @rfratto !

rfratto commented 1 month ago

@Jayclifford345 I just published v1.1.1 with the bugfix today, so this could be updated to that now :)