feat(BRIDGE-236): added SMTP observability metrics

This commit is contained in:
Atanas Janeshliev
2024-10-21 11:45:02 +02:00
parent fb523e5573
commit e3d0334b6f
9 changed files with 165 additions and 1 deletions

View File

@ -44,6 +44,7 @@ func (d *distinctionUtility) resetHeartbeatData() {
func (d *distinctionUtility) updateHeartbeatData(errType DistinctionErrorTypeEnum) {
d.withUpdateHeartbeatDataLock(func() {
//nolint:exhaustive
switch errType {
case SyncError:
d.heartbeatData.receivedSyncError = true