open-telemetry / open-telemetry/opentelemetry-python-contrib
aiohttp instrumentation: span for DNS resolution
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 1.1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 16
Description
What problem do you want to solve?
aiohttp has hooks that would allow this instrumentation to report spans and/or dns related metrics.
this is useful to identify dns issues or bottlenecks on cluster instances
https://docs.aiohttp.org/en/stable/tracing_reference.html
Describe the solution you'd like
I'd like to have visibility over dns resolution for my http calls
Describe alternatives you've considered
extend the instrumentation in my own codebase
Additional Context
No response
Would you like to implement a fix?
None
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 with the aiohttp tracing reference linked in the issue and locate the existing aiohttp instrumentation entry point in this repository. Determine which DNS-resolution hooks can support the requested visibility, then define whether completion means spans, DNS metrics, or both; no specific files or tests are identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100