GithubHelp home page GithubHelp logo

saketbairoliya2 / druid-grafana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grafadruid/druid-grafana

0.0 0.0 0.0 28.46 MB

Connects Grafana to Druid

Home Page: https://join.slack.com/t/grafadruid/shared_invite/zt-1f98r9oja-RbZFSDsH~Q5qC4tNMdwk1g

License: Apache License 2.0

Shell 0.69% JavaScript 0.19% Python 3.90% Go 13.51% TypeScript 81.62% Dockerfile 0.09%

druid-grafana's Introduction

Druid as a Data Source for Grafana

Table of Contents

What is this Druid-Grafana plugin?

Grafana doesn't supports Druid as a Data Source, this plugin aims to do so.

Features

At the time of writing, the plugin supports all Grafana features and all Druid queries:

  • Druid queries: SQL, timeseries, topn, groupby, timeboundary, segmentmetadata, datasourcemetadata, scan, search, JSON
  • Variables: Grafana global variables replacement, query variables, formatter druid:json (provide support for multi-value variables within rune queries).
  • Alerts
  • Explore
  • Logs

if you're using a self-signed TLS certificate, an option to "Skip TLS verify" will be shown when "https" is used in datasource URI)

Screenshots

Datasource - Connection

Datasource - connection

Datasource - Default settings

Datasource - default settings

Panels

Panels

Query builder - JSON

Query builder - JSON

Query builder - SQL

Query builder - SQL

Query builder - Timeseries

Query builder - timeseries

Query builder - Settings

Query builder - settings

Variables

Variables

Variables - Formatter - druid:json

Variables - formatter - druid:json

Explore - Logs

Explore - logs

Query builder - Settings - Logs

Query builder - settings - logs

Contribute

Any contribution is welcome! Feel free to join on Slack to discuss :) To go further, see Contribute

Install

  • From Grafana.com: grafana-cli plugins install grafadruid-druid-datasource $VERSION
    • If $VERSION is not specified latest version will be installed
  • From remote archive: grafana-cli --pluginUrl https://github.com/grafadruid/druid-grafana/releases/download/v$VERSION/grafadruid-druid-datasource-$VERSION.zip plugins install grafadruid-druid-datasource
  • From local archive: unzip grafadruid-druid-datasource-$VERSION.zip -d $YOUR_PLUGIN_DIR

Where $VERSION is for instance 1.0.0 and $YOUR_PLUGIN_DIR is for instance /var/lib/grafana/plugins

(Source: https://grafana.com/docs/grafana/latest/plugins/installation/)

Examples

You can try out various advanced features of the plugin by importing the demo dashboard and running it against the Wikipedia dataset used in the Druid quickstart tutorial.

When using the provided docker based environment (./mage env:start && ./mage), the dataset is automatically ingested in Druid, the datasource and dashboard are automatically provisionned in Grafana.

druid-grafana's People

Contributors

ahuret avatar apoorvguptaai avatar dependabot[bot] avatar gkze avatar gworley3 avatar jbguerraz avatar jbonofre avatar koskinpark avatar mickymiek avatar raakasf avatar saketbairoliya2 avatar san-san avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.