Added nats exporter in EEs cfg in order to load the config from path in nats_it_test.go

This commit is contained in:
nickolasdaniel
2021-07-12 16:35:19 +03:00
committed by Dan Christian Bogos
parent 8826caa135
commit 5cd74df5f2
2 changed files with 20 additions and 27 deletions

View File

@@ -412,6 +412,16 @@
{"tag": "AnswerTime", "path": "*exp.answer_time", "type": "*variable", "value": "~*req.AnswerTime"},
{"tag": "Cost", "path": "*exp.cost", "type": "*variable", "value": "~*req.Cost{*round:4}"},
]
},
{
"id": "HTTPJsonMapExporter",
"type": "*nats_json_map",
"export_path": "nats://localhost:4222",
"attempts": 1,
"opts": {
"natsJetStream": true,
"natsSubject": "processed_cdrs",
}
}
]
},