mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 18:46:24 +05:00
108 lines
1.9 KiB
JSON
108 lines
1.9 KiB
JSON
{
|
|
// CGRateS Configuration file
|
|
//
|
|
// Used for cgradmin
|
|
// Starts rater, scheduler
|
|
|
|
"general": {
|
|
"log_level": 7,
|
|
"poster_attempts": 1,
|
|
"failed_posts_ttl": "1",
|
|
},
|
|
|
|
"rpc_conns": {
|
|
"conn1": {
|
|
"strategy": "*first",
|
|
"conns": [{"address": "127.0.0.1:2013", "transport":"*gob"}],
|
|
},
|
|
},
|
|
|
|
"data_db": {
|
|
"db_type": "mongo",
|
|
"db_name": "10",
|
|
"db_port": 27017,
|
|
},
|
|
|
|
"cdrs": {
|
|
"enabled": true, // start the CDR Server service: <true|false>
|
|
"chargers_conns":["conn1"],
|
|
},
|
|
|
|
"chargers": {
|
|
"enabled": true,
|
|
},
|
|
|
|
|
|
"thresholds": {
|
|
"enabled": true,
|
|
"store_interval": "1s",
|
|
},
|
|
|
|
|
|
"stats": {
|
|
"enabled": true,
|
|
"store_interval": "1s",
|
|
},
|
|
|
|
|
|
"ees": {
|
|
"enabled": true,
|
|
"exporters": [
|
|
{
|
|
"id": "sqs_fail",
|
|
"type": "*sqsJSONMap",
|
|
// export_path for sqs: "endpoint"
|
|
"export_path": "notAValidURL",
|
|
"attempts": 1,
|
|
"fields":[
|
|
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
|
],
|
|
},
|
|
{
|
|
"id": "kafka_fail",
|
|
"type": "*kafkaJSONMap",
|
|
"export_path": "notAValidURL",
|
|
"attempts": 1,
|
|
"fields":[
|
|
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
|
],
|
|
},
|
|
{
|
|
"id": "amqp_fail",
|
|
"type": "*amqpJSONMap",
|
|
"export_path": "notAValidURL",
|
|
"attempts": 1,
|
|
"fields":[
|
|
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
|
],
|
|
},
|
|
{
|
|
"id": "s3_fail",
|
|
"type": "*s3JSONMap",
|
|
"export_path": "notAValidURL",
|
|
"attempts": 1,
|
|
"fields":[
|
|
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
|
],
|
|
},
|
|
{
|
|
"id": "aws_fail",
|
|
"type": "*amqpv1JSONMap",
|
|
"export_path": "notAValidURL",
|
|
"attempts": 1,
|
|
"fields":[
|
|
{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
"admins": {
|
|
"enabled": true,
|
|
"ees_conns": ["*localhost"]
|
|
},
|
|
|
|
|
|
}
|