Skip to content

CapillarySoftware/gostat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A statistics collector / aggregator, written in go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published