Skip to content

On-call report generation tool

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENSE.txt
Notifications You must be signed in to change notification settings

jakedt/pagerditty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PagerDitty

Simple script I threw together to generate oncall waiting and working time reports for my team of SREs.

TODO

  • Make this a webapp so we can run it with the pd_api_key baked in
  • Find an easy way to feed it a holiday schedule

Example usage

foo@bar:~$ docker run -it quay.io/jakedt/pagerditty --pd_api_key y_NbAkKc66ryYTWUXYEu --pd_id PBPDVGQ --pd_schedule_id P538IZH --start 2018-12-01T00:00:00Z
Date,waiting,incident
2018-12-02,12.0,0
2018-12-03,7.0,0
2018-12-04,7.0,0
2018-12-05,7.0,0
2018-12-06,7.0,0
2018-12-07,7.0,0
2018-12-08,12.0,0
2018-12-16,12.0,0
2018-12-17,7.0,0
2018-12-18,7.0,0
2018-12-19,7.0,0
2018-12-20,7.0,0
2018-12-21,7.0,0
2018-12-22,12.0,0
2018-12-30,12.0,0
2018-12-31,7.0,0

About

On-call report generation tool

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published