Skip to navigation

Module exporter

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

Runtime-bound exporter constructors and their configuration contracts.

Exporter pipeline state is private; use lifecycle methods and diagnostic snapshots.

Diagnostic snapshots and their entries can be named through the SDK:

use nemo_relay::exporter::{ExporterRuntimeDiagnostic, ExporterRuntimeDiagnostics};
use nemo_relay::exporter::otel::OpenTelemetrySubscriber;
fn diagnostics(subscriber: &OpenTelemetrySubscriber) -> ExporterRuntimeDiagnostics {
subscriber.runtime_diagnostics()
}
fn entries(snapshot: &ExporterRuntimeDiagnostics) -> &[ExporterRuntimeDiagnostic] {
snapshot.entries()
}
use nemo_relay::exporter::otel::OpenTelemetrySubscriber;
fn pipeline(subscriber: &OpenTelemetrySubscriber) { let _ = &subscriber.inner; }
use nemo_relay::exporter::otel_logs::OpenTelemetryLogSubscriber;
fn pipeline(subscriber: &OpenTelemetryLogSubscriber) { let _ = &subscriber.inner; }
use nemo_relay::exporter::otel_metrics::OpenTelemetryMetricSubscriber;
fn pipeline(subscriber: &OpenTelemetryMetricSubscriber) { let _ = &subscriber.inner; }

Runtime-bound exporters and their configuration contracts.

Modules

  • atif: ATIF trajectories and a runtime-bound trajectory collector.
  • atof: ATOF JSONL destinations and a runtime-bound exporter.
  • otel: OpenTelemetry and OpenInference trace configuration and subscribers.
  • otel_file: OTLP file encodings and file-export errors.
  • otel_logs: Runtime-bound logs export.
  • otel_metrics: Runtime-bound metrics export.

Structs

Enums

Functions