TLDR Kshitij wants to send logs without outputting it in a file. nitya-signoz suggests using logging drivers and deploying otel collector as a sidecar in AWS ECS.
how can I send my logs to the otel collector from my gin app without outputting it in a file?
(I tried to use otel.SetLogger function but it does not seem to work)
If you are using docker you can use logging drivers
Support for logs is paused as of now in otel go sdk
I am deploying my application to aws ecs...so I guess the only option for me is to deploy otel collector as a sidecar and let it read my application logs from the file( where my application writes it)?
Indexed 1060 threads
Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI