Skip to main content

Crate eden_logger_export

Crate eden_logger_export 

Source
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.
AudienceFilter
Audience selection applied independently from eden_logger’s runtime filter.
EdenLogOtlpMapper
Converts typed Eden records into standard OTLP log records.
ExportLogsPartialSuccess
ExportLogsServiceRequest
ExportLogsServiceResponse
ExporterConfig
Direct exporter configuration.
ExporterHandle
Handle for health, metrics, and bounded shutdown.
ExporterMetricsSnapshot
Cumulative counters and current gauges for one exporter.
FlushReport
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
OtlpExportOutcome
Acknowledged result from an OTLP request.
OtlpHttpClient
Cloneable OTLP HTTP client shared by logs, metrics, and traces.
OtlpHttpConfig
Shared configuration for acknowledged OTLP HTTP requests.
OtlpHttpError
A structured OTLP request failure.
OtlpTlsConfig
TLS material for an OTLP HTTP client.
ResourceLogs
A collection of ScopeLogs from a Resource.
ScopeLogs
A collection of Logs produced by a Scope.
ShutdownReport
Result of a bounded exporter shutdown.

Enums§

ExporterStatus
Current worker lifecycle state.
FlushStatus
Result category from a non-terminal force flush.
InstallError
Installation failure before a sink is registered.
OtlpHttpErrorKind
Classification used by retrying exporters.
ReconfigureError
Failure while replacing an exporter’s endpoint, credentials, or policy.
SeverityNumber
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.