Giter VIP home page Giter VIP logo

grafana-warp10-backend's Introduction

Grafana Warp10 Datasource Backend Plugin

This plugin is not official and is not maintained by SenX.

The purpose of this plugin is to be able to use Grafana alerts with Warp10.

Plugin

Configuration

  • Base url: URL of Warp10 instance, the plugin will add Warp10 api path (/api/v0/{fetch,find,...}).
  • Read token: Warp10 token can be used with variable $read_token in query. The plugin will check if the token is valid and is a read token.

Query

Currently, only JSON time serie format is supported (GTS format with array of two elements for the value).

More information on Warp10 GTS format.

Query variables

To simplify query this plugin provide variables:

  • $read_token: Read token configured in Datasource.
  • $fromISO: ISO datetime string of the start of the currently active date.
  • $toISO: ISO datetime string of the end of the currently active date.
  • $interval: Microseconds value of the Grafana's calculated interval.

Example:

[
  $read_token
  'telegraf.mem.used_percent'
  {  }
  $toISO
  $fromISO
] FETCH

[ SWAP bucketizer.mean 0 $interval 0 ] BUCKETIZE

Query options

  • Show labels: Show labels of the Warp10 GTS.
  • Alias by: Pattern to rename serie. Pattern $label_<warp10_label_name> will be interpolated with the value of the Warp10 label if it exists.

grafana-warp10-backend's People

Contributors

maniarr avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.