mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 12:49:54 +05:00
Finish implementation for ees *file_csv format
This commit is contained in:
committed by
Dan Christian Bogos
parent
50511c0eab
commit
31387e2fe2
@@ -376,6 +376,7 @@ const (
|
||||
MetaDispatcherHosts = "*dispatcher_hosts"
|
||||
MetaFilters = "*filters"
|
||||
MetaCDRs = "*cdrs"
|
||||
MetaDC = "*dc"
|
||||
MetaCaches = "*caches"
|
||||
MetaCache = "*cache"
|
||||
MetaGuardian = "*guardians"
|
||||
@@ -2154,6 +2155,23 @@ const (
|
||||
RoutesOffset = "RoutesOffset"
|
||||
)
|
||||
|
||||
// EventExporter metrics
|
||||
const (
|
||||
NumberOfEvents = "NumberOfEvents"
|
||||
TotalCost = "TotalCost"
|
||||
PositiveExports = "PositiveExports"
|
||||
NegativeExports = "NegativeExports"
|
||||
FirstExpOrderID = "FirstExpOrderID"
|
||||
LastExpOrderID = "LastExpOrderID"
|
||||
FirstEventATime = "FirstEventATime"
|
||||
LastEventATime = "LastEventATime"
|
||||
TotalDuration = "TotalDuration"
|
||||
TotalDataUsage = "TotalDataUsage"
|
||||
TotalSMSUsage = "TotalSMSUsage"
|
||||
TotalMMSUsage = "TotalMMSUsage"
|
||||
TotalGenericUsage = "TotalGenericUsage"
|
||||
)
|
||||
|
||||
func buildCacheInstRevPrefixes() {
|
||||
CachePrefixToInstance = make(map[string]string)
|
||||
for k, v := range CacheInstanceToPrefix {
|
||||
|
||||
@@ -143,7 +143,7 @@ func (onm OrderedNavigableMap) Len() int {
|
||||
return onm.nm.Len()
|
||||
}
|
||||
|
||||
// FieldAsString returns thevalue from path as string
|
||||
// FieldAsString returns the value from path as string
|
||||
func (onm *OrderedNavigableMap) FieldAsString(fldPath []string) (str string, err error) {
|
||||
var val NMInterface
|
||||
val, err = onm.nm.Field(NewPathItems(fldPath))
|
||||
|
||||
Reference in New Issue
Block a user