#support

Sending Logs to Otel Collector from Gin App

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.

Powered by Struct AI
4
7mo
Solved
Join the chat
Feb 27, 2023 (7 months ago)
Kshitij
Photo of md5-6478aa892c53d805bb90275a91b561c9
Kshitij
06:35 AM
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)
07:35
nitya-signoz
07:35 AM
Support for logs is paused as of now in otel go sdk
Kshitij
Photo of md5-6478aa892c53d805bb90275a91b561c9
Kshitij
10:49 AM
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)?