Code Monkey home page Code Monkey logo

kairosdb's Introduction

KairosDB Docker

Dockerfile to run KairosDB on Cassandra. Configuration is done through environment variables.

docker run stakater/kairosdb

docker run -P -e "CASS_HOSTS=192.168.1.63:9160" -e "REPFACTOR=1" stakater/kairosdb

Advanced

Simple!

	./build.sh

Build an image: docker build -t stakater/kairosdb .

Push an image: sudo docker push stakater/kairosdb

Note you might have to login first before you can push the image to docker-hub sudo docker login

Healthcheck

There are currently two health checks executed for each API.

  • The JVM thread deadlock check verifies that no deadlocks exist in the KairosDB JVM.
  • The Datastore query check performs a query on the data store to ensure that the data store is responding.

KairosDB provides REST APIs that show the health of the system.

See HealthCheck

Status

    http://[host]:[port]/api/v1/health/status

    [
		"JVM-Thread-Deadlock: OK",
		"Datastore-Query: OK"
	]

Check

Checks the status of each health check. If all are healthy it returns status 204 otherwise it returns 500. This can be configured to return something other than 204 by changing the kairosdb.health.healthyResponseCode property.

Method GET

Request http://[host]:[port]/api/v1/health/check

Response Success Returns 204 if all checks are healthy.

	Failure
		Returns 500 if any of the checks are unhealthy.
    http://[host]:[port]

kairosdb's People

Watchers

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