An open API service indexing awesome lists of open source software.

https://github.com/clever/marathon-stats

ARCHIVED: A simple container which queries marathon and mesos for stats about their current state, and logs these stats to stderr
https://github.com/clever/marathon-stats

Last synced: 6 months ago
JSON representation

ARCHIVED: A simple container which queries marathon and mesos for stats about their current state, and logs these stats to stderr

Awesome Lists containing this project

README

          

# Notice

This repo is no longer maintained by Clever.

# marathon-stats

## Overview

`marathon-stats` is a simple container which queries marathon and mesos for stats about their current state, and logs these stats to stderr.

## Config

`marathon-stats` requires the following environment variables:

- MESOS_HOST - The host for the mesos master API
- MESOS_PORT - The port for the mesos master API
- MARATHON_HOST - The host for the marathon API
- MARATHON_PORT - The port for the marathon API
- LOG_MARATHON_TASKS - Whether or not to log marathon tasks on their own line
- POLL_INTERVAL - The interval to wait between polling for stats (defaults to 5s)

## Building and running locally

```bash
$ make build
$ ./marathon-stats
```