grafana/docker-otel-lgtm

Documentation for shipping server logs/metrics via alloy

josegonzalez opened this issue · 3 comments

Once this is setup, there is an OTLP endpoint for collecting logs/metrics. That said, there isn't really an end-to-end setup for how to configure this with Alloy. Would it be possible for someone to write a short tutorial on how to do that?

Hey there @josegonzalez, thanks for reaching out! 👋

We have a similar tutorial here: https://grafana.com/docs/alloy/latest/collect/opentelemetry-to-lgtm-stack/

Could you take a look and see if it answers your question?

Somewhat? It's not super clear how to grab the actual log data (or even stuff like server metrics) to ship over, or if alloy is even the correct way.

I only point at Alloy as the grafana agent is deprecated in favor of it.