Git Product home page Git Product logo

kairosdb-examples-python's Introduction

kairosdb-examples-python

Some code examples on how to use KairosDB REST API through Python and requests module. Currently we've the following code examples:

Data points:

Metrics:

Tags:

Misc:

For complete details about the KairosDB REST API, please check their documentation.

How to run the examples?

In order to run the examples you should have a KairosDB server locally (check if it is running going to http://localhost:8080/ - if KairosDB Web UI appears, than everything is fine). After that, you can open your Terminal e just run python3 <example>.py in the desired example.

For example, if you want to list all metrics just run python3 metrics/list.py.

Roadmap

  • Add some scripts to download a test version of KairosDB, run the server locally and import a test database. With that it's possible to really test the code examples without the need of setting up an environment.
  • Add complex code examples (do you have a suggestion for this topic?)

Suggestions? Problems? Critics?

If you have suggestions, problems with the code, critics or anything like that don't hesitate in creating a new GitHub Issue or making a Pull Request.

Actually I want to improve the repository, but I don't have ideas on what to do.

About

I've created this repository because I'm the only guy at my laboratory that actually learned about KairosDB and (sometimes) my coworkers need to do something envolving KairosDB and they don't know how to do that. These code examples will be useful for them.

kairosdb-examples-python's People

Contributors

paladini avatar

Watchers

 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.