Expand description
Bounded, best-effort OTLP log export for eden_logger.
The installed sink resolves a producer lane once per thread, then performs filtering, bounded admission, and an uncontended lane push. Mapping, protobuf encoding, retries, and network I/O run on one shared Tokio worker. Applications that require crash durability or strict ordering should put shard-stream between the sink and the collector.
Modules§
- any_
value - Nested message and enum types in
AnyValue.
Structs§
- AnyValue
- AnyValue is used to represent any type of attribute value. AnyValue may contain a primitive value such as a string or integer or it may contain an arbitrary nested object containing arrays, key-value lists and primitives.
- Audience
Filter - Audience selection applied independently from eden_logger’s runtime filter.
- Eden
LogOtlp Mapper - Converts typed Eden records into standard OTLP log records.
- Export
Logs Partial Success - Export
Logs Service Request - Export
Logs Service Response - Exporter
Config - Direct exporter configuration.
- Exporter
Handle - Handle for health, metrics, and bounded shutdown.
- Exporter
Metrics Snapshot - Cumulative counters and current gauges for one exporter.
- Flush
Report - Result of
ExporterHandle::force_flush. - KeyValue
- KeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc.
- LogRecord
- A log record according to OpenTelemetry Log Data Model: https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md
- Otlp
Export Outcome - Acknowledged result from an OTLP request.
- Otlp
Http Client - Cloneable OTLP HTTP client shared by logs, metrics, and traces.
- Otlp
Http Config - Shared configuration for acknowledged OTLP HTTP requests.
- Otlp
Http Error - A structured OTLP request failure.
- Otlp
TlsConfig - TLS material for an OTLP HTTP client.
- Resource
Logs - A collection of ScopeLogs from a Resource.
- Scope
Logs - A collection of Logs produced by a Scope.
- Shutdown
Report - Result of a bounded exporter shutdown.
Enums§
- Exporter
Status - Current worker lifecycle state.
- Flush
Status - Result category from a non-terminal force flush.
- Install
Error - Installation failure before a sink is registered.
- Otlp
Http Error Kind - Classification used by retrying exporters.
- Reconfigure
Error - Failure while replacing an exporter’s endpoint, credentials, or policy.
- Severity
Number - Possible values for LogRecord.SeverityNumber.
Functions§
- install
- Install on the current Tokio runtime.
- install_
on - Install on an explicitly supplied Tokio runtime.
- visit_
exporter_ metrics - Emit an exporter snapshot through fast-telemetry’s native visitor API.