All Projects → raintank → snap-app

raintank / snap-app

Licence: Apache-2.0 license
Grafana snap integration

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Snap-app is an experimental application to allow Grafana to function as a web-based frontend for The Snap Telemetry Framework.

Current Features

  • list Snap tasks running on a the Snap daemon
  • start, stop, create and delete tasks
  • list metrics available from plugins loaded into the Snap daemon
  • Stream metrics using the "watch tasks" functionality, where the metrics collected are pushed to a Grafana panel in real time

Usage

The app currently includes a Snap datasource.

  • To get started, you will first need to add a datsource of type "Snap DS".
  • In the datasource settings, the URL should be the url of the Snap daemon API (eg. "http://localhost:8181/").
  • Next, on an existing or new dashboard, add a graph panel.
  • In the query editor ensure the "snap" datasource is being used.
  • you can then select an existing task to watch, or create a new task.
    • to create a new task, type the name of the task in the "task name" field
    • select the metrics of interest from the "Metric" field, using the "+" button to add additional metrics
    • on the "actions" line, click "Create" to create the new task.
  • Click the "watch" button on the "actions" line to have metrics pushed to the panel in real time.

Learn More

Snap source and documentation is available on GitHub. We also wrote a blog post using this app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].