snowplow / snowbridge

For replicating streams across clouds, accounts and regions
Other
14 stars 8 forks source link

Fix sent and failed counts in HTTP target #354

Closed pondzix closed 2 months ago

pondzix commented 2 months ago

PDP-1314

By using function models.NewTargetWriteResult instead of directly creating structure models.TargetWriteResult. Function makes sure fields SentCount and FailedCount are set which are later used by observer to update metrics.