{
// CGRateS Configuration file
//
// Used for cgradmin
// Starts rater, scheduler

"general": {
	"log_level": 7,
	"poster_attempts": 1
},

"listen": {
	"rpc_json": ":2012",			// RPC JSON listening address
	"rpc_gob": ":2013",			// RPC GOB listening address
	"http": ":2080",				// HTTP listening address
},

"data_db": {
	"db_type": "*internal",	
},


"stor_db": {
	"db_type": "*internal",	
},

"rals": {
	"enabled": true,						// enable Rater service: <true|false>
	"stats_conns": ["*internal"],
},

"schedulers": {
	"enabled": true,						// start Scheduler service: <true|false>
	"cdrs_conns": ["*internal"],
},

"cdrs": {
	"enabled": true,						// start the CDR Server service:  <true|false>
	"chargers_conns":["*localhost"],
},

"chargers": {
	"enabled": true,
},


"thresholds": {
	"enabled": true,
	"store_interval": "-1",
},


"stats": {
	"enabled": true,
	"store_interval": "-1",
},


"ees": {
	"enabled": true,
	"failed_posts": {
	    "ttl": "1"
	},
	"exporters": [
		{
			"id": "sqs_fail",
			"type": "*sqs_json_map",
			// 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": "*kafka_json_map",
			"export_path": "notAValidURL",
			"attempts": 1,
			"fields":[
				{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
			],
		},
		{
			"id": "amqp_fail",
			"type": "*amqp_json_map",
			"export_path": "notAValidURL",
			"attempts": 1,
			"fields":[
				{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
			],
		},
		{
			"id": "s3_fail",
			"type": "*s3_json_map",
			"export_path": "notAValidURL",
			"attempts": 1,
			"fields":[
				{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
			],
		},
		{
			"id": "aws_fail",
			"type": "*amqpv1_json_map",
			"export_path": "notAValidURL",
			"attempts": 1,
			"fields":[
				{"tag": "Account", "path": "*exp.Account", "type": "*variable", "value": "~*req.Account"},
			],
		},
	],
},


"apiers": {
	"enabled": true,
	"scheduler_conns": ["*internal"],
	"ees_conns": ["*localhost"]
},

}
