Skip to content

Commit 8891808

Browse files
yevgenypatserezrokahkodiakhq[bot]
authored
feat(pg): Add sentry (#2139)
Add Sentry to PostgreSQL destination plugin for error reporting Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 1729467 commit 8891808

File tree

1 file changed

+5
-1
lines changed
  • plugins/destination/postgresql

1 file changed

+5
-1
lines changed

plugins/destination/postgresql/main.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import (
55
"github.com/cloudquery/plugin-sdk/serve"
66
)
77

8+
const (
9+
sentryDSN = "https://19d1257d36854a51b17c06614e76dc2d@o1396617.ingest.sentry.io/4503896817336320"
10+
)
11+
812
func main() {
9-
serve.Destination(client.New())
13+
serve.Destination(client.New(), serve.WithDestinationSentryDSN(sentryDSN))
1014
}

0 commit comments

Comments
 (0)