Expand description
Re-export of layers.
Structs§
- Async
Backtrace Accessor layers-async-backtrace - Async
Backtrace Layer layers-async-backtrace - Add Efficient, logical ‘stack’ traces of async functions for the underlying services.
- Async
Backtrace Wrapper layers-async-backtrace - Await
Tree Accessor layers-await-tree - Await
Tree Layer layers-await-tree - Add an Instrument await-tree for actor-based applications to the underlying services.
- Await
Tree Wrapper layers-await-tree - Capability
Accessor layers-capability-check - Capability
Check Layer layers-capability-check - Add an extra capability check layer for every operation
- Chaos
Layer - Inject chaos into underlying services for robustness test.
- Concurrent
Limit Layer - Add concurrent request limit.
- Dtrace
Layer - Support User Statically-Defined Tracing(aka USDT) on Linux
- Fastmetrics
Interceptor layers-fastmetrics - Fastmetrics
Layer layers-fastmetrics - Add fastmetrics for every operation.
- Fastmetrics
Layer Builder layers-fastmetrics FastmetricsLayerBuilderis a config builder to build aFastmetricsLayer.- Fastrace
Accessor layers-fastrace - Fastrace
Layer layers-fastrace - Add fastrace for every operation.
- Fastrace
Wrapper layers-fastrace - Http
Client Layer - Layer for replacing the default HTTP client with a custom one.
- Immutable
Dir layers-immutable-index - Immutable
Index Accessor layers-immutable-index - Immutable
Index Layer layers-immutable-index - Add an immutable in-memory index for underlying storage services.
- Logging
Layer - Add log for every operation.
- Metrics
Interceptor layers-metrics - Metrics
Layer layers-metrics - Add metrics for every operation.
- Mime
Guess Accessor layers-mime-guess - Mime
Guess Layer layers-mime-guess - A layer that can automatically set
Content-Typebased on the file extension in the path. - Otel
Metrics Interceptor layers-otel-metrics - Otel
Metrics Layer layers-otel-metrics - Add opentelemetry::metrics for every operation.
- Otel
Metrics Layer Builder layers-otel-metrics OtelMetricsLayerBuilderis a config builder to build aOtelMetricsLayer.- Otel
Trace Accessor layers-otel-trace - Otel
Trace Layer layers-otel-trace - Add opentelemetry::trace for every operation.
- Otel
Trace Wrapper layers-otel-trace - Prometheus
Client Interceptor layers-prometheus-client - Prometheus
Client Layer layers-prometheus-client - Add prometheus-client for every operation.
- Prometheus
Client Layer Builder layers-prometheus-client PrometheusClientLayerBuilderis a config builder to build aPrometheusClientLayer.- Prometheus
Interceptor layers-prometheus - Prometheus
Layer layers-prometheus - Add prometheus for every operation.
- Prometheus
Layer Builder layers-prometheus 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.
- Tail
CutAccessor layers-tail-cut - Accessor that implements tail cut logic.
- Tail
CutLayer layers-tail-cut - Layer that automatically cancels long-tail requests.
- Tail
CutLayer Builder layers-tail-cut - Builder for TailCutLayer.
- Tail
CutWrapper layers-tail-cut - Wrapper for IO operations (Reader, Writer, Lister, Deleter).
- Throttle
Accessor layers-throttle - Throttle
Layer layers-throttle - Add a bandwidth rate limiter to the underlying services.
- Throttle
Wrapper layers-throttle - Timeout
Layer - Add timeout for every operation to avoid slow or unexpected hang operations.
- Tracing
Accessor layers-tracing - Tracing
Http Fetcher layers-tracing - Tracing
Layer layers-tracing - Add tracing for every operation.
- Tracing
Stream layers-tracing - Tracing
Wrapper layers-tracing
Traits§
- Logging
Interceptor - LoggingInterceptor is used to intercept the log.
- Retry
Interceptor - RetryInterceptor is used to intercept while retry happened.