147 lines
3.8 KiB
JSON
147 lines
3.8 KiB
JSON
{
|
|
"metric1": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 1",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000,
|
|
"hasOffenders": false
|
|
},
|
|
"value": 1236,
|
|
"bad": true,
|
|
"abnormal": false,
|
|
"score": 88,
|
|
"abnormalityScore": 0
|
|
},
|
|
"metric2": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 2",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000,
|
|
"hasOffenders": true,
|
|
"takeOffendersFrom": "metric3"
|
|
},
|
|
"value": 222,
|
|
"offendersObj": {
|
|
"count": 2,
|
|
"str": "offender1 - offender2"
|
|
},
|
|
"bad": false,
|
|
"abnormal": false,
|
|
"score": 100,
|
|
"abnormalityScore": 0
|
|
},
|
|
"metric3": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 3",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000,
|
|
"hasOffenders": true
|
|
},
|
|
"value": 6666,
|
|
"offendersObj": {
|
|
"count": 2,
|
|
"test": "offender1/offender2"
|
|
},
|
|
"bad": true,
|
|
"abnormal": true,
|
|
"score": 0,
|
|
"abnormalityScore": -42
|
|
},
|
|
"metric4": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 4",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000,
|
|
"hasOffenders": true
|
|
},
|
|
"value": 1000,
|
|
"offendersObj": {
|
|
"count": 1,
|
|
"list": ["offender3"]
|
|
},
|
|
"bad": false,
|
|
"abnormal": false,
|
|
"score": 100,
|
|
"abnormalityScore": 0
|
|
},
|
|
"metric5": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 5",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000,
|
|
"hasOffenders": true,
|
|
"takeOffendersFrom": ["metric3", "metric4"]
|
|
},
|
|
"value": 3000,
|
|
"offendersObj": {
|
|
"count": 3,
|
|
"list": ["offender1", "offender2", "offender3"]
|
|
},
|
|
"bad": true,
|
|
"abnormal": false,
|
|
"score": 0,
|
|
"abnormalityScore": 0
|
|
},
|
|
"metric6": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 6",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000
|
|
},
|
|
"value": 0,
|
|
"bad": false,
|
|
"abnormal": false,
|
|
"score": 100,
|
|
"abnormalityScore": 0
|
|
},
|
|
"metric7": {
|
|
"policy": {
|
|
"tool": "tool1",
|
|
"label": "The metric 7",
|
|
"message": "A great message",
|
|
"isOkThreshold": 1000,
|
|
"isBadThreshold": 3000,
|
|
"isAbnormalThreshold": 5000
|
|
},
|
|
"value": 5000,
|
|
"bad": true,
|
|
"abnormal": true,
|
|
"score": 0,
|
|
"abnormalityScore": 0
|
|
},
|
|
|
|
"metric10": {
|
|
"policy": {
|
|
"tool": "tool2",
|
|
"label": "The metric 10",
|
|
"message": "<p>This is from another tool!</p>",
|
|
"isOkThreshold": 0,
|
|
"isBadThreshold": 3,
|
|
"isAbnormalThreshold": 11,
|
|
"hasOffenders": false
|
|
},
|
|
"value": 22,
|
|
"bad": true,
|
|
"abnormal": true,
|
|
"score": 0,
|
|
"abnormalityScore": -100
|
|
}
|
|
} |