Code Monkey home page Code Monkey logo

untimely-grafana-panel's Introduction

Untimely

Untimely Grafana Panel Screenshot

Introduction

The Untimely Grafana plugin is a panel that facilitates working with distances on the x-axis (or anything else that isn't time).

You add queries to your visualization, then select the query that represents the x-axis. The different series will then be interlinked based on their timestamps.

It's based on the Grafana React example using Typescript.

Features

  • Resets: whenever the x-axis value resets, dropping below a previous value, the graph values keep going
  • Legend: the panel has a simple legend, similar looking to the default Grafana legend
  • Tooltip: the panel has a simple tooltip, supporting multiple series, similar to the default Grafana tooltip
  • Offset: when the x-values have a certain offset, you can define this

Installation

To install the plugin:

  • First build the plugin (yarn build)
  • Rename the dist/ folder to a nicer name, identifying it in the plugin directory
  • Copy that directory to /var/lib/grafana/plugins in your Grafana installation
  • Restart the grafana server (sudo systemctl restart grafana-server)

Usage and tips

  • Use the decimal formatting to choose how many decimals should be in the ticks and on the tooltip
  • When you have resets, choose the 'max' selector for your x-axis series and the 'min' selector for the other series
  • A little downwards arrow next to a value denotes that there is a reset
  • Use fill (none) to fill up missing values for the group by

Development

Make sure you are running Node 12

First, install dependencies:

yarn install --pure-lockfile

To work with this plugin run:

yarn dev

or

yarn watch

This will run linting tools and apply prettier fix.

To build the plugin run:

yarn build

untimely-grafana-panel's People

Contributors

daniellee avatar dependabot[bot] avatar diericd avatar dprokop avatar hogeblekker avatar jackw avatar oddlittlebird avatar pielambr avatar robatron avatar ryantxu avatar vereecw avatar yves-bourgeois avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

untimely-grafana-panel's Issues

Example

You have an image on medium.com queries as an example but the image is too blurry/downsized to read. Would you mind updating?
https://medium.com/factry/introducing-the-untimely-grafana-panel-7d1ea61e2e3a

I've tried a few queries of my own with elapsed_duration_ms as the "reference" and voltage but all I get is a flat line. Grafana seems to require a time column in the queries I wonder if that value is being graphed instead of the voltage. I'm using Timescale/Postgres for the data source.

"Error loading: factry-untimely-panel"

Hi,

In a research project I'm using Grafana v8.4.5 (installed on a network-drive using Ubuntu 18.04 and upgraded to Node v17.8.0) to show data from a Sqlite database, and would appreciate the possbilities Untimely is supposed to give.

But after installation of the Untimely plugin on the Linux computer, and some effort to solve the problem, all I get is this error message as shown in the picture below: "Error loading: factry-untimely-panel"

image

Do you have any suggestions on how to solve this?

Best regards / vennlig hilsen

Geir Lislebø

Project Team Member, USN Partnership, University of South-Eastern Norway

Tel: +47 35 95 27 35
Mail: [email protected]
www.usn.no

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.