I have a fastapi application and already setup opentelemtry and signoz for metrics/traces. I also want to add logs in application and display in signoz. Can anyone help how to do this?
08/23/2023, 2:13 AM
The steps will be similar to sending logs to any OpenTelemetry collector. If you're trying to add logging for the first time that would generally meaning adding otel-sdk calls to send logs to the collector, but if you want to connect existing logs into OpenTelemetry (and SigNoz), the recommended path is using filelog to read a logs file into a collector, more detail on this path here.