added integration tests for trend event to thresholds,EEs && fixes

This commit is contained in:
gezimbll
2024-10-09 17:38:49 +02:00
committed by Dan Christian Bogos
parent 0a89b131be
commit 69f4f08770
10 changed files with 511 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
#Tenant[0],Id[1],Schedule[2],StatID[3],Metrics[4],TTL[5],QueueLength[6],MinItems[7],CorrelationType[8],Tolerance[9],Stored[10],ThresholdIDs[11]
cgrates.org,TREND_1,@every 1s,Stats1_1,,-1,-1,1,*last,1,false,
cgrates.org,TREND_2,@every 2s,Stats1_2,,-1,2,4,*last,1,false,
cgrates.org,TREND_2,@every 3s,Stats1_2,,-1,2,4,*last,1,false,
cgrates.org,TR_1min,@every 1m,Stats1_1,,-1,3,2,*average,0.15,false,
tenant1,TR_5min,*/5 * * * *,Stat1,,-1,-1,8,*average,0.23,true,
tenant1,TR_1hr,0 * * * *,Stat1,,-1,-1,8,*average,0.1,true,
1 #Tenant[0] Id[1] Schedule[2] StatID[3] Metrics[4] TTL[5] QueueLength[6] MinItems[7] CorrelationType[8] Tolerance[9] Stored[10] ThresholdIDs[11]
2 cgrates.org TREND_1 @every 1s Stats1_1 -1 -1 1 *last 1 false
3 cgrates.org TREND_2 @every 2s @every 3s Stats1_2 -1 2 4 *last 1 false
4 cgrates.org TR_1min @every 1m Stats1_1 -1 3 2 *average 0.15 false
5 tenant1 TR_5min */5 * * * * Stat1 -1 -1 8 *average 0.23 true
6 tenant1 TR_1hr 0 * * * * Stat1 -1 -1 8 *average 0.1 true