gostat

command module
v0.0.0-...-fa799f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2014 License: MIT Imports: 13 Imported by: 0

README

gostat

A statistics collector / aggregator, written in go

Installation

Cassandra
  1. Install the DataStax Community Edition of Apache Cassandra 2.0 via these instructions

  2. Start Cassandra


sudo nohup $HOME/cassandra-2.0.8/bin/cassandra

Environment Variables

Export the following environment variables


export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN

Dependencies

Install Nanomsg (OS X)


brew install nanomsg

Install Protocol Buffers (OS X)


brew install protobuf

Install the following package dependencies


go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega

If you are using godep, then just godep restore, otherwise, install the rest of these dependencies:


go get github.com/gocql/gocql
go get github.com/op/go-nanomsg
go get github.com/cihub/seelog
go get github.com/googollee/go-socket.io

Rebuild gogoprotobuffer messages


go get -u code.google.com/p/gogoprotobuf/{proto,protoc-gen-gogo,gogoproto}
protoc --gogo_out=. -I=.:code.google.com/p/gogoprotobuf/protobuf -I=$GOPATH/src/ -I=$GOPATH/src/code.google.com/p/gogoprotobuf/protobuf *.proto
Create the Cassandra Data Store

from the project root

cd cassandra
./cassandra.sh

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package aggregator aggregates statistics Package aggregator aggregates statistics
Package aggregator aggregates statistics Package aggregator aggregates statistics
Package protoStat is a generated protocol buffer package.
Package protoStat is a generated protocol buffer package.
Package stat represents containers for statistics
Package stat represents containers for statistics

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL