balena-labs-projects / connector

Auto-configured data connector block based on Telegraf
15 stars 8 forks source link

Make an assumption about a default input #3

Closed chrisys closed 4 years ago

chrisys commented 4 years ago

I started up an app with transport, influx and grafana, which couldn't autowire any inputs (because there are none). Should we fall back to enabling something by default?

Screenshot 2020-07-24 at 17 27 53

chrisys commented 4 years ago

The config file looked like this:

Screenshot 2020-07-24 at 17 33 07

phil-d-wilson commented 4 years ago

The temperature of the device will be the default input if no inputs are detected (sensor) or enabled by environment variables (e.g. external HTTP).