cf-sli

command module
v0.5.2-0...-2af9c7a Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: BSD-2-Clause Imports: 10 Imported by: 0

README

cf-sli

Service Level Indicator monitors for Pivotal Web Services

Calculates percentage of pushes successful over a period of time

Prerequisites

  • Stable CF CLI
  • Config file (see sample below)
  • Datadog Account (if you would like to send metrics somewhere)

Sample config file

cat > .config
{
  "api": "api.example.com",
  "user": "cf-sli",
  "pass": "abc123",
  "org": "cf-sli",
  "space": "dev"
}

Output format

{
  "app_start_time_in_sec": "Number", 
  "app_stop_time_in_sec": "Number",
  "app_start_status": "Number", 
  "app_stop_status": "Number"
}

inspired by Google SRE's Service Level Objectives

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cf_wrapperfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
loggerfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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