Expand description
Layer
is the mechanism to intercept operations.
Modules§
- OpenDAL Observability Layer
Structs§
- AsyncBacktraceLayer
layers-async-backtrace
Add Efficient, logical ‘stack’ traces of async functions for the underlying services. - AwaitTreeLayer
layers-await-tree
Add an Instrument await-tree for actor-based applications to the underlying services. - BlockingLayer
layers-blocking
Add blocking API support for non-blocking services. - ChaosLayer
layers-chaos
Inject chaos into underlying services for robustness test. - Add concurrent request limit.
- DtraceLayerLinux and
layers-dtrace
Support User Statically-Defined Tracing(aka USDT) on Linux - FastraceLayer
layers-fastrace
Add fastrace for every operation. - Add an immutable in-memory index for underlying storage services.
- Add log for every operation.
- MetricsLayer
layers-metrics
Add metrics for every operation. - MimeGuessLayer
layers-mime-guess
A layer that can automatically setContent-Type
based on the file extension in the path. - OtelTraceLayer
layers-otel-trace
Add opentelemetry::trace for every operation. - PrometheusClientLayer
layers-prometheus-client
Add prometheus-client for every operation. - PrometheusClientLayerBuilder
layers-prometheus-client
PrometheusClientLayerBuilder
is a config builder to build aPrometheusClientLayer
. - PrometheusLayer
layers-prometheus
Add prometheus for every operation. - PrometheusLayerBuilder
layers-prometheus
PrometheusLayerBuilder
is a config builder to build aPrometheusLayer
. - Add retry for temporary failed operations.
- ThrottleLayer
layers-throttle
Add a bandwidth rate limiter to the underlying services. - Add timeout for every operation to avoid slow or unexpected hang operations.
- TracingLayer
layers-tracing
Add tracing for every operation.
Traits§
- LoggingInterceptor is used to intercept the log.
- RetryInterceptor is used to intercept while retry happened.