Function nemo_relay_otel_metric_subscriber_runtime_diagnostics_json

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_metric_subscriber_runtime_diagnostics_json(
    subscriber: *const FfiOpenTelemetryMetricSubscriber,
    out_json: *mut *mut c_char,
) -> NemoRelayStatus

Return a bounded JSON snapshot of runtime diagnostics for this subscriber.

The result is a JSON array of {"code": "...", "message": "...", "count": N} entries in stable code order. The caller owns out_json and must free it with nemo_relay_string_free.

Safety

subscriber and out_json must be valid, non-null pointers.