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

Dynamic JSON endpoint #103

Closed
LostInBrittany opened this issue Oct 11, 2017 · 2 comments
Closed

Dynamic JSON endpoint #103

LostInBrittany opened this issue Oct 11, 2017 · 2 comments

Comments

@LostInBrittany
Copy link
Contributor

Hi!

I wanted to use worldmap-panel to get data from Warp 10, an open source Geo-Time Series database.

Using grafana-warp10-datasource plugin I can define a Warp 10 instance as source of my data, and using Warp 10 query language (WarpScript) I can make it to produce a JSON in the same format that the JSON endpoint format of worldmap-panel.

My problem is that I have found no way to make worldmap-panel to get the JSON data from the declared datasource instead of a fixed JSON endpoint.

So for my use case I needed a new endpoint, a json result endpoint, datasource-agnostic, that allows to directly use any datasource able to generate the JSON.

I have implemented it in my fork, https://github.com/LostInBrittany/worldmap-panel, and I intend to submit it as a PR here, but as it's my first contribution here I prefer to begin by writing the issue and introducing the way and how of my modification.

@daniellee
Copy link
Contributor

The PR is merged. Thanks for asking first though.

@daniellee
Copy link
Contributor

Fixed by #104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants