Skip to content

Commit

Permalink
shema update for smoke load (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable authored Oct 27, 2024
1 parent 5b40ff4 commit d823ee5
Showing 1 changed file with 41 additions and 31 deletions.
72 changes: 41 additions & 31 deletions model.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,175 +437,185 @@ const FlogJsonSchema string = `{
const SchemaBody string = `{
"fields": [
{
"name": "device_id",
"data_type": "Int64",
"name": "app_meta",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "host",
"data_type": "Utf8",
"name": "device_id",
"data_type": "Int64",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "level",
"name": "host",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "message",
"name": "level",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "os",
"name": "location",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "p_metadata",
"name": "message",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "p_tags",
"name": "os",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "p_timestamp",
"name": "p_metadata",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "process_id",
"data_type": "Int64",
"name": "p_tags",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "response_time",
"data_type": "Int64",
"name": "p_timestamp",
"data_type": {
"Timestamp": [
"Millisecond",
null
]
},
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "session_id",
"data_type": "Utf8",
"name": "process_id",
"data_type": "Int64",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "source_time",
"name": "request_body",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "status_code",
"name": "response_time",
"data_type": "Int64",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "timezone",
"name": "runtime",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "user_id",
"data_type": "Int64",
"name": "session_id",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "uuid",
"data_type": "Utf8",
"name": "source_time",
"data_type": {
"Timestamp": [
"Millisecond",
null
]
},
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "version",
"data_type": "Utf8",
"name": "status_code",
"data_type": "Int64",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "request_body",
"name": "timezone",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "runtime",
"name": "user_agent",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "user_agent",
"data_type": "Utf8",
"name": "user_id",
"data_type": "Int64",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "location",
"name": "uuid",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
"dict_is_ordered": false,
"metadata": {}
},
{
"name": "app_meta",
"name": "version",
"data_type": "Utf8",
"nullable": true,
"dict_id": 0,
Expand Down

0 comments on commit d823ee5

Please sign in to comment.