Skip to content

Commit

Permalink
chore: disable event name tracking for retl connections (#4661)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmihir authored May 13, 2024
1 parent bd1f61a commit be306e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enterprise/reporting/reporting.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ func (r *DefaultReporter) Report(ctx context.Context, metrics []*types.PUReporte
workspaceID := r.configSubscriber.WorkspaceIDFromSource(metric.ConnectionDetails.SourceID)
metric := *metric

if slices.Contains(r.sourcesWithEventNameTrackingDisabled, metric.ConnectionDetails.SourceID) {
if metric.ConnectionDetails.SourceCategory == "warehouse" || slices.Contains(r.sourcesWithEventNameTrackingDisabled, metric.ConnectionDetails.SourceID) {
metric.StatusDetail.EventName = metric.StatusDetail.EventType
}

Expand Down

0 comments on commit be306e3

Please sign in to comment.