Skip to content

Open-source status page, incident response and uptime monitoring

🐛 should not stream to tb (#879)

Thibault Le Ouay9354b13c3a14
diff --git a/apps/checker/cmd/main.go b/apps/checker/cmd/main.go
index 550a40042..bfe3c86bb 100644
--- a/apps/checker/cmd/main.go
+++ b/apps/checker/cmd/main.go
@@ -294,8 +294,10 @@ func main() {
}
res = r
- if err := tinybirdClient.SendEvent(ctx, tbData, dataSourceName); err != nil {
- log.Ctx(ctx).Error().Err(err).Msg("failed to send event to tinybird")
+ if tbData.RequestId != 0 {
+ if err := tinybirdClient.SendEvent(ctx, tbData, dataSourceName); err != nil {
+ log.Ctx(ctx).Error().Err(err).Msg("failed to send event to tinybird")
+ }
}
return nil
}