https://github.com/swisscom/cf-statistics-plugin
CloudFoundry CLI plugin for displaying real-time metrics and statistics data
https://github.com/swisscom/cf-statistics-plugin
Last synced: about 1 year ago
JSON representation
CloudFoundry CLI plugin for displaying real-time metrics and statistics data
- Host: GitHub
- URL: https://github.com/swisscom/cf-statistics-plugin
- Owner: swisscom
- License: apache-2.0
- Created: 2015-07-06T15:27:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T15:16:39.000Z (over 1 year ago)
- Last Synced: 2025-04-15T10:17:59.004Z (about 1 year ago)
- Language: Go
- Size: 1.94 MB
- Stars: 27
- Watchers: 21
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
[](screencast.webm)
## 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](https://github.com/swisscom/cf-statistics-plugin/releases)
- Install the plugin: `$ cf install-plugin `
#### 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|