Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana Provider, with Data Source and Dashboard resources #6206

Merged
merged 5 commits into from
May 20, 2016
Merged

Grafana Provider, with Data Source and Dashboard resources #6206

merged 5 commits into from
May 20, 2016

Conversation

apparentlymart
Copy link
Contributor

@apparentlymart apparentlymart commented Apr 17, 2016

A provider for Grafana, including data source and dashboard resources.

  • Provider
  • grafana_data_source resource.
  • grafana_dashboard resource.
  • Documentation

Grafana uses a documented JSON-based format for importing and exporting dashboards and panels. It is expected that many users of this provider will design dashboards/panels interactively in the Grafana UI, export them as JSON, and then include them in a Terraform config via the file(...) function, and so the grafana_dashboard resource just accepts a raw JSON string for the dashboard configuration.

This was originally submitted as #3480, including some additional resources to generate dashboard JSON from within Terraform configuration. However, experience trying to implement and use those suggested they could do with some more thinking, so this is a simplified PR that includes just the physical data source and dashboard resources.

This is in anticipation of adding a Grafana provider plugin.
Allows data sources to be created in Grafana. Supports all data source
types that are accepted in the current version of Grafana, and will
support any future ones that fit into the existing structure.
@apparentlymart apparentlymart changed the title [WIP] Grafana Provider, with Data Source and Dashboard resources Grafana Provider, with Data Source and Dashboard resources Apr 17, 2016
@bigkraig
Copy link
Contributor

bigkraig commented May 2, 2016

👍

@stack72 stack72 self-assigned this May 9, 2016
@stack72
Copy link
Contributor

stack72 commented May 20, 2016

Hi @apparentlymart

so i have been messing with this provider this morning and it looks good :) I think we are in a situation where we can merge this. I have pinged the Grafana team to try and get them to test it out as well :)

Nice work!

P.

@stack72 stack72 merged commit 158a90b into hashicorp:master May 20, 2016
cristicalin pushed a commit to cristicalin/terraform that referenced this pull request May 24, 2016
…#6206)

* Grafana provider

* grafana_data_source resource.

Allows data sources to be created in Grafana. Supports all data source
types that are accepted in the current version of Grafana, and will
support any future ones that fit into the existing structure.

* Vendoring of apparentlymart/go-grafana-api

This is in anticipation of adding a Grafana provider plugin.

* grafana_dashboard resource

* Website documentation for the Grafana provider.
@ghost
Copy link

ghost commented Apr 25, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants