This folder contains Lingua Franca reactors that publish to InfluxDB via a socket connection to Telegraf, and example applications that publish to the Xronos Dashboard.
-
Compile the LF example applications:
(cd c && lfc src/InfluxPublisher.lf) (cd py && lfc src/InfluxPublisher.lf)
-
Start Xronos Dashboard and LF example applications:
docker compose up
Open Grafana on
http://localhost:3000
. Open the dashboard "Telegraf Test Publishers" to view the application-level trace data, or open the dashboard "LF Tracing" to view the trace data that is produced by the LF runtime.
There is an end to end testing file in tests/test_publisher_e2e.sh