cf-statistics-plugin

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

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.

cf-statistics-plugin

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

Documentation

Overview

Copyright 2015 Swisscom (Schweiz) AG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
Godeps
This file was generated by counterfeiter
This file was generated by counterfeiter
_workspace/src/github.com/cloudfoundry/cli/plugin/fakes
This file was generated by counterfeiter
This file was generated by counterfeiter
_workspace/src/github.com/gizak/termui
Package termui is a library designed for creating command line UI.
Package termui is a library designed for creating command line UI.
_workspace/src/github.com/nsf/termbox-go
termbox is a library for creating cross-platform text-based interfaces
termbox is a library for creating cross-platform text-based interfaces
_workspace/src/github.com/pivotal-golang/bytefmt
bytefmt contains helper methods and constants for converting to and from a human readable byte format.
bytefmt contains helper methods and constants for converting to and from a human readable byte format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL