Code Monkey home page Code Monkey logo

snap-app's Introduction

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.

snap-app's People

Contributors

torkelo avatar daniellee avatar woodsaj avatar mbbroberg avatar mattttt avatar tsugliani avatar nopzor1200 avatar

Watchers

James Cloos avatar Mathieu Corbin 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.