mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Changed opts for Event Exporter
This commit is contained in:
committed by
Dan Christian Bogos
parent
72b7618807
commit
893da9be8d
@@ -475,8 +475,8 @@ const CGRATES_CFG_JSON = `
|
||||
|
||||
// SQL
|
||||
// "sqlMaxIdleConns": 0, // SQLMaxIdleConns
|
||||
// "maxOpenConns": 0, // SQLMaxOpenConns
|
||||
// "maxConnLifetime": 0, // SQLMaxConnLifetime
|
||||
// "sqlMaxOpenConns": 0, // SQLMaxOpenConns
|
||||
// "sqlMaxConnLifetime": 0, // SQLMaxConnLifetime
|
||||
|
||||
|
||||
// "tableName":"cdrs", // the name of the table from where the events are exported
|
||||
|
||||
@@ -398,8 +398,8 @@
|
||||
"tableName": "expTable", // tableName is mandatory in opts for sql exporter
|
||||
"sslmode": "disable",
|
||||
"sqlMaxIdleConns": "10",
|
||||
"maxOpenConns": "100",
|
||||
"maxConnLifetime": "0",
|
||||
"sqlMaxOpenConns": "100",
|
||||
"sqlMaxConnLifetime": "0",
|
||||
},
|
||||
"fields":[ // in case that the path is *exp.*row user must complete all the fields one to one with his sql schema in the correct order
|
||||
{"tag": "CGRID", "path": "*exp.*row", "type": "*group", "value": "~*req.CGRID"},
|
||||
@@ -419,8 +419,8 @@
|
||||
"tableName": "expTable",
|
||||
"sslmode": "disable",
|
||||
"sqlMaxIdleConns": "10",
|
||||
"maxOpenConns": "100",
|
||||
"maxConnLifetime": "0",
|
||||
"sqlMaxOpenConns": "100",
|
||||
"sqlMaxConnLifetime": "0",
|
||||
},
|
||||
"fields":[ // the path constains *exp.columnName
|
||||
{"tag": "CGRID", "path": "*exp.cgrid", "type": "*variable", "value": "~*req.CGRID"},
|
||||
|
||||
@@ -2466,8 +2466,8 @@ const (
|
||||
ElsVersionType = "elsVersionType"
|
||||
ElsWaitForActiveShards = "elsWaitForActiveShards"
|
||||
// SQLEe options
|
||||
SQLMaxOpenConns = "maxOpenConns"
|
||||
SQLMaxConnLifetime = "maxConnLifetime"
|
||||
SQLMaxOpenConns = "sqlMaxOpenConns"
|
||||
SQLMaxConnLifetime = "sqlMaxConnLifetime"
|
||||
|
||||
// Others
|
||||
OptsContext = "*context"
|
||||
|
||||
Reference in New Issue
Block a user