Skip to content

heaptracetechnology/pagerduty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pagerduty as a microservice

An OMG service to create, get and get list of incidents and getservice, listservices on PagerDuty

Open Microservice Guide

This microservice's goal is to create, get and get list of incidents on PagerDuty

OMG CLI

OMG

  • omg validate
omg validate
  • omg build
omg build

CLI

Create Incident
$ omg run createincident -a from=<FROM_EMAIL> -a incident=<CREATE_INCIDENT_OBJECT> -e ACCESS_TOKEN=<ACCESS_TOKEN>
Get Incident
$ omg run getincident -a id=<INCIDENT_ID> -e ACCESS_TOKEN=<ACCESS_TOKEN>
Get List of Incidents
$ omg run listincidents -a <ARGUMENTS> -e ACCESS_TOKEN=<ACCESS_TOKEN>
Get list of Incidentnotes
$ omg run listincidentnotes -a id=<INCIDENT_ID> -e ACCESS_TOKEN=<ACCESS_TOKEN>
Get Service
$ omg run getservice -a id=<SERVICE_ID> -a serviceoptions=<OBJECT> -e ACCESS_TOKEN=<ACCESS_TOKEN>
Get List of Service
$ omg run listservices -a serviceoptions=<OBJECT> -e ACCESS_TOKEN=<ACCESS_TOKEN>

License

Docker

Build

docker build --rm -f "Dockerfile" -t pagerduty:latest .

RUN

docker run -p 5000:5000 pagerduty:latest

Usage

PagerDuty is a platform for agile incident management, not a monitoring system. Think of PagerDuty as an add-on to trigger the right actions to all the data from your existing monitoring tools.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published