Function nemo_relay_otel_metric_subscriber_create_with_tls
Function nemo_relay_otel_metric_subscriber_create_with_tls
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_metric_subscriber_create_with_tls(
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,
export_interval_millis: u64,
temporality: *const c_char,
max_instruments: u64,
cardinality_limit: u64,
tls_json: *const c_char,
out: *mut *mut FfiOpenTelemetryMetricSubscriber,
) -> 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_metric_subscriber_create_v2 for the other options.
Safety
Any non-null C strings must be valid and out must be non-null.