Skip to content

Commit

Permalink
chore: add sourceCategory label in event_delivery_time metric (#5004)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmihir authored Aug 23, 2024
1 parent 15fa31f commit a5adab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions warehouse/router/upload_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func (job *UploadJob) recordTableLoad(tableName string, numEvents int64) {
job.timerStat("event_delivery_time",
warehouseutils.Tag{Name: "tableName", Value: capturedTableName},
warehouseutils.Tag{Name: "syncFrequency", Value: syncFrequency},
warehouseutils.Tag{Name: "sourceCategory", Value: job.warehouse.Source.SourceDefinition.Category},
).Since(firstEventAt)
}
}
Expand Down

0 comments on commit a5adab3

Please sign in to comment.