This metric checks the count of value between min and max rows in a column
name | type | required | default value |
---|---|---|---|
table | string | yes | - |
column | string | yes | - |
min | string | no | - |
max | int | no | - |
need metric table
table column need to metric length
min value
max value
POST localhost:5600/api/v1/jobExecution/submit
{
"name":"test",
"parameter":{
"metricType":"column_value_between",
"metricParameter":{
"table":"jobExecution",
"column":"parameter",
"min": 0,
"max": 50
},
"srcConnectorParameter":{
"type":"postgresql",
"parameters":{
"database":"datavines",
"password":"xxxxxxx",
"port":"5432",
"host":"localhost",
"user":"postgres",
"properties":"useUnicode=true&characterEncoding=UTF-8"
}
}
}
}