grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
64.19k stars 12.01k forks source link

Add import/export/duplicate for datasources #26956

Open bijwaard opened 4 years ago

bijwaard commented 4 years ago

Dear grafana developers,

What would you like to be added: It would be great to be able to import and export datasources by file via the web frontend. Duplicating a datasource (e.g. similar to what can be done with metric queries) would also save configuration time.

Why is this needed: I have about 20 datasources from embedded sensor devices (JSON and influxdb) per grafana server (on embedded device) and would like to easily re-populate them on the grafana server of a sensor clusters that runs elsewhere.

I found scripts to import/export datasources, but this requires shell access to obtain&re-deploy the datasources and transport them somehow between unconnected private networks.

Kind regards, Dennis

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

bijwaard commented 8 months ago

This issue still exists, by now there are also 100+ datasources on my server, including influxdb from local and remote sensors, live websocket and JSON from sensors.

Easy management and duplication of datasource entries would be very helpful. Most entries are quite similar except for URL and credentials.