Coder Social home page Coder Social logo

hpehl / rhq-metrics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hawkular/hawkular-metrics

0.0 3.0 0.0 5.3 MB

Time Series Metrics Engine based on Cassandra

License: Apache License 2.0

Java 20.70% Shell 0.17% Groovy 0.04% XSLT 1.73% JavaScript 48.70% CSS 5.14% TypeScript 23.52%

rhq-metrics's Introduction

rhq-metrics

Build Status
Coverity Scan Build Status (coverity_scan branch)

Project to implement a MaaS and ChaaS

  • MaaS: Metrics as a Service

  • ChaaS: Charts as a Service

RHQ-Metrics Architecture Diagram

Quickstart

To get a first impression you can also run the quickstart via

./start.sh

in the root directory. This will build and start RHQ-metrics with the in-memory backend. After starting you can navigate to http://localhost:8080/ to a UI Dashboard that displays a list of metrics and the ability to graph multiple charts. [NOTE: it will initially be empty if you don’t have anything in your database.]

RHQ-Metrics Console

Or, if you want to just play around with creating your own metric data and visually see the results in graphs then the Explorer web application is what you want. Available at: http://localhost:8080/explorer

By modifying the start parameter in the script you can also use the (already running) Cassandra backend - see below.

Build Instructions

This project has a dependency on Cassandra 2.x. A running Cassandra cluster, which can be a single node, is required for unit and integration tests.

Tip
If you only want to build the sources without a running C* cluster, you can run mvn install -DskipTests. Building without C* also means that no schema updates are applied.

Setting up Cassandra

  1. Install ccm.

    1. Review its build/install instructions for python package dependencies that need to be installed, namely six and pyYaml.

  2. ccm create -v 2.0.7 rhq

  3. ccm populate -n 1

  4. ccm start

  5. mvn install

These steps build and install a single node cluster of Cassandra 2.0.7. Any version of 2.x should suffice if you prefer a different one. Note that while it is recommended to use ccm, it is not necessary. You just need to make sure you have a running 2.x cluster.

Installing ccm

ccm is a python module that has a dependencies on several other python modules.

Import data from Ganglia

If you have Ganglia gmond running, you can import its data by running the pTrans client:

cd clients/ptranslator
sh start.sh

For this to work, the packets from Ganglia need to have a large enough TTL to be seen on the host where you run pTrans.

Forums, hacking, irc

Visit the Forums to discuss RHQ-metrics.

We love contributions and pull-requests :-)

To meet the guys, join us on Freenode IRC in channel #rhq. If you can not use the irc protocol, you can also use a web to irc gateway like Web chat on Freenode.

RHQ-metrics is @rhq_Project on Twitter.

rhq-metrics's People

Contributors

mtho11 avatar pilhuhn avatar heiko-braun avatar jimmidyson avatar aslakknutsen avatar theute avatar jstrachan avatar

Watchers

Harald Pehl avatar James Cloos 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.