aiohttp: Implement a list of ignored url/patterns
See original GitHub issueHi,
i’m wondering if you’re agree to provide an optional argument to aiohttp_helpers to define a list of url/patterns that should be ignored by the middleware? I use aiozipkin in APIs that provide healtcheck and I don’t want to have trace for each healthcheck call (but I want a sample_rate set to 1)
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Asyncio aiohttp populate list of HTML from list of URL
Here we define a coroutine read_url which gets the contents of a single url. Then in the loop, you create a task for...
Read more >User Guide - aiohttp-client-cache 0.7.3 documentation
This section covers the main features of aiohttp-client-cache. ... If you want to ignore specific parameters, specify them with ignored_parameters :.
Read more >Advanced Client Usage — aiohttp 3.8.3 documentation
Create the session first, use the instance for performing HTTP requests and initiating ... According to RFC 7230, HTTP Header names are case-insensitive....
Read more >Client Reference — aiohttp 3.8.3 documentation
trace_configs – A list of TraceConfig instances used for client tracing. ... Ignored for subsequent redirected requests (optional). Allowed values are:.
Read more >Django Url regular expressions: Precedence rule
type=cold&size=large ). These set of values are known as query strings and Django ignores them for the purpose of url pattern matching. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Feature implemented in https://github.com/aio-libs/aiozipkin/pull/79
You are welcome! Just in case here is complete example how to use this feature:
https://github.com/aio-libs/aiozipkin/blob/979b79cc60e9173d665f3b86d29bbcd9bc3fef44/examples/aiohttp_example.py#L1-L71