Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

List open incidents #1764

Merged
merged 14 commits into from
Jun 8, 2016
Merged

List open incidents #1764

merged 14 commits into from
Jun 8, 2016

Conversation

kylebrandt
Copy link
Member

No description provided.

@kylebrandt
Copy link
Member Author

Still needs docs.

@@ -295,6 +295,31 @@ func (ns *Notifications) Get(c *Conf, tags opentsdb.TagSet) map[string]*Notifica
return nots
}

func GetNotificationChains(c *Conf, n map[string]*Notification) ([][]string) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs a comments about exactly what it returns. I'm kinda confused on the myself. A list of lists of chains for a single alert? With no duplicates. Maybe writing it out will help.

@kylebrandt kylebrandt merged commit bdab335 into master Jun 8, 2016
@kylebrandt kylebrandt deleted the listOpenIncidents branch June 9, 2016 19:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants