alexapy.aiohttp.tracing

Classes

class alexapy.aiohttp.tracing.TraceConfig(trace_config_ctx_factory: typing.Type[types.SimpleNamespace] = <class 'types.SimpleNamespace'>)

First-class used to trace requests launched via ClientSession objects.

Inheritance

Inheritance diagram of TraceConfig

trace_config_ctx(trace_request_ctx: Optional[types.SimpleNamespace] = None) types.SimpleNamespace

Return a new trace_config_ctx instance

class alexapy.aiohttp.tracing.TraceRequestStartParams(method: str, url: yarl.URL, headers: multidict._multidict.CIMultiDict)

Parameters sent by the on_request_start signal

Inheritance

Inheritance diagram of TraceRequestStartParams

class alexapy.aiohttp.tracing.TraceRequestEndParams(method: str, url: yarl.URL, headers: multidict._multidict.CIMultiDict, response: alexapy.aiohttp.client_reqrep.ClientResponse)

Parameters sent by the on_request_end signal

Inheritance

Inheritance diagram of TraceRequestEndParams

class alexapy.aiohttp.tracing.TraceRequestExceptionParams(method: str, url: yarl.URL, headers: multidict._multidict.CIMultiDict, exception: BaseException)

Parameters sent by the on_request_exception signal

Inheritance

Inheritance diagram of TraceRequestExceptionParams

class alexapy.aiohttp.tracing.TraceConnectionQueuedStartParams

Parameters sent by the on_connection_queued_start signal

Inheritance

Inheritance diagram of TraceConnectionQueuedStartParams

class alexapy.aiohttp.tracing.TraceConnectionQueuedEndParams

Parameters sent by the on_connection_queued_end signal

Inheritance

Inheritance diagram of TraceConnectionQueuedEndParams

class alexapy.aiohttp.tracing.TraceConnectionCreateStartParams

Parameters sent by the on_connection_create_start signal

Inheritance

Inheritance diagram of TraceConnectionCreateStartParams

class alexapy.aiohttp.tracing.TraceConnectionCreateEndParams

Parameters sent by the on_connection_create_end signal

Inheritance

Inheritance diagram of TraceConnectionCreateEndParams

class alexapy.aiohttp.tracing.TraceConnectionReuseconnParams

Parameters sent by the on_connection_reuseconn signal

Inheritance

Inheritance diagram of TraceConnectionReuseconnParams

class alexapy.aiohttp.tracing.TraceDnsResolveHostStartParams(host: str)

Parameters sent by the on_dns_resolvehost_start signal

Inheritance

Inheritance diagram of TraceDnsResolveHostStartParams

class alexapy.aiohttp.tracing.TraceDnsResolveHostEndParams(host: str)

Parameters sent by the on_dns_resolvehost_end signal

Inheritance

Inheritance diagram of TraceDnsResolveHostEndParams

class alexapy.aiohttp.tracing.TraceDnsCacheHitParams(host: str)

Parameters sent by the on_dns_cache_hit signal

Inheritance

Inheritance diagram of TraceDnsCacheHitParams

class alexapy.aiohttp.tracing.TraceDnsCacheMissParams(host: str)

Parameters sent by the on_dns_cache_miss signal

Inheritance

Inheritance diagram of TraceDnsCacheMissParams

class alexapy.aiohttp.tracing.TraceRequestRedirectParams(method: str, url: yarl.URL, headers: multidict._multidict.CIMultiDict, response: alexapy.aiohttp.client_reqrep.ClientResponse)

Parameters sent by the on_request_redirect signal

Inheritance

Inheritance diagram of TraceRequestRedirectParams

class alexapy.aiohttp.tracing.TraceRequestChunkSentParams(method: str, url: yarl.URL, chunk: bytes)

Parameters sent by the on_request_chunk_sent signal

Inheritance

Inheritance diagram of TraceRequestChunkSentParams

class alexapy.aiohttp.tracing.TraceResponseChunkReceivedParams(method: str, url: yarl.URL, chunk: bytes)

Parameters sent by the on_response_chunk_received signal

Inheritance

Inheritance diagram of TraceResponseChunkReceivedParams