grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.4k stars 203 forks source link

Support converting `lokiexporter` #243

Open rfratto opened 8 months ago

tpaschalis commented 8 months ago

I started working on this, but it isn't as straightforward as the others.

a) It requires chaining an otelcol.exporter.loki component with a loki.write b) It requires bringing in the lokiexporter dependency which was not a fun time (got burnt two or three layers into go.mod hell and just left it as-is) c) It requires quasi-translating the OTel HTTP Client settings onto the loki.write HTTP client settings, neither of which match really well.

I'll shelve this for now to not lose steam, will try to pick up later on.

rfratto commented 7 months ago

@tpaschalis Since a direct conversion doesn't exist, and since it's fairly complicated as you've noticed, what do you think about closing this one for now and revisiting later? I've already closed grafana/alloy#242 for similar reasons.