Function nemo_relay_otel_subscriber_create_with_projection_options_v2

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -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.

#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_otel_subscriber_create_with_projection_options_v2(
    otel_type: *const c_char,
    transport: *const c_char,
    endpoint: *const c_char,
    headers_json: *const c_char,
    resource_attributes_json: *const c_char,
    service_name: *const c_char,
    service_namespace: *const c_char,
    service_version: *const c_char,
    instrumentation_scope: *const c_char,
    timeout_millis: u64,
    mark_projection: *const c_char,
    mark_exclude_names_json: *const c_char,
    attribute_mappings_json: *const c_char,
    promote_metadata_prefixes_json: *const c_char,
    out: *mut *mut FfiOpenTelemetrySubscriber,
) -> NemoRelayStatus

Creates one typed OpenTelemetry exporter subscriber with projection, metadata, and lineage controls.

This compatibility entrypoint preserves the 60-second completed-context retention default.

Safety

Any non-null C strings must be valid and out must be non-null.