Translates Replay Poker events and forward them to 3rd-party APIs
Get the latest binary for your distribution
./bin/metrics_linux_amd64 -h
Usage of ./bin/metrics_linux_amd64:
-amplitude-api-key string
Amplitude API Key
-amqp-queue string
AMQP Queue name (default "metrics")
-amqp-url string
AMQP URL (default "amqp://guest:guest@localhost:5672/metrics")
Download and installation guide from RabbitMQ site. rabbitmqadmin is binary, found as part of rabbitmq-management project.
[sudo] rabbitmq-plugins enable rabbitmq_management
Then (re)start the rabbitmq daemon.
[sudo] sudo rabbitmqctl stop
[sudo] rabbitmq-server -detached
Declare the host and exchange for the metrics
rabbitmqadmin declare vhost name=metrics
rabbitmqadmin declare permission vhost=metrics user=guest configure=".*" write=".*" read=".*"
rabbitmqadmin -V metrics declare exchange name=metrics_ex type=fanout durable=true
Follow the instructions at Golang.org. DO NOT install using your distro pkg manager.
go get .
go build
./go-metrics