Update Readme.md

This commit is contained in:
Vallabh Chugh 2022-10-11 00:26:31 +05:30 committed by GitHub
parent 93b75859d5
commit dd3bae5deb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,12 @@ A Python3 script to send your desired payload to PagerDuty and create an inciden
* Import the file as a module
* Send your desired payload to the module
* Finalize your payload accoring the parameters(severity,components)
* My example of payload
'''
payload= {
"resource_id" : resource_id,
"system_data":"This a resource in the development system of XYZ corp.",
"tags":"'HA System','Non-critical-system','SpringBoot-App'"
* Finalize your payload accoring the parameters(severity,components etc .)
* Voila! If everything works fine you will recieve a Page