This example shows a car parking area where cars (virtual actors) enter and leave randomly. The car sensor data is sent via Dapr actors to InfluxDB and displayed on Grafana.
Start influxdb, telegraf and grafana using docker-compose.
docker-compose up
# Build the Source (from the root)
./build.sh
# Install (from the example directory)
npm install
# Build and run the example
npm run build
npm run start:dapr
Start Grafana on localhost:3001 and use the credentials admin
:password
to login and visualize the dashboard!
- Original blog post: https://xaviergeerinck.com/post/2021/10/09/parking-garage
- Influx/Telgraf/Grafana setup inspired from: https://github.com/bcremer/docker-telegraf-influx-grafana-stack