Skip to content

Commit

Permalink
feat(sentry): Include all labels from events as Sentry tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wichert committed Mar 25, 2020
1 parent f065ee2 commit 8bb6ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var emptyTags = map[string]string{}

// Tags returns a set of tags that should be added to the event
func (h DefaultEventHandler) Tags() map[string]string {
return emptyTags
return h.Event.GetLabels()
}

// NewDefaultEventHandler creates a new DefaultEventHandler instance
Expand Down

0 comments on commit 8bb6ae7

Please # to comment.