fahad yamin
08/29/2023, 9:14 AMotel-collector-config.yaml
using this guide https://signoz.io/docs/userguide/collect_logs_from_file/ . But my logs don't have trace_id and span_id. I want to correlate my logs with their traces. I am not sure how to do this. Your help will be appreciated.Srikanth Chekuri
08/29/2023, 11:09 AMfahad yamin
08/29/2023, 11:41 AMOTEL_PYTHON_LOG_CORRELATION
to true in my fastapi application environment and also set the format as %(asctime)s %(levelname)s [%(name)s] [%(filename)s:%(lineno)d] [trace_id=%(otelTraceID)s span_id=%(otelSpanID)s resource.service.name=%(otelServiceName)s trace_sampled=%(otelTraceSampled)s] - %(message)s.
I am getting this error:
ValueError: Formatting field not found in record: 'otelTraceID'
fahad yamin
08/29/2023, 5:25 PMSrikanth Chekuri
08/30/2023, 12:13 PMTimo Angerer
11/22/2023, 3:05 PM