Files
cgrates/data/conf/samples/cdrsv1processeventmysql/cgrates.json
2022-04-21 15:27:27 +02:00

79 lines
1.5 KiB
JSON

{
// CGRateS Configuration file
//
// Used in general_tests
"general": {
"log_level": 7,
"poster_attempts": 1,
"failed_posts_ttl": "1",
},
"data_db": { // database used to store runtime data (eg: accounts, cdr stats)
"db_type": "redis", // data_db type: <redis|mongo>
"db_port": 6379, // data_db port to reach the database
"db_name": "10", // data_db database name to connect to
},
"attributes": {
"enabled": true,
},
"chargers":{
"enabled": true,
"attributes_conns": ["*internal"],
},
"ees": {
"enabled": true,
"attributes_conns": ["*internal"],
"exporters": [
{
"id": "amqp_test_file",
"type": "*amqpJSONMap",
"export_path": "amqps://guest:guest@localhost:256733/",
"attempts": 1,
"synchronous": true,
"fields":[
{"tag": "*originID", "path": "*exp.*originID", "type": "*variable", "value": "~*opts.*originID"},
],
}
]
},
"stats": {
"enabled": true,
"store_interval": "-1",
},
"thresholds": {
"enabled": true,
"store_interval": "-1",
},
"cdrs": {
"enabled": true,
"rates_conns": ["*internal"],
"attributes_conns": ["*internal"],
"chargers_conns": ["*internal"],
"stats_conns": ["*internal"],
"thresholds_conns": ["*internal"],
"online_cdr_exports": ["amqp_test_file"],
"ees_conns": ["*localhost"]
},
"admins": {
"enabled": true,
"scheduler_conns": ["*internal"],
},
"caches":{
"partitions": {
"*rpc_responses": {"limit": -1, "ttl": "2s", "static_ttl": false}
},
},
}