Function nemo_relay_observability_component_spec_json

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_observability_component_spec_json(
    config_json: *const c_char,
    enabled: bool,
    out_json: *mut *mut c_char,
) -> NemoRelayStatus

Wrap an observability config JSON object as a top-level plugin component.

Pass null for config_json to use the default observability config. The returned JSON can be inserted into PluginConfig.components.

Safety

config_json, when non-null, must be a valid C string. out_json must be a valid, non-null pointer.