cube-js / cube

📊 Cube — Universal semantic layer platform for AI, BI, spreadsheets, and embedded analytics
https://cube.dev
Other
17.97k stars 1.78k forks source link

Grafana Plugin #1226

Open daniel-garcia opened 4 years ago

daniel-garcia commented 4 years ago

Is your feature request related to a problem? Please describe. I'm not able to use my existing graphing solution (grafana) with cubejs.

Describe the solution you'd like I would like a grafana plugin where I can write cubejs JSON queries and display the results in grafana.

Describe alternatives you've considered No.

vasilev-alex commented 4 years ago

Hi, @daniel-garcia!

Which DBs are you planning to use with Grafana? Could you maybe elaborate a bit more on your use case?

daniel-garcia commented 4 years ago

cubjejs is configured with a some cubes that are eventually backed by either postgresql or elasticsearch. I want to be able to query the cubejs REST API and have graphs in grafana instead of having to develop/maintain a different portal for visualizing this data.

It would be useful to use grafana as it already has support for OTHER data sources: prometheus, redshift, etc.

paveltiunov commented 4 years ago

@daniel-garcia Hey Daniel! We're definitely want to support this in the future. Currently, it isn't part of our short term roadmap. We'd love to help anyone to implement this hands-on. Contributions are very welcomed here!

benw-at-birdie commented 1 year ago

Hey @paveltiunov I'm just curious to hear if grafana support is still somewhere on the roadmap for cube.js?

We're interested in using grafana as an embedded analytics front-end solution. Our devs are already familiar with using it for internal purposes so if we could find a way to hook it up to cube.dev then it would make it easy for them to surface business metrics defined in DBT in our user facing applications.

Or if you have other recommendations for embedded analytics tooling that would be useful also?

igorlukanin commented 1 year ago

It should be possible to connect Grafana to use Cube's SQL API as it supports Postgres wire protocol.