Skip to content

Commit

Permalink
recordtester: Include pagerduty component in alert
Browse files Browse the repository at this point in the history
Will differentiate messages on #incident-response based
on the component, which we'll configure to be GCP/Datapacket.
  • Loading branch information
victorges committed Dec 20, 2021
1 parent 6aaee5b commit 4203319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/recordtester/continuous_record_tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (crt *continuousRecordTester) sendPagerdutyEvent(rt IRecordTester, err erro
Source: crt.host,
Component: crt.pagerDutyComponent,
Severity: severity,
Summary: fmt.Sprintf("%s:movie_camera: Record tester for %s error: %v", lopriPrefix, crt.host, err),
Summary: fmt.Sprintf("%s:movie_camera: %s for %s error: %v", lopriPrefix, crt.pagerDutyComponent, crt.host, err),
Timestamp: time.Now().UTC().Format(time.RFC3339),
}
sid := rt.StreamID()
Expand Down

0 comments on commit 4203319

Please sign in to comment.