File tree Expand file tree Collapse file tree
samples/manage/sql-assessment-api/notebooks/CustomizationSamples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "probes" :{
66 "ManagedCodeRuleProbe" : [
77 {
8- "type" : " CLR " ,
8+ "type" : " External " ,
99 "target" : {
1010 "type" : " Server"
1111 },
1212 "implementation" : {
13- "class" : " TestsProbeLibrary.Probe1 " ,
13+ "class" : " TestsProbeLibrary.Probe2 " ,
1414 "assembly" : " C:\\ SQLAsmnt\\ CustomizationSamples\\ TestsProbeLibrary.dll"
1515 }
1616 }
2727 "itemType" : " definition" ,
2828 "displayName" : " Check uses 3rd-party assembly" ,
2929 "description" : " This is an example of a check using an assembly to get required data." ,
30- "message" : " Method from the assembly returned a number greater than the threshold: @{QueryResult } > @{threshold}." ,
30+ "message" : " Method from the assembly returned a number greater than the threshold: @{ActualCpuUtilization } > @{threshold}." ,
3131 "target" : { "type" : " Server" },
3232 "probes" : [" ManagedCodeRuleProbe" ],
3333 "threshold" : 83 ,
34- "condition" : { "less" : [" @QueryResult " , " @threshold" ] }
34+ "condition" : { "less" : [" @ActualCpuUtilization " , " @threshold" ] }
3535 }
3636 ]
3737}
You can’t perform that action at this time.
0 commit comments