From 4203319f61adc505aa7cc4037c469c300624aa6a Mon Sep 17 00:00:00 2001 From: Victor Elias Date: Mon, 20 Dec 2021 12:40:31 -0300 Subject: [PATCH] recordtester: Include pagerduty component in alert Will differentiate messages on #incident-response based on the component, which we'll configure to be GCP/Datapacket. --- internal/app/recordtester/continuous_record_tester.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/app/recordtester/continuous_record_tester.go b/internal/app/recordtester/continuous_record_tester.go index 0a49ca32..cef8e2fc 100644 --- a/internal/app/recordtester/continuous_record_tester.go +++ b/internal/app/recordtester/continuous_record_tester.go @@ -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()