Modules§
Structs§
- Concurrent
Limit Layer - Add concurrent request limit.
- Default
Logging Interceptor - The DefaultLoggingInterceptor will log the message by the standard logging macro.
- Default
Retry Interceptor - The DefaultRetryInterceptor will log the retry error in warning level.
- Http
Client Layer - Layer for replacing the default HTTP client with a custom one.
- Logging
Layer - Add log for every operation.
- Prometheus
Layer - Add prometheus for every operation.
- Prometheus
Layer Builder PrometheusLayerBuilderis a config builder to build aPrometheusLayer.- Retry
Layer - Add retry for temporary failed operations.
- Simulate
Layer - Simulate missing capabilities for backends in a configurable way.
- Timeout
Layer - Add timeout for every operation to avoid slow or unexpected hang operations.
- Tracing
Layer - Add tracing for every operation.
Traits§
- Concurrent
Limit Semaphore - ConcurrentLimitSemaphore abstracts a semaphore-like concurrency primitive that yields an owned permit released on drop.
- Logging
Interceptor - LoggingInterceptor is used to intercept the log.
- Retry
Interceptor - RetryInterceptor is used to intercept while retry happened.
Functions§
- build_
prometheus_ metrics_ layer - This logical tries to extract parent path from the object storage operation
the function also relies on assumption that the region path is built from
pattern
<data|index>/catalog/schema/table_id/...ORgreptimedb/object_cache/<read|write>/...