elastic / elastic/apm-agent-python
Span ID always null in Logs | Logs ID injection
- Dominant language
- Python
- Stars
- 431
- Forks
- 239
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 7
Description
**Describe the bug**: I am using logging support which injects correlation ids (trace, transaction, span). However even after running with 100% sample rate I've not been able to get a single log with a Span ID!
Also "maybe" this could be the reason that I am not seeing any logs in trace waterfall
**To Reproduce**
1. Install elastic apm agent version
2. Simply allow logging integration (default)
3. Check in your APM
**Environment (please complete the following information)**
- OS: Linux and Mac
- Python version: 3.9/10
- Framework and version [e.g. Django 2.1]: Should not matter but Sanic v22
- APM Server version: Proprietary Solution
- Agent version: `elastic-apm==6.7.1`
**Additional context**
N/A
Contributor guide
Assessment
This issue has not been assessed yet.