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
e019aeabab
commit
910f49fa6c
@@ -201,7 +201,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,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -479,7 +479,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,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -477,7 +477,7 @@ func (sa *SIPAgent) processRequest(reqProcessor *config.RequestProcessor,
|
||||
utils.RequestProcessorID: reqProcessor.ID,
|
||||
},
|
||||
APIOpts: map[string]any{
|
||||
utils.MetaEventType: utils.ProcessTime,
|
||||
utils.MetaEventType: utils.EventPerformanceReport,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -219,7 +219,7 @@ func (erS *ERService) processEvent(cgrEv *utils.CGREvent,
|
||||
utils.EventReaderID: rdrCfg.ID,
|
||||
},
|
||||
APIOpts: map[string]any{
|
||||
utils.MetaEventType: utils.ProcessTime,
|
||||
utils.MetaEventType: utils.EventPerformanceReport,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -499,14 +499,7 @@ const (
|
||||
BalanceBlockers = "BalanceBlockers"
|
||||
BalanceDisabled = "BalanceDisabled"
|
||||
Units = "Units"
|
||||
AccountUpdate = "AccountUpdate"
|
||||
BalanceUpdate = "BalanceUpdate"
|
||||
StatUpdate = "StatUpdate"
|
||||
TrendUpdate = "TrendUpdate"
|
||||
RankingUpdate = "RankingUpdate"
|
||||
ResourceUpdate = "ResourceUpdate"
|
||||
ProcessTime = "ProcessTime"
|
||||
CDRKey = "CDR"
|
||||
CDRs = "CDRs"
|
||||
ExpiryTime = "ExpiryTime"
|
||||
EventID = "EventID"
|
||||
@@ -554,6 +547,17 @@ const (
|
||||
RequestProcessorID = "RequestProcessorID"
|
||||
EventReaderID = "EventReaderID"
|
||||
|
||||
// Event types
|
||||
EventType = "EventType"
|
||||
MetaEventType = "*eventType"
|
||||
CDRKey = "CDR"
|
||||
ThresholdHit = "ThresholdHit"
|
||||
RankingUpdate = "RankingUpdate"
|
||||
ResourceUpdate = "ResourceUpdate"
|
||||
StatUpdate = "StatUpdate"
|
||||
TrendUpdate = "TrendUpdate"
|
||||
EventPerformanceReport = "PerformanceReport"
|
||||
|
||||
// ReplyState error constants
|
||||
ErrReplyStateAuthorize = "ERR_AUTHORIZE"
|
||||
ErrReplyStateInitiate = "ERR_INITIATE"
|
||||
@@ -2749,8 +2753,6 @@ const (
|
||||
Compressed = "Compressed"
|
||||
|
||||
// Thresholds
|
||||
ThresholdHit = "ThresholdHit"
|
||||
|
||||
Hits = "Hits"
|
||||
Snooze = "Snooze"
|
||||
ThresholdConfig = "Config"
|
||||
@@ -2771,8 +2773,6 @@ const (
|
||||
OptsContext = "*context"
|
||||
MetaSubsys = "*subsys"
|
||||
MetaMethod = "*reqMethod"
|
||||
MetaEventType = "*eventType"
|
||||
EventType = "EventType"
|
||||
SchedulerInit = "SchedulerInit"
|
||||
MetaProfileIgnoreFilters = "*profileIgnoreFilters"
|
||||
MetaPosterAttempts = "*posterAttempts"
|
||||
|
||||
Reference in New Issue
Block a user