Expand description
Layer
is the mechanism to intercept operations.
Modules§
- observe
- OpenDAL Observability
Structs§
- Async
Backtrace Layer layers-async-backtrace
- Add Efficient, logical ‘stack’ traces of async functions for the underlying services.
- Await
Tree Layer layers-await-tree
- Add an Instrument await-tree for actor-based applications to the underlying services.
- Blocking
Layer layers-blocking
- Add blocking API support for non-blocking services.
- Capability
Check Layer - Add an extra capability check layer for every operation
- Chaos
Layer layers-chaos
- Inject chaos into underlying services for robustness test.
- Concurrent
Limit Layer - Add concurrent request limit.
- Dtrace
Layer Linux and layers-dtrace
- Support User Statically-Defined Tracing(aka USDT) on Linux
- Fastrace
Layer layers-fastrace
- Add fastrace for every operation.
- Immutable
Index Layer - Add an immutable in-memory index for underlying storage services.
- Logging
Layer - Add log for every operation.
- Metrics
Layer layers-metrics
- Add metrics for every operation.
- Mime
Guess Layer layers-mime-guess
- A layer that can automatically set
Content-Type
based on the file extension in the path. - Otel
Metrics Layer layers-otel-metrics
- Add opentelemetry::metrics for every operation.
- Otel
Trace Layer layers-otel-trace
- Add opentelemetry::trace for every operation.
- Prometheus
Client Layer layers-prometheus-client
- Add prometheus-client for every operation.
- Prometheus
Client Layer Builder layers-prometheus-client
PrometheusClientLayerBuilder
is a config builder to build aPrometheusClientLayer
.- Prometheus
Layer layers-prometheus
- Add prometheus for every operation.
- Prometheus
Layer Builder layers-prometheus
PrometheusLayerBuilder
is a config builder to build aPrometheusLayer
.- Retry
Layer - Add retry for temporary failed operations.
- Throttle
Layer layers-throttle
- Add a bandwidth rate limiter to the underlying services.
- Timeout
Layer - Add timeout for every operation to avoid slow or unexpected hang operations.
- Tracing
Layer layers-tracing
- Add tracing for every operation.
Traits§
- Logging
Interceptor - LoggingInterceptor is used to intercept the log.
- Retry
Interceptor - RetryInterceptor is used to intercept while retry happened.