If your team uses PagerDuty, consider enabling Tesults to trigger and resolve incidents on PagerDuty.
Tesults will automatically trigger and resolve incidents on PagerDuty based on the latest incoming test results for each of your targets on Tesults. If you are using Tesults for production environment monitoring and site reliability then triggering incidents on PagerDuty if key tests fail can be useful to notify team members that are on-call. Tesults will trigger an incident when results dip below 100% pass and resolve an incident automatically when tests are passing again.
Create a project on Tesults.
Click Configuration from the menu and select PagerDuty.
You will be presented with two options for integrating with PagerDuty
If you select this option all of the targets for your project will be listed. For each target you can add an integration name and key corresponding to an integration you have setup in PagerDuty. You can choose to use the same integration across targets or have different targets trigger incidents to different integrations.
To complete setup paste the integration key and name from PagerDuty and click the save button. To do this you must first create an integration on PagerDuty. Begin by selecting a service to add the integration to and click the ‘+ New Integration’ button.
Enter a name for the Integration and then from the Integration Type dropdown list, select Tesults.
After clicking the Add Integration button you can view the integration you have added and the integration key is displayed. Copy this integration key and paste it in Tesults.
At this point, setup is complete. You are ready to go!
If you select this option then you will directed to PagerDuty to authorize Tesults to use your account.
After completing authorization you return to PagerDuty configuration in Tesults
All targets for your Tesults project are listed (in the example above there is only one). Each target can be assigned an integration to trigger incidents. Click the Add button for your chosen target.
Select the service you want to add an integration for from the dropdown list and click the Integrate with selected service button.
At this point Tesults creates the integration and is now enabled to trigger and resolve incidents based on the test results for the target that you have configured. You are ready to go!
PagerDuty can be removed from each target by clicking the remove button for a particular target or from the entire project by clicking the Remove PagerDuty button from the bottom of the page.