Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

vmware-archive/cf-sli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 18