Compare commits

...
Author SHA1 Message Date
shown 62f86742a0 Merge branch 'master' into fix-exist-error 2025-05-09 12:55:25 +08:00
tomsun28 3aa0840b9f Merge branch 'master' into fix-exist-error 2025-05-05 23:31:05 +08:00
tomsun28 cb7e3916ba Merge branch 'master' into fix-exist-error 2025-05-04 00:07:26 +08:00
tomsun28 62186cc254 [bugfix] fix the calculator expr exist not work
Signed-off-by: tomsun28 <tomsun28@outlook.com>
2025-05-01 18:17:40 +08:00
3 changed files with 5 additions and 5 deletions
@@ -220,11 +220,11 @@ public class RealTimeAlertCalculator {
fingerPrints.putAll(commonFingerPrints);
for (int index = 0; index < valueRow.getColumnsList().size(); index++) {
String valueStr = valueRow.getColumns(index);
final CollectRep.Field field = fields.get(index);
if (CommonConstants.NULL_VALUE.equals(valueStr)) {
fieldValueMap.put(field.getName(), null);
continue;
}
final CollectRep.Field field = fields.get(index);
final int fieldType = field.getType();
if (fieldType == CommonConstants.TYPE_NUMBER) {
@@ -207,12 +207,12 @@ metrics:
# collect metrics content
fields:
# field-metric name, type-metric type(0-number,1-string), unit-metric unit('%','ms','MB'), label-whether it is a metrics label field
- field: Content-Type
- field: content_type
type: 1
i18n:
zh-CN: Content Type
en-US: Content Type
- field: Content-Length
- field: content_length
type: 1
i18n:
zh-CN: 响应内容长度