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.
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)?
Kshitij
Mon, 27 Feb 2023 06:35:14 UTChow 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)