Skip to main content

build_log_item

Function build_log_item 

Source
fn build_log_item(
    entry: &Value,
    service: &str,
    service_instance: &str,
    endpoint: &str,
    timestamp_ms: u64,
) -> Value
Expand description

Builds one SkyWalking LogData item wrapping entry (JSON-encoded into body.json.json, mirroring APISIX).