mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
updated trendprofile model structure
This commit is contained in:
committed by
Dan Christian Bogos
parent
fb9e69e812
commit
bfba6c6f74
@@ -330,8 +330,8 @@ CREATE TABLE tp_trends(
|
||||
`schedule` varchar(64) NOT NULL,
|
||||
`stat_id` varchar(64) NOT NULL,
|
||||
`metrics` varchar(128) NOT NULL,
|
||||
`queue_length` int(11) NOT NULL,
|
||||
`ttl` varchar(32) NOT NULL,
|
||||
`queue_length` int(11) NOT NULL,
|
||||
`min_items` int(11) NOT NULL,
|
||||
`correlation_type` varchar(64) NOT NULL,
|
||||
`tolerance` decimal(8,2) NOT NULL,
|
||||
|
||||
@@ -323,8 +323,8 @@ CREATE TABLE tp_trends(
|
||||
"schedule" varchar(64) NOT NULL,
|
||||
"stat_id" varchar(64) NOT NULL,
|
||||
"metrics" varchar(128) NOT NULL,
|
||||
"queue_length" INTEGER NOT NULL,
|
||||
"ttl" varchar(32) NOT NULL,
|
||||
"queue_length" INTEGER NOT NULL,
|
||||
"min_items" INTEGER NOT NULL,
|
||||
"correlation_type" varchar(64) NOT NULL,
|
||||
"tolerance" decimal(8,2) NOT NULL,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#Tenant[0],Id[1],Schedule[2],StatID[3],Metrics[4],QueueLength[5],TTL[6],MinItems[7],CorrelationType[8],Tolerance[9],Stored[10],ThresholdIDs[11]
|
||||
cgrates.org,TR_1,0 1 * * *,Stats1,*acc,-1,0,1,*last,5,false,TD1
|
||||
#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,TR_1,0 1 * * *,Stats1,*acc,0,-1,1,*last,5,false,TD1
|
||||
|
||||
|
@@ -1,2 +1,2 @@
|
||||
#Tenant[0],Id[1],Schedule[2],StatID[3],Metrics[4],QueueLength[5],TTL[6],MinItems[7],CorrelationType[8],Tolerance[9],Stored[10],ThresholdIDs[11]
|
||||
#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,TREND1,0 12 * * *,Stats2,*acc;*tcc,-1,-1,1,*average,2.1,true,TD1;TD2
|
||||
|
||||
|
Reference in New Issue
Block a user