open-telemetry / open-telemetry/opentelemetry-python
Provide configuration to include more log required attributes
Open
Nobody has claimed this yet.
feature-request
logging
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 19
Description
We need filename, args, thread name given in https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/_logs/__init__.py#L281 because these were usually available in other places like AWS Cloudwatch.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at opentelemetry-sdk/src/opentelemetry/sdk/_logs/init.py around line 281 and inspect which log attributes are currently emitted. Determine how configuration should expose the filename, arguments, and thread name, then verify that configured logs include those attributes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100