chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Add "connect to" influxdb and/or kapacitor from CLI

Open goller opened this issue 9 years ago • 2 comments

From #318

goller avatar Feb 15 '17 15:02 goller

• If there are no sources, add CLI source and make it the default • If there is a default add the source as non default and connect to it instead the default

nhaugo avatar Mar 28 '17 16:03 nhaugo

After discussing UX, proposed new CLI options:

chronograf
  --influxdb=http://localhost:8086
  --influxdb-username=admin
  --influxdb-password=password

  --kapacitor=http://localhost:9092
  --kapacitor-username=admin
  --kapacitor-password=password

Also available in ENV_VAR format:

export INFLUXDB=http://localhost:8086
export INFLUXDB_USERNAME=admin
export INFLUXDB_PASSWORD=password

export KAPACITOR=http://localhost:9092
export KAPACITOR_USERNAME=admin
export KAPACITOR_PASSWORD=password

lukevmorris avatar Mar 28 '17 23:03 lukevmorris