influxdata / influxdata/docs-v2
How to provide canned dashboards via the resource-path ?
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 326
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Description
It's unclear how to provide canned dashboards via the resource-path. After exporting a dashboard I have a file named ```stats.json```. I mounded a folder containing this file into the docker container at ```/usr/share/chronograf/resources```.
In addition I set the environment variable ```RESOURCES_PATH=/usr/share/chronograf/resources``` and also commandline option ```--resources-path=/usr/share/chronograf/resources```, however the dashboard doesn't show up.
Since for [influxdb connections](https://docs.influxdata.com/chronograf/v1.8/administration/config-options/#influxdb-connection-options) the file extension needs to be ```.src``` and for [Kapacitor connections](https://docs.influxdata.com/chronograf/v1.8/administration/config-options/#kapacitor-connection-options) the file extension needs to be ```.kap```, perhaps the file extension needs to change from ```json``` to ```???```.
I suggest
1. Adding instruction on how to create canned dashboards here: https://docs.influxdata.com/chronograf/v1.8/guides/create-a-dashboard/ .
2. Mention the extensions in the [--resource-path](https://docs.influxdata.com/chronograf/v1.8/administration/config-options/#resources-path) section, something like:
_Path to directory of canned dashboards (```.???```), sources (```.src```), Kapacitor (```.kap```) connections, and organizations (```.???```)._
I'm using docker chronograf:1.8.4-alpine.
Before raising this issue I looked through the documentation and googled for "chronograph resource-path" and some variants, but wasn't able to find enough info.
Initially I filed an [issue with chonograf](https://github.com/influxdata/chronograf/issues/5530).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.