Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 791 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 791 Bytes

InfluxLinePublisher Reactors

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.

How to use

  1. Compile the LF example applications:

    (cd c && lfc src/InfluxPublisher.lf)
    (cd py && lfc src/InfluxPublisher.lf)
  2. 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.

Testing

There is an end to end testing file in tests/test_publisher_e2e.sh