grafana / docker-otel-lgtm

OpenTelemetry backend in a Docker image
Apache License 2.0
324 stars 60 forks source link

docs: adds some information about persistant data #34

Closed vincenzopalazzo closed 7 months ago

vincenzopalazzo commented 7 months ago

I noted that the docker is not persistent so with every restart the data are wiped.

it is possible to add some information to keep the data stored in the host disk?

zeitlinger commented 7 months ago

I actually like the fact that you always start from a clean state.

I guess we could create an alternative persistent docker image. @fstab wdyt?

vincenzopalazzo commented 7 months ago

I actually like the fact that you always start from a clean state.

true but it is not fan lost the state in case of the system crash?

zeitlinger commented 7 months ago

The docker image was actually meant to play around - not for production use.

How do you use it?

vincenzopalazzo commented 7 months ago

The docker image was actually meant to play around - not for production use.

I was looking for an easy-to-use docker image to collect logs with open telemetry and due that I am not a docker person, this was really hard. I think your docker is really useful for people that want to collect logs or traces with this tech stack

zeitlinger commented 7 months ago

great feedback - I have to discuss this internally to see what our recommended solution for your use case is.

zeitlinger commented 7 months ago

Confirmed

If you're looking for a particular piece only, such as Loki, you can use the respective images, e.g. https://hub.docker.com/r/grafana/loki