mirror of
https://github.com/swisscom/cf-statistics-plugin.git
synced 2026-12-04 16:58:43 +00:00
CloudFoundry CLI plugin for displaying real-time metrics and statistics data | Read-only mirror of https://github.com/swisscom/cf-statistics-plugin — Swisscom. Issues & pull requests at the source.
- Go 99%
- Shell 1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| Godeps | ||
| helper | ||
| statistics | ||
| .gitignore | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| README.md | ||
| screencast.gif | ||
| screencast.webm | ||
| statistics-plugin.go | ||
| update_plugin.sh | ||
Cloud Foundry CLI Statistics Plugin
CloudFoundry CLI plugin for displaying real-time metrics and statistics data
This plugin displays a terminal dashboard showing current app usage metrics/statistics. It can also stream these metrics as JSON formatted output to stdout.
Installation
Install from CLI (v.6.10.0 and up)
$ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/
$ cf install-plugin Statistics -r CF-Community
Install from binary
- Download the appropriate plugin binary from releases
- Install the plugin:
$ cf install-plugin <binary>
Install from Source
$ go get github.com/swisscom/cf-statistics-plugin
$ cf install-plugin $GOPATH/bin/cf-statistics-plugin
Usage
$ cf statistics APP_NAME
Uninstall
$ cf uninstall-plugin Statistics
Commands
| command/option | usage | description |
|---|---|---|
statistics |
cf statistics APP_NAME |
display live metrics/statistics dashboard |
--debug |
cf statistics APP_NAME --debug |
prints metrics to stdout in JSON format |
--full |
cf statistics APP_NAME --debug --full |
prints full statistics to stdout |
