Troubleshooting OpenObserve Golang Tracing

TLDR Benjamin asked how to verify if OpenObserve is running and receive error logs, Prabhat suggested it's from otel go package. Benjamin considered setting log output to use their server logger.

Photo of Benjamin
Mon, 25 Sep 2023 17:27:13 UTC

Still working on adding OpenObserve (limited side project time these days) - but I got some traces going! Another question- I’ve got a setup like (the HTTP one to localhost), but I noticed that there’s no error if I don’t have my copy of OpenObserve running. Is there a way to check whether OpenObserve is up and I can send traces to it so I can log errors from my server if I can’t send traces to OpenObserve? Oh, I do see this in the logs: ```2023/09/25 10:21:44 traces export: Post "": dial tcp connect: connection refused``` Is there a way to get that as a structured log?

Photo of Prabhat
Mon, 25 Sep 2023 20:46:10 UTC

I think the logs are coming from otel go package. Not sure how to change that to structured logging

Photo of Benjamin
Fri, 29 Sep 2023 13:21:55 UTC

I think I might be able set log output ( ) to use my server logger. Thanks!