Code Monkey home page Code Monkey logo

angstrom's Introduction

Ångström

Scalable, self-hosted metrics collection and global cluster state for Mesos.

Ångström

Build instructions

Mac OS X

$ brew install protobuf

Linux

$ sudo aptitude install libprotobuf-dev
$ export GOPATH=$PWD
$ go get github.com/nqn/angstrom/{angstrom,angstrom-executor}
$ $GOPATH/bin/angstrom -master <mesos-master-ip:port>

WebUI

http://<angstrom framework ip>:9000/

API

http://<angstrom framework ip>:9000/resources(?limit=10&from=timestamp&to=timestamp)

{
  "cluster": [
    {
      "TotalCpus": 2,
      "TotalMemory": 5376,
      "TotalDisk": 9948,
      "AllocatedCpus": 0,
      "AllocatedCpusPercent": 0,
      "AllocatedMemory": 0,
      "AllocatedMemoryPercent": 0,
      "AllocatedDisk": 0,
      "AllocatedDiskPercent": 0,
      "UsedCpus": 0,
      "UsedCpusPercent": 0,
      "UsedMemory": 0,
      "UsedMemoryPercent": 0,
      "UsedDisk": 0,
      "UsedDiskPercent": 0,
      "SlackCpus": 0,
      "SlackCpusPercent": 0,
      "SlackMemory": 0,
      "SlackMemoryPercent": 0,
      "SlackDisk": 0,
      "SlackDiskPercent": 0,
      "Timestamp": 1408319101
    },
    {
      "TotalCpus": 2,
      "TotalMemory": 5376,
      "TotalDisk": 9948,
      "AllocatedCpus": 0,
      "AllocatedCpusPercent": 0,
      "AllocatedMemory": 0,
      "AllocatedMemoryPercent": 0,
      "AllocatedDisk": 0,
      "AllocatedDiskPercent": 0,
      "UsedCpus": 0,
      "UsedCpusPercent": 0,
      "UsedMemory": 0,
      "UsedMemoryPercent": 0,
      "UsedDisk": 0,
      "UsedDiskPercent": 0,
      "SlackCpus": 0,
      "SlackCpusPercent": 0,
      "SlackMemory": 0,
      "SlackMemoryPercent": 0,
      "SlackDisk": 0,
      "SlackDiskPercent": 0,
      "Timestamp": 1408319101
    }
  ]
}

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.