This is a Yamcs plugin for Archiving Yamcs parameters in Influxdb DataBase
1- Run Influxdb on Docker
docker run -d -p 8086:8086
-v $PWD/data:/var/lib/influxdb2
-v $PWD/config:/etc/influxdb2
-e DOCKER_INFLUXDB_INIT_MODE=setup
-e DOCKER_INFLUXDB_INIT_USERNAME=my-user
-e DOCKER_INFLUXDB_INIT_PASSWORD=my-password
-e DOCKER_INFLUXDB_INIT_ORG=my-org
-e DOCKER_INFLUXDB_INIT_BUCKET=Telemetry
influxdb:2.0
2- Add this to yamcs pom.xml file org.yamcs yamcs-Influx 1.0.1
3- Use the yaml file yamcs.simulator_withInfluxdb.yaml
4- Run ./run-example.sh simulation.
5- You will notice the plugin is added in the plugin tab and the archiving service is running in service tab.
6- Open http://localhost:8086 in your browser and go to explore to query the parameters and visulaize it.
7-There are two rest api just for testing one for creating new buckets and other for archiving historical parameter.
Affero GPLv3