Skip to navigation

Function nemo_relay_otel_subscriber_create_with_projection_options_with_tls

View as MarkdownOpen in Claude

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_with_tls(
    otel_type: *const c_char,
    transport: *const c_char,
    endpoint: *const c_char,
    headers_json: *const c_char,
    header_env_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,
    promote_resource_metadata_prefixes_json: *const c_char,
    completed_span_context_ttl_millis: u64,
    tls_json: *const c_char,
    out: *mut *mut FfiOpenTelemetrySubscriber,
) -> NemoRelayStatus

Creates an OTLP subscriber with optional TLS file settings.

tls_json accepts a JSON object or a null pointer. The object has three optional file paths: certificate, client_certificate, and private_key. Set the client certificate and private key together. Refer to nemo_relay_otel_subscriber_create_with_projection_options_v5 for the other options.

Safety

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