Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elodina/statsd-mesos-kafka
Mesos Statsd Framework that sends its metrics to Apache Kafka
https://github.com/elodina/statsd-mesos-kafka
Last synced: 1 day ago
JSON representation
Mesos Statsd Framework that sends its metrics to Apache Kafka
- Host: GitHub
- URL: https://github.com/elodina/statsd-mesos-kafka
- Owner: elodina
- License: apache-2.0
- Created: 2015-07-29T13:32:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T12:26:28.000Z (over 8 years ago)
- Last Synced: 2024-05-23T10:30:59.876Z (6 months ago)
- Language: Go
- Homepage: http://www.elodina.net
- Size: 4.99 MB
- Stars: 5
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mesos - Statsd -> Kafka - > Kafka](https://github.com/elodina/statsd-mesos-kafka) (Frameworks / Metric collection, logging and visualization)
README
Statsd Mesos Kafka Framework
============================Installation
------------Install go 1.5 (or higher) http://golang.org/doc/install
Install godep https://github.com/tools/godep
Clone and build the project
For go 1.5:
```
export GO15VENDOREXPERIMENT=1
```In go 1.6 and higher, vendoring works by default.
# git clone [email protected]:elodina/statsd-mesos-kafka.git
# cd statsd-mesos-kafka
# godep restore
# go build .
# go build cli.goUsage
-----Statsd framework ships with command-line utility to manage schedulers and executors:
# ./cli -help
Usage:
help: show this message
scheduler: configure and start scheduler
start: start statsd server
stop: stop statsd server
update: update configuration
status: get current status of cluster
More help you can get from ./cli -hScheduler Configuration
-----------------------The scheduler is configured through the command line.
# ./cli scheduler
Following options are available:
-master="": Mesos Master addresses.
-api="": Binding host:port for http/artifact server. Optional if SM_API env is set.
-user="": Mesos user. Defaults to current system user.
-log.level="info": Log level. trace|debug|info|warn|error|critical. Defaults to info.
-framework.name="statsd-kafka": Framework name.
-framework.role="*": Framework role.Starting and Stopping a Server
------------------------------# ./cli start|stop
Options available:
-api="": Binding host:port for http/artifact server. Optional if SM_API env is set.
Updating Server Preferences
---------------------------# ./cli update
Following options are available:
-api="": Binding host:port for http/artifact server. Optional if SM_API env is set.
-producer.properties="": Producer.properties file name.
-topic="": Topic to produce data to.
-transform="": Transofmation to apply to each metric. none|avro|proto
-schema.registry.url="": Avro Schema Registry url for transform=avro