mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
feat(BRIDGE-288): extended sync message update handler; observability tweaks; gluon bump;
This commit is contained in:
@ -74,6 +74,10 @@ func (s *scenario) syncFailureMessageEventsObservability(username string) error
|
||||
Metrics: []proton.ObservabilityMetric{
|
||||
syncmsgevents.GenerateSyncFailureCreateMessageEventMetric(),
|
||||
syncmsgevents.GenerateSyncFailureDeleteMessageEventMetric(),
|
||||
syncmsgevents.GenerateSyncFailureUpdateMessageEventMetric(),
|
||||
syncmsgevents.GenerateSyncFailureUpdateMessageDraftEventMetric(),
|
||||
syncmsgevents.GenerateSyncFailureUpdateMessageCreateEventMetric(),
|
||||
syncmsgevents.GenerateSyncFailureMessageUpdateChannelDoesNotExist(),
|
||||
},
|
||||
}
|
||||
return s.t.withClientPass(context.Background(), username, s.t.getUserByName(username).userPass, func(ctx context.Context, c *proton.Client) error {
|
||||
@ -86,11 +90,11 @@ func (s *scenario) syncFailureMessageEventsObservability(username string) error
|
||||
func (s *scenario) eventLoopFailureMessageEventsObservability(username string) error {
|
||||
batch := proton.ObservabilityBatch{
|
||||
Metrics: []proton.ObservabilityMetric{
|
||||
evtloopmsgevents.GenerateMessageEventFailedToBuildDraft(),
|
||||
evtloopmsgevents.GenerateMessageEventFailedToBuildMessage(),
|
||||
evtloopmsgevents.GenerateMessageEventFailureCreateMessageMetric(),
|
||||
evtloopmsgevents.GenerateMessageEventFailureDeleteMessageMetric(),
|
||||
evtloopmsgevents.GenerateMessageEventFailureUpdateMetric(),
|
||||
evtloopmsgevents.GenerateMessageEventFailureUpdateDraftMetric(),
|
||||
evtloopmsgevents.GenerateMessageEventFailureUpdateCreateMetric(),
|
||||
evtloopmsgevents.GenerateMessageEventUpdateChannelDoesNotExist(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user