Modules§
Structs§
- Capability
Override Layer - Layer for overriding an operator’s effective capability.
- Concurrent
Limit Layer ConcurrentLimitLayercontrols how many concurrent requests OpenDAL can send to a storage service.- Default
Logging Interceptor - The DefaultLoggingInterceptor will log the message by the standard logging macro.
- Default
Retry Interceptor - The DefaultRetryInterceptor logs each retry error at warn level.
- Logging
Layer LoggingLayerrecords every operation with log.- Prometheus
Layer PrometheusLayerrecords OpenDAL operation and HTTP fetch metrics with prometheus.- Prometheus
Layer Builder PrometheusLayerBuilderis a config builder to build aPrometheusLayer.- Retry
Event - Context passed to
RetryInterceptorbefore each retry sleep. - Retry
Layer RetryLayerretries temporarily failed operations.- Simulate
Layer - Simulate missing capabilities for backends in a configurable way.
- Timeout
Layer TimeoutLayeradds deadlines to operations so slow or stalled work cannot hang indefinitely.- Tracing
Layer TracingLayertraces every operation with tracing.
Traits§
- Concurrent
Limit Semaphore - ConcurrentLimitSemaphore abstracts a semaphore-like concurrency primitive that yields an owned permit released on drop.
- Logging
Interceptor - LoggingInterceptor customizes log emission.
- Retry
Interceptor - RetryInterceptor observes retry attempts before the retry sleep.
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>/...