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
- Host: GitHub
- URL: https://github.com/clever/marathon-stats
- Owner: Clever
- License: apache-2.0
- Archived: true
- Created: 2015-06-17T20:32:28.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T01:26:40.000Z (about 4 years ago)
- Last Synced: 2025-06-12T06:07:19.505Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 379 KB
- Stars: 7
- Watchers: 64
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```