Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,960
Community Members
 
Community Events
176
Community Groups

Can I automate component/incident rule creation for my pagerduty services via the Statuspage API?

My company is investigating whether we can use Atlassian Statuspage for our internal microservices. Our plan is to set up a private status page with a component for each microservice, and automate the component statuses via the Pagerduty integration.

Our set of microservices is constantly evolving; we regularly create new ones and decommission old ones. We'd like to automate this by using the Statuspage API to keep our set of components up to date. To complete our system we'd need to also keep our Pagerduty component rules up to date.

To illustrate, when we create a new microservice we'd like to automatically create

- a Pagerduty service

- a Statuspage component

- three incident templates - for incident creation, update, and resolution.

- a component rule to mark an outage on the microservice's component when there's a Pagerduty incident in its Pagerduty service

- Incident rules using the three incident templates

However I don't see any way to automatically manage component or incident rules for the Pagerduty Integration. I'm looking in the API docs here https://developer.statuspage.io/.

Can Statuspage support this level of automation?

1 answer

0 votes
Travers Atlassian Team Oct 18, 2021

Hi Joey,

Happy to answer your questions on Component automation for Statuspage using PagerDuty!

First, I would take a look at our documentation on configuring the PagerDuty integration. This will allow you to setup Component rules for PagerDuty Incidents to automate resource outages.

Second, I would use the following documentation to create the appropriate Statuspage Incident templates  .

Last, you may use our documentation on supported PagerDuty mustache tags to automate the use of Incident templates.

I hope this information was helpful!

Hi Travers, this does not answer my question. I've read all that documentation and the steps you describe are all manual configuration (i.e. a human needs to click things in a web browser). I'm specifically calling out missing functionality from the Statuspage API (https://developer.statuspage.io/): I need to be able to automatically (via an API) configure the component rules and incident rules for my statuspage-pagerduty integration.

Hi Joey,

Thank you for the clarification! Currently, Statuspage API does not have the desired functionality.

However, there is an exiting feature request for the ability to manage Pagerduty service rules via the Statuspage API. I have added this Community post as a support case in the request.

Should the feature request be added to the Statuspage development roadmap, Support will reach out with more details.

I hope this information was helpful!

Like # people like this

Hi Travers, Do you know when are we expecting the feature request to be available? Any plans for this year?

Travers Atlassian Team Feb 02, 2022

Hi Anuj,

Welcome to the Statuspage Community! The feature request to manage PagerDuty service rules via Statuspage API was not added to the development roadmap for this year. So, I do not have an estimated time of release.

However, I have added this Community post as a support case in the request.

Should the feature request be added to the Statuspage development roadmap, Support will reach out with more details.

I hope this information was helpful!

Also, do you know if we can monitor only subset of PagerDuty services from StatusPage instead of pulling all of them?

When I am trying currently, Statuspage pull all the PagerDuty services but I want to only add few of them. Any way to control that? Also, any suggestions to automate Pagerduty service rules configuration? Adding/updating hundreds of service rules would be very difficult to do manually. 

I was going through documentation but couldn't find any way to limit subset of services to monitor. 

 

I found this on another similar tool called statuspal: https://help.statuspal.io/article/61-pagerduty-statuspal-status-page

PagerDuty Integration Rules

In order to automate incident creation and closure from PagerDuty you need to configure what services and severity of PagerDuty incidents should be monitored and what services and severity should the corresponding Statuspal incident be created with.

 

Does Statuspage support incident creation and monitoring for only specific Pagerduty services based on severity?

Travers Atlassian Team Feb 03, 2022

Anuj,

You can automate just component status changes, just incident creation/updating, or both component and incident changes.

Statuspage lets you map PagerDuty services to Statuspage components, so this may require you to make your PagerDuty services more granular. As an example, you could split out your 'Pingdom' service into 'Pingdom - API' and 'Pingdom - Dashboard'.

This will give you greater control over your Statuspage automation and will also give you better reporting and analytics within PagerDuty.

Here is out full documentation on our Statuspage PagerDuty Integration. 

I hope this information was helpful!

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events