Git Product home page Git Product logo

yottadb-grafana-plugin's Introduction

Grafana Datasource plugin for YottaDB

This is a data source plugin for Grafana that pulls in cumulative and point in time metrics from a backend YottaDB metrics server.

Installation in Grafana

cd /tmp
wget --no-check-certificate 'https://drive.google.com/uc?export=download&id=17EQMzWEC42ob5TqhBoL8ynFm4Cli7JlG&confirm=t' -O 'yottadbmetric.zip'
cd /var/lib/grafana/plugins
unzip /tmp/yottadbmetric.zip
sed -i 's/^;allow_loading_unsigned_plugins =/allow_loading_unsigned_plugins = ramsailopal-yottadb-datasource/' /etc/grafana/grafana.ini
sed -i 's/^;enable_gzip = false/enable_gzip = true/' /etc/grafana/grafana.ini

Restart Grafana

Functionality

This "front end" plugin relies on a YottaDB metrics back end server to operate. For details on setting up the back end server, please see here:

https://github.com/RamSailopal/YottaDB-Grafana-Server

On first using the plugin as a datasource for a dashboard panel, the plugin will acculumate all cumulative metrics over time. In order to see specific metrics, click on the individual label as in the graphic below which show SET metrics

Alt text

The field CUM,POT or CUS will dictate the catergory of metrics to attain:

CUM - Cumulative metrics over time

POT - Metrics over a single point of time

CUS - Custom metrics. Calling a specific function and routine to attain metrics.

The field YottaDB region will dictate the YottaDB region to attain metrics for. Left blank, the region will be the default, DEFAULT region

The Number of records to attain field will dictate how many records are "pulled" from the back end API server. Enter all for all available data.

NOTE - A higher count will effect performance

All other fields are specific to custom metrics. Details about these field are available on the Grafana backend server pages (linked above)

Custom Metrics

Following on from the grafana-server README (linked above) An example of the use of custom metrics is show in the video below (click to view on YouTube):

IMAGE ALT TEXT HERE

As fields are type independant when first attained, they will need to be set from the default string type to time/numeric types with transformation/field conversion.

Demo

A gitpod demo of the plugin is available here:

https://github.com/RamSailopal/Grafana-YottaDB-demo

yottadb-grafana-plugin's People

Contributors

ramsailopal avatar

Watchers

 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.