Skip to content

A datasource that connects to grafana datasources and allows you to create a model

License

Notifications You must be signed in to change notification settings

srclosson/object-datasource

Repository files navigation

Object datasource

Vision

  1. Have you ever had users that didn't know the details about how to make a query for a datasource, but needed information from that datasource?
  2. Do you just want to provide your users a drop down showing a model? Much like a folder structure?

What does it do?

The object datasource tries to solve the problem between query creators (those knowledgable about the a query language) and query consumers (those knowledgable about the data a query produces) Ideally, everyone interacting with data is knowledgable as both a query creator, and query consumer, but this is often not the case.

The object datasource allows query creators to create meaningful queryies, and associate them in a heiarchy that can be accessed by query consumers. Query consumers (those who are knowledgable about how to use and interpret the data) then have much easier access to the data they need to be successful.

What does it look like?

Query creators write queries in the datasource config like so: Query Config

Query consumers access the data through a tree like heirarchy like so: Query Selection

Frontend

  1. Install dependencies

    yarn install
  2. Build plugin in development mode or run in watch mode

    yarn dev

    or

    yarn watch
  3. Build plugin in production mode

    yarn build

Backend

  1. Update Grafana plugin SDK for Go dependency to the latest minor version:

    go get -u github.com/grafana/grafana-plugin-sdk-go
  2. Build backend plugin binaries for Linux, Windows and Darwin:

    mage -v
  3. List all available Mage targets for additional commands:

    mage -l

Learn more

About

A datasource that connects to grafana datasources and allows you to create a model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published