jaxxstorm / redphone

A rubygem for talking to monitoring service APIs
https://github.com/portertech/redphone
23 stars 27 forks source link

trigger_incident with same :incident_key Fires a New Incident #12

Closed ayashjorden closed 8 years ago

ayashjorden commented 8 years ago

Hello, I'm trying to integrate puppet-pagerduty report processor into my Puppet deployment.

I'm getting a lot of incidents triggered for the same incident_key, event when the existing incident is already in TRIGGERED state.

Is this the expected behaviour? or should I call the incidents method and compare existing incidents keys with the 'new' incident key?

Thank you, Yarden