Id | 模板 | 必要欄位 | 樣本 |
SYSTEM:table:table_count:fixed
| 錶行數,固定值 | pass
| templateId: "SYSTEM:table:table_count:fixed"
pass: "when > 0"
|
SYSTEM:table:table_count:fixed:0
| 錶行數大於0 | - | templateId: "SYSTEM:table:table_count:fixed:0"
|
SYSTEM:table:table_count_delta:fixed:1_bizdate
| 錶行數,1天差值 | pass
| templateId: "SYSTEM:table:table_count_delta:fixed:1_bizdate"
pass: "when < 10"
|
SYSTEM:table:table_count_delta:fixed:latest_bizdate
| 錶行數,上周期差值 | pass
| templateId: "SYSTEM:table:table_count_delta:fixed:latest_bizdate"
pass: "when < 10"
|
SYSTEM:table:table_count:flux:1_7_1m_bizdate
| 錶行數,1,7,30天波動率 | | templateId: "SYSTEM:table:table_count:flux:1_7_1m_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_count:flux:1_7_1m_1st_bizdate
| 錶行數,1,7,30天,本月1號,波動率 | | templateId: "SYSTEM:table:table_count:flux:1_7_1m_1st_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_count:flux:1_bizdate
| 錶行數,1天波動率 | | templateId: "SYSTEM:table:table_count:flux:1_bizdate"
warn: "when < -1%"
fail: "when < -5%"
|
SYSTEM:table:table_count:flux:1m_bizdate
| 錶行數,30天波動率 | | templateId: "SYSTEM:table:table_count:flux:1m_bizdate"
warn: "when < -1%"
fail: "when < -5%"
|
SYSTEM:table:table_count:flux:7_bizdate
| 錶行數,7天波動率 | | templateId: "SYSTEM:table:table_count:flux:7_bizdate"
warn: "when < -1%"
fail: "when < -5%"
|
SYSTEM:table:table_count:dynamic_threshold
| 錶行數,動態閾值 | - | templateId: "SYSTEM:table:table_count:dynamic_threshold"
|
SYSTEM:table:table_count:avg:7_bizdate
| 錶行數,7天平均值波動率 | | templateId: "SYSTEM:table:table_count:avg:7_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_count:avg:1m_bizdate
| 錶行數,30天平均值波動率 | | templateId: "SYSTEM:table:table_count:avg:1m_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_count:cycle:latest_bizdate
| 錶行數,上周期波動率 | | templateId: "SYSTEM:table:table_count:cycle:latest_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_size:fixed
| 表大小,固定值 | pass
| templateId: "SYSTEM:table:table_size:fixed"
pass: "when > 0"
|
SYSTEM:table:table_size_delta:fixed:1_bizdate
| 表大小,相比1天前差值(位元組) | pass
| templateId: "SYSTEM:table:table_size_delta:fixed:1_bizdate"
pass: "when > 0"
|
SYSTEM:table:table_size_delta:fixed:latest_bizdate
| 表大小,上周期差值 | pass
| templateId: "SYSTEM:table:table_size_delta:fixed:latest_bizdate"
pass: "when > 0"
|
SYSTEM:table:table_size:flux:1_bizdate
| 表大小,1天波動率 | | templateId: "SYSTEM:table:table_size:flux:1_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_size:flux:1m_bizdate
| 表大小,30天波動率 | | templateId: "SYSTEM:table:table_size:flux:1m_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_size:flux:7_bizdate
| 表大小,7天波動率 | | templateId: "SYSTEM:table:table_size:flux:7_bizdate"
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:table_size:dynamic_threshold
| 表大小,動態閾值 | - | templateId: "SYSTEM:table:table_size:dynamic_threshold"
|
SYSTEM:field:null_value:fixed
| 空值個數,固定值 | | templateId: "SYSTEM:field:null_value:fixed"
fields:
- id
pass: "when > 0"
|
SYSTEM:field:null_value:fixed:0
| 空值記錄數為0 | fields
| templateId: "SYSTEM:field:null_value:fixed:0"
fields:
- id
|
SYSTEM:field:null_value_percent:fixed
| 空值個數/總行數,固定值 | | templateId: "SYSTEM:field:null_value_percent:fixed"
fields:
- id
pass: "when > 0"
|
SYSTEM:field:pattern_match:fixed
| Regex校正 | fields
valid
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match:fixed"
templateParameters:
metric: invalid_distinct_count
fields:
- id
valid:
regex: "[0-9]+"
pass: "when > 0"
|
SYSTEM:field:pattern_match_date:fixed
| 日期格式校正 | fields
valid
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_date:fixed"
templateParameters:
metric: invalid_count
fields:
- id
valid:
format: date_yyyymmdd
pass: "when > 0"
|
SYSTEM:field:pattern_match_email:fixed
| 電子郵箱格式校正 | fields
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_email:fixed"
templateParameters:
metric: invalid_count
fields:
- id
pass: "when > 0"
|
SYSTEM:field:pattern_match_idcard:fixed
| 身份證格式校正 | fields
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_idcard:fixed"
templateParameters:
metric: invalid_count
fields:
- id
pass: "when > 0"
|
SYSTEM:field:pattern_match_mobile_number:fixed
| 手機號碼格式校正 | fields
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_mobile_number:fixed"
templateParameters:
metric: invalid_count
fields:
- id
pass: "when > 0"
|
SYSTEM:field:pattern_match_money:fixed
| 貨幣格式校正 | fields
valid
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_money:fixed"
templateParameters:
metric: invalid_count
fields:
- id
valid:
format: CNY
pass: "when > 0"
|
SYSTEM:field:pattern_match_number:fixed
| 數值格式校正 | fields
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_number:fixed"
templateParameters:
metric: invalid_count
fields:
- id
pass: "when > 0"
|
SYSTEM:field:pattern_match_phone_number:fixed
| 電話號碼格式校正 | fields
templateParameters
pass
| templateId: "SYSTEM:field:pattern_match_phone_number:fixed"
templateParameters:
metric: invalid_count
fields:
- id
pass: "when > 0"
|
SYSTEM:field:duplicated_count:fixed
| 重複值個數,固定值 | | templateId: "SYSTEM:field:duplicated_count:fixed"
fields:
- id
pass: "when > 0"
|
SYSTEM:field:duplicated_count:fixed:0
| 欄位重複值為0 | fields
| templateId: "SYSTEM:field:duplicated_count:fixed:0"
fields:
- id
|
SYSTEM:fields:duplicated_count:fixed:0
| 多欄位重複值為0 | fields
| templateId: "SYSTEM:fields:duplicated_count:fixed:0"
fields:
- id
- name
|
SYSTEM:field:duplicated_percent:fixed
| 重複值個數/總行數,固定值 | | templateId: "SYSTEM:field:duplicated_percent:fixed"
fields:
- id
pass: "when > 0"
|
SYSTEM:field:count_distinct:fixed
| 唯一值個數,固定值 | | templateId: "SYSTEM:field:count_distinct:fixed"
fields:
- id
pass: "when > 0"
|
SYSTEM:field:count_distinct:flux:1_7_1m_bizdate
| 唯一值個數,1、7、30天波動率 | | templateId: "SYSTEM:field:count_distinct:flux:1_7_1m_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:table:distinct_count:dynamic_threshold
| 唯一值個數,動態閾值 | | templateId: "SYSTEM:table:distinct_count:dynamic_threshold"
fields:
- id
|
SYSTEM:field:count_distinct_percent:fixed
| 唯一值個數/總行數,固定值 | | templateId: "SYSTEM:field:count_distinct_percent:fixed"
fields:
- id
pass: "when > 0"
|
SYSTEM:field:min:flux:1_7_1m_bizdate
| 最小值,1、7、30天波動率 | | templateId: "SYSTEM:field:min:flux:1_7_1m_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:min:dynamic_threshold
| 最小值,動態閾值 | fields
| templateId: "SYSTEM:field:min:dynamic_threshold"
fields:
- id
|
SYSTEM:field:min:cycle:1_bizdate
| 最小值,1天波動率 | | templateId: "SYSTEM:field:min:cycle:1_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:min:cycle:latest_bizdate
| 最小值,上周期波動率 | | templateId: "SYSTEM:field:min:cycle:latest_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:min:flux:1_7_1m_bizdate
| 最大值,1、7、30天波動率 | | templateId: "SYSTEM:field:min:flux:1_7_1m_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:max:dynamic_threshold
| 最大值,動態閾值 | fields
| templateId: "SYSTEM:field:max:dynamic_threshold"
fields:
- id
|
SYSTEM:field:max:cycle:1_bizdate
| 最大值,1天波動率 | | templateId: "SYSTEM:field:max:cycle:1_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:max:cycle:latest_bizdate
| 最大值,上周期波動率 | | templateId: "SYSTEM:field:max:cycle:latest_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:avg:flux:1_7_1m_bizdate
| 平均值,1、7、30天波動率 | | templateId: "SYSTEM:field:avg:flux:1_7_1m_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:avg:dynamic_threshold
| 平均值,動態閾值 | fields
| templateId: "SYSTEM:field:avg:dynamic_threshold"
fields:
- id
|
SYSTEM:field:avg:cycle:1_bizdate
| 平均值,1天波動率 | | templateId: "SYSTEM:field:avg:cycle:1_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:sum:flux:1_7_1m_bizdate
| 匯總值,1、7、30天波動率 | | templateId: "SYSTEM:field:sum:flux:1_7_1m_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:sum:dynamic_threshold
| 匯總值,動態閾值 | fields
| templateId: "SYSTEM:field:avg:dynamic_threshold"
fields:
- id
|
SYSTEM:field:sum:cycle:1_bizdate
| 匯總值,1天波動率 | | templateId: "SYSTEM:field:sum:cycle:1_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:sum:cycle:latest_bizdate
| 匯總值,上周期波動率 | | templateId: "SYSTEM:field:sum:cycle:latest_bizdate"
fields:
- id
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:count_distinct_not_in:fixed
| 枚舉值不匹配唯一值個數,固定值 | | templateId: "SYSTEM:field:count_distinct_not_in:fixed"
fields:
- gender
valid:
values:
- male
- female
pass: "when = 0"
|
SYSTEM:field:count_not_in:fixed
| 枚舉值不匹配行數,固定值 | | templateId: "SYSTEM:field:count_not_in:fixed"
fields:
- gender
valid:
values:
- male
- female
pass: "when = 0"
|
SYSTEM:field:count_not_in:fixed:0
| 枚舉值不匹配行數為0 | | templateId: "SYSTEM:field:count_not_in:fixed"
fields:
- gender
valid:
values:
- male
- female
|
SYSTEM:field:field_enum:fixed
| 枚舉值,自訂,固定值 | fields
valid
templateParameters
pass
| templateId: "SYSTEM:field:count_not_in:fixed"
templateParameters:
metric: invalid_count
fields:
- gender
valid:
values:
- male
- female
pass: "when > 0"
|
SYSTEM:field:all_discrete_count:fixed
| 離散值(狀態值),固定值 | | templateId: "SYSTEM:field:all_discrete_count:fixed"
fields:
- gender
pass: "when > 0"
|
SYSTEM:field:discrete_group_count:fixed
| 離散值(分組個數),固定值 | | templateId: "SYSTEM:field:discrete_group_count:fixed"
fields:
- gender
pass: "when > 0"
|
SYSTEM:field:discrete_group_count:dynamic_threshold
| 離散值(分組個數),動態閾值 | fields
| templateId: "SYSTEM:field:discrete_group_count:dynamic_threshold"
fields:
- gender
|
SYSTEM:field:discrete_value_count:dynamic_threshold
| 離散值(狀態值),動態閾值 | fields
| templateId: "SYSTEM:field:discrete_value_count:dynamic_threshold"
fields:
- gender
|
SYSTEM:field:discrete_group_count:cycle:latest_bizdate
| 離散值(分組個數),1天波動率 | | templateId: "SYSTEM:field:discrete_group_count:cycle:latest_bizdate"
fields:
- gender
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|
SYSTEM:field:all_discrete_metrics:fluxdiscrete:1_7_1m_bizdate
| 離散值(分組個數及狀態值),1、7、30天波動率 | | templateId: "SYSTEM:field:all_discrete_metrics:fluxdiscrete:1_7_1m_bizdate"
fields:
- gender
warn: "when not between -5% and 5%"
fail: "when not between -10% and 10%"
|