Function nemo_relay_metric_json
Function nemo_relay_metric_json
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_metric_json(
name: *const c_char,
parent: *const FfiScopeHandle,
measurements_json: *const c_char,
metadata_json: *const c_char,
timestamp_unix_micros: *const i64,
) -> NemoRelayStatus
Emit an atomic metric measurement mark from canonical JSON.
measurements_json must be a nonempty JSON array using Relay’s canonical MetricMeasurement shape. Relay validates the complete array before emitting the metric mark.
Safety
name and measurements_json must be valid non-null C strings. Optional pointers may be null and otherwise must remain valid for the call.