Configuration required to build and upload collector package.
To build and upload collector package, need to add/modify the below configuration files.
Build_config.json
This file needs to be updated according to your VMware Telco Cloud Service Assurance deployment where the custom collector will be uploaded and deployed.
{ "TCSA_IP": "127.0.0.1", "TCSA_PORT" : "30002", "TCSA_USERNAME" : "admin", "TCSA_PASSWORD" : "changeme", "PROTOCOL": "https", "type": "rest/kafka" }
Metadata.json
The first three parameters like name, description and entrypoint needs to be set according to the type of collector. The entrypoint parameter should have the main python filename which is implementing BatchCollector or StreamCollector for rest or kafka respectively.
{ "name" : "rest-collector/kafka-collector", "description" : "rest/kafka collector package", "entrypoint" : "rest_collector.py/kafka_collector.py", "version" : "0.0.1", "creator" : "admin", "tests" : ["test/core.py"] }