hubot-archive / hubot-pager-me

PagerDuty integration for Hubot
https://www.npmjs.com/package/hubot-pager-me
MIT License
73 stars 93 forks source link

Feature Request: Enable Service to Room map so specific teams can handle issues for specific services #76

Closed mtscout6 closed 8 years ago

mtscout6 commented 8 years ago

We have numerous development teams that we would like to integrate PagerDuty with. It seems as though using this plugin would allow us to have more support staff deal with issues without the Full PagerDuty experience.

Unfortunately due to the number of services we need to monitor it would be ideal if these services could be announced in different rooms. Is that a feature that would have merit with you?

stephenyeargin commented 8 years ago

I'm guessing that you are using the webhook callback, correct? How would you like to go about mapping services to rooms via the environment variables? (e.g. HUBOT_PAGERDUTY_ROOM=<service_id>:<room>,<service_id>:<room>)

Full disclaimer: I don't have a lot of experience with the incoming Webhook because we are using the native Slack integration for alerting. We then use hubot-pager-me to handle ack and resolve operations, as well as getting schedules. But we do accomplish a goal similar to what you're describing by routing our services to a particular channel, such as:

screen shot 2015-12-22 at 12 05 03 pm

That doesn't fit your desired outcome, but that was our workaround for a similar problem.

mtscout6 commented 8 years ago

We were thinking about using the Webhook callback, but what you are describing sounds a lot simpler. I guess this wouldn't be needed in that case. We use HipChat, and there is an integration for Pager duty there.

mtscout6 commented 8 years ago

I'm going to close this in favor of what you proposed. Thanks for the tip!

technicalpickles commented 8 years ago

I have considered something along these lines too. That is, updating pager sup|ack|resolve so they only affect services relevant to the room you are calling them in.