mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Rename event type ProcessTime to EventPerformanceReport
This commit is contained in:
committed by
Dan Christian Bogos
parent
2b63ee67bb
commit
8ce296cdaf
@@ -270,7 +270,7 @@ func processRequest(ctx *context.Context, reqProcessor *config.RequestProcessor,
|
||||
utils.RequestProcessorID: reqProcessor.ID,
|
||||
},
|
||||
APIOpts: map[string]any{
|
||||
utils.MetaEventType: utils.ProcessTime,
|
||||
utils.MetaEventType: utils.EventPerformanceReport,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -539,7 +539,7 @@ func (ra *RadiusAgent) processRequest(req *radigo.Packet, reqProcessor *config.R
|
||||
utils.RequestProcessorID: reqProcessor.ID,
|
||||
},
|
||||
APIOpts: map[string]any{
|
||||
utils.MetaEventType: utils.ProcessTime,
|
||||
utils.MetaEventType: utils.EventPerformanceReport,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -506,7 +506,7 @@ func (sa *SIPAgent) processRequest(reqProcessor *config.RequestProcessor,
|
||||
utils.RequestProcessorID: reqProcessor.ID,
|
||||
},
|
||||
APIOpts: map[string]any{
|
||||
utils.MetaEventType: utils.ProcessTime,
|
||||
utils.MetaEventType: utils.EventPerformanceReport,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -263,7 +263,7 @@ func (erS *ERService) processEvent(cgrEv *utils.CGREvent,
|
||||
utils.EventReaderID: rdrCfg.ID,
|
||||
},
|
||||
APIOpts: map[string]any{
|
||||
utils.MetaEventType: utils.ProcessTime,
|
||||
utils.MetaEventType: utils.EventPerformanceReport,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -566,13 +566,6 @@ const (
|
||||
BalanceDisabled = "BalanceDisabled"
|
||||
BalanceFactorID = "BalanceFactorID"
|
||||
Units = "Units"
|
||||
AccountUpdate = "AccountUpdate"
|
||||
StatUpdate = "StatUpdate"
|
||||
TrendUpdate = "TrendUpdate"
|
||||
RankingUpdate = "RankingUpdate"
|
||||
ResourceUpdate = "ResourceUpdate"
|
||||
ProcessTime = "ProcessTime"
|
||||
CDR = "CDR"
|
||||
CDRs = "CDRs"
|
||||
ExpiryTime = "ExpiryTime"
|
||||
AllowNegative = "AllowNegative"
|
||||
@@ -623,6 +616,18 @@ const (
|
||||
ProcessingTime = "ProcessingTime"
|
||||
ReplyState = "ReplyState"
|
||||
|
||||
// Event types
|
||||
EventType = "EventType"
|
||||
MetaEventType = "*eventType"
|
||||
CDR = "CDR"
|
||||
ThresholdHit = "ThresholdHit"
|
||||
AccountUpdate = "AccountUpdate"
|
||||
RankingUpdate = "RankingUpdate"
|
||||
ResourceUpdate = "ResourceUpdate"
|
||||
StatUpdate = "StatUpdate"
|
||||
TrendUpdate = "TrendUpdate"
|
||||
EventPerformanceReport = "PerformanceReport"
|
||||
|
||||
// ReplyState error constants
|
||||
ErrReplyStateAuthorize = "ERR_AUTHORIZE"
|
||||
ErrReplyStateInitiate = "ERR_INITIATE"
|
||||
@@ -2956,7 +2961,6 @@ const (
|
||||
OptsStatsProfileIDs = "*stsProfileIDs"
|
||||
OptsStatsProfileIgnoreFilters = "*stsProfileIgnoreFilters"
|
||||
// Thresholds
|
||||
ThresholdHit = "ThresholdHit"
|
||||
Hits = "Hits"
|
||||
Snooze = "Snooze"
|
||||
ThresholdConfig = "Config"
|
||||
@@ -2978,9 +2982,7 @@ const (
|
||||
OptsAttributesProcessRuns = "*attrProcessRuns"
|
||||
OptsAttributesProfileRuns = "*attrProfileRuns"
|
||||
OptsAttributesProfileIgnoreFilters = "*attrProfileIgnoreFilters"
|
||||
MetaEventType = "*eventType"
|
||||
MetaEventTime = "*eventTime"
|
||||
EventType = "EventType"
|
||||
SchedulerInit = "SchedulerInit"
|
||||
|
||||
RemoteHostOpt = "*rmtHost"
|
||||
|
||||
Reference in New Issue
Block a user