原schema-upgrade项目更名,发布初版

This commit is contained in:
qidaijie
2023-09-26 14:48:35 +08:00
parent 28f935a8fc
commit ae9ea847dc
70 changed files with 30477 additions and 80 deletions

View File

@@ -0,0 +1,88 @@
{
"type": "record",
"name": "sys_storage_log",
"namespace": "druid",
"doc": {
"partition_key": "__time",
"functions": {
"$ref": "public_schema_info.json#/functions"
},
"schema_query": {
"filters": [
"data_center"
],
"references": {
"$ref": "public_schema_info.json#/schema_query/references"
}
}
},
"fields": [
{
"name": "__time",
"label": "Time",
"type": "string",
"doc": {
"constraints": {
"type": "timestamp"
},
"visibility": "enabled"
}
},
{
"name": "data_center",
"label": "Data Center",
"type": "string",
"doc": {
"constraints": {
"operator_functions": "=,in"
},
"data": {
"$ref": "device_tag.json#",
"key": "$[?(@.tagType=='data_center')].subTags.[?(@.tagType=='data_center')]['tagValue']",
"value": "$[?(@.tagType=='data_center')].subTags.[?(@.tagType=='data_center')]['tagName']"
},
"visibility": "enabled"
}
},
{
"name": "log_type",
"label": "Log Type",
"doc": {
"visibility": "enabled"
},
"type": "string"
},
{
"name": "max_size",
"label": "Max Size",
"doc": {
"visibility": "enabled"
},
"type": "long"
},
{
"name": "used_size",
"label": "Used Size",
"doc": {
"visibility": "enabled"
},
"type": "long"
},
{
"name": "aggregate_size",
"label": "Aggregate Size",
"doc": {
"visibility": "enabled"
},
"type": "long"
},
{
"name": "last_storage",
"label": "Last Storage",
"doc": {
"visibility": "enabled"
},
"type": "long"
}
]
}