How to use Grafana Loki for log reporting?? #1469
Answered
by
lalitb
vincenzopalazzo
asked this question in
Q&A
-
I am starting to look inside the opentelemetry-rust and I was looking for a way to report log in Grafana Loki I am not able to find a way with opentelemetry-appender-log so I was thinking that maybe There are any hints on how to do it? thanks |
Beta Was this translation helpful? Give feedback.
Answered by
lalitb
Jan 10, 2024
Replies: 1 comment 4 replies
-
There is a Loki exporter for OTLP Collector, so you should be able to configure OTLP collector to push logs to loki as below:
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
vincenzopalazzo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a Loki exporter for OTLP Collector, so you should be able to configure OTLP collector to push logs to loki as below:
logs
->opentelemetry-appender-log
->OTLP exporter
->OTLP Collector
->Loki Exporter
->Loki