mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 10:36:24 +05:00
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
// will be used in apis/stats_it_test.go
|
|
"general": {
|
|
"log_level": 7,
|
|
},
|
|
|
|
"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
|
|
},
|
|
|
|
"listen": {
|
|
"rpc_json": ":2012", // RPC JSON listening address
|
|
"rpc_gob": ":2013", // RPC GOB listening address
|
|
"http": ":2080", // HTTP listening address
|
|
},
|
|
|
|
"actions": {
|
|
"enabled": true,
|
|
"thresholds_conns": ["*internal"],
|
|
},
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"thresholds_conns": ["*internal"],
|
|
"opts": {
|
|
"*prometheusStatIDs": [
|
|
{
|
|
"Tenant": "*any",
|
|
"FilterIDs": [],
|
|
"Value": ["SQ_1"],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "-1",
|
|
"actions_conns": ["*internal"],
|
|
},
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
}
|
|
} |