Discrete

Panel

Discrete Events grafana
  • Single State
    Single State
  • Tooltips
    Tooltips
  • Summary Tooltips
    Summary Tooltips
  • Show all values
    Show all values
  • Multiple Results
    Multiple Results
  • Options
    Options
  • Legend
    Legend

Discrete Panel

This panel shows discrete values in a horizontal graph. This lets show state transitions clearly. It is a good choice to display string or boolean data

Screenshots

example example example example example options options

Building

To complie, run:

npm install -g yarn
yarn install --pure-lockfile
grunt

To lint everything:

yarn pretty

Changelog

v0.0.7
  • Switch to typescript
  • Override applyPanelTimeOverrides rather than issueQueries to extend time
  • Support numeric unit conversion
  • New rendering pipeline (thanks @jonyrock)
  • Don't detect duplicate colors from metrics
  • Formatting with prettier.js
  • Only hide hover text when it collides
  • Show time axis (copied from novatec-grafana-discrete-panel)
  • Improved text collision behavior
v0.0.6
  • Fix for grafana 4.5 (thanks @alin-amana)
v0.0.5
  • Support results from the table format
  • Support results in ascending or decending order
  • Configure legend percentage decimal points
  • Legend can show transition count and distinct value count
  • Clamp percentage stats within the query time window
  • Changed the grafana dependency version to 4.x.x, since 3.x.x was not really supported
  • Fixed issues with tooltip hover position
  • Option to expand 'from' query so the inital state can avoid 'null'
v0.0.4
  • Support shared tooltips (not just crosshair)
v0.0.3
  • Configure more colors (retzkek)
  • Fix tooltips (retzkek)
  • Configure Text Size
  • Support shared crosshair
v0.0.2
  • Use the panel time shift.
v0.0.1
  • First working version
Install Plugin

Version

Dependencies:
  • Grafana 4.x.x