TSG-252 Proxy Event Logs中schema_type字段未展示内容
This commit is contained in:
@@ -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_start_time", cur_time);
|
||||||
cJSON_AddNumberToObject(common_obj, "common_end_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, "http_version", app_proto[http->major_version]);
|
||||||
|
cJSON_AddStringToObject(common_obj, "common_schema_type", "HTTP");
|
||||||
|
|
||||||
uint64_t opt_val;
|
uint64_t opt_val;
|
||||||
uint16_t opt_out_size;
|
uint16_t opt_out_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user