TSG-252 Proxy Event Logs中schema_type字段未展示内容

This commit is contained in:
fengweihao
2019-11-28 10:26:08 +08:00
parent 0b8f1ca1e9
commit 427e22cfe7

View File

@@ -210,6 +210,7 @@ int pangu_send_log(struct pangu_logger* handle, const struct pangu_log* log_msg)
cJSON_AddNumberToObject(common_obj, "common_start_time", cur_time);
cJSON_AddNumberToObject(common_obj, "common_end_time", cur_time);
cJSON_AddStringToObject(common_obj, "http_version", app_proto[http->major_version]);
cJSON_AddStringToObject(common_obj, "common_schema_type", "HTTP");
uint64_t opt_val;
uint16_t opt_out_size;