question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

aiohttp: Implement a list of ignored url/patterns

See original GitHub issue

Hi,

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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jettifycommented, Jan 20, 2018
0reactions
jettifycommented, Jan 21, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found