mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update template for *virt exporter
This commit is contained in:
committed by
Dan Christian Bogos
parent
90971e5b56
commit
2379533337
@@ -305,11 +305,11 @@
|
||||
"attempts": 1,
|
||||
"filters": ["*string:~*req.ExporterUsed:RouteExporter"],
|
||||
"fields":[
|
||||
{"tag": "Cost", "path": "*uch<~*req.CGRID;~*req.RunID;-Cost>", "type": "*variable",
|
||||
{"tag": "Cost", "path": "*uch.<~*req.CGRID;~*req.RunID;-Cost>", "type": "*variable",
|
||||
"value": "~*req.Cost", "rounding_decimals": 4},
|
||||
{"tag": "Account", "path": "*uch<~*req.CGRID;~*req.RunID;-Account>", "type": "*variable", "value": "~*req.Account"},
|
||||
{"tag": "RunID", "path": "*uch<~*req.CGRID;~*req.RunID;-RunID>", "type": "*variable", "value": "~*req.RunID"},
|
||||
{"tag": "CustomVariable", "path": "*uch<~*req.CGRID;~*req.RunID;-CustomVariable>",
|
||||
{"tag": "Account", "path": "*uch.<~*req.CGRID;~*req.RunID;-Account>", "type": "*variable", "value": "~*req.Account"},
|
||||
{"tag": "RunID", "path": "*uch.<~*req.CGRID;~*req.RunID;-RunID>", "type": "*variable", "value": "~*req.RunID"},
|
||||
{"tag": "CustomVariable", "path": "*uch.<~*req.CGRID;~*req.RunID;-CustomVariable>",
|
||||
"type": "*variable", "value": "CustomValue"}
|
||||
],
|
||||
},
|
||||
@@ -330,12 +330,12 @@
|
||||
{"tag": "Tenant", "path": "*exp.Tenant", "type": "*variable", "value": "~*req.Tenant"},
|
||||
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
||||
{"tag": "Cost", "path": "*exp.Cost", "type": "*variable", "value": "~*req.Cost", "rounding_decimals": 4},
|
||||
{"tag": "SupplierCustomVariable","filters": ["*exists:*uch<~*req.CGRID;~*req.RunID;-CustomVariable>:"],
|
||||
"path": "*exp.SupplierCustomVariable", "type": "*variable", "value": "~*uch<~*req.CGRID;~*req.RunID;-CustomVariable>"},
|
||||
{"tag": "SupplierCost","filters": ["*exists:*uch<~*req.CGRID;~*req.RunID;-Cost>:"],
|
||||
"path": "*exp.SupplierCost", "type": "*variable", "value": "~*uch<~*req.CGRID;~*req.RunID;-Cost>"},
|
||||
{"tag": "SupplierRun","filters": ["*exists:*uch<~*req.CGRID;~*req.RunID;-RunID>:"],
|
||||
"path": "*exp.SupplierRun", "type": "*variable", "value": "~*uch<~*req.CGRID;~*req.RunID;-RunID>"},
|
||||
{"tag": "SupplierCustomVariable","filters": ["*exists:~*uch.<~*req.CGRID;~*req.RunID;-CustomVariable>:"],
|
||||
"path": "*exp.SupplierCustomVariable", "type": "*variable", "value": "~*uch.<`~*req.CGRID;~*req.RunID;-CustomVariable`>"},
|
||||
{"tag": "SupplierCost","filters": ["*exists:~*uch.<~*req.CGRID;~*req.RunID;-Cost>:"],
|
||||
"path": "*exp.SupplierCost", "type": "*variable", "value": "~*uch.<`~*req.CGRID;~*req.RunID;-Cost`>"},
|
||||
{"tag": "SupplierRun","filters": ["*exists:~*uch.<~*req.CGRID;~*req.RunID;-RunID>:"],
|
||||
"path": "*exp.SupplierRun", "type": "*variable", "value": "~*uch.<`~*req.CGRID;~*req.RunID;-RunID`>"},
|
||||
],
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user