Function nemo_relay_otel_subscriber_create_with_projection_options
Function nemo_relay_otel_subscriber_create_with_projection_options
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(
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,
out: *mut *mut FfiOpenTelemetrySubscriber,
) -> NemoRelayStatus
Creates one typed OpenTelemetry exporter subscriber with projection controls.
The JSON arrays use mark_exclude_names: ["llm.chunk"] and attribute_mappings: [{"key":"...","alias":"..."}] shapes. Pass null for either array to use its default. mark_projection is inherit, event, or tool.
Safety
Any non-null C strings must be valid and out must be non-null.