Skip to content

weberling/opsgenie-go-integration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpsGenie Go Integration

Requirements

Generate an OpsGenie Integration to use as environment variable

export OPSGENIE_API_KEY={opsgenie_api_key}

Run

List alerts

List alerts in an interval using the opsgenie createdAt attribute and generate a csv file report.csv

go run main.go list-alerts {start_date} {end_date}(optional)

pattern date: yyyy-MM-dd. Ex: 2018-07-10

interval rule: >= start_date AND < end_date

About

OpsGenie integration to view alerts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%