Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/bosun: Collect ack status info by notification #1358

Merged
merged 1 commit into from
Sep 30, 2015

Conversation

kylebrandt
Copy link
Member

No description provided.

@@ -306,6 +310,8 @@ func (s *Schedule) CollectStates() {
severityCounts := make(map[string]map[string]int64)
abnormalCounts := make(map[string]map[string]int64)
ackStatusCounts := make(map[string]map[bool]int64)
ackByNotificationCounts := make(map[string]map[bool]int64)
Copy link
Contributor

Choose a reason for hiding this comment

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

the map[bool] here is still odd. I think I would rather see ackCounts and unackedCounts maps[string]int

Copy link
Member Author

Choose a reason for hiding this comment

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

I believe it follows the existing pattern though, no?

@kylebrandt kylebrandt force-pushed the alertMetricNotificationTag branch from 09f930f to daae959 Compare September 30, 2015 16:44
captncraig pushed a commit that referenced this pull request Sep 30, 2015
cmd/bosun: Collect ack status info by notification
@captncraig captncraig merged commit 2df1f68 into master Sep 30, 2015
@captncraig captncraig deleted the alertMetricNotificationTag branch September 30, 2015 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants