From 327bcc1930e04085416dc2ba6d08ae2a08f27bf3 Mon Sep 17 00:00:00 2001 From: Yevgeny Pats <16490766+yevgenypats@users.noreply.github.com> Date: Thu, 29 Sep 2022 14:41:15 +0300 Subject: [PATCH] feat(pg): Add sentry --- plugins/destination/postgresql/main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/destination/postgresql/main.go b/plugins/destination/postgresql/main.go index 6a7fb07201d65c..e92950f6651d04 100644 --- a/plugins/destination/postgresql/main.go +++ b/plugins/destination/postgresql/main.go @@ -5,6 +5,10 @@ import ( "github.com/cloudquery/plugin-sdk/serve" ) +const ( + sentryDSN = "https://19d1257d36854a51b17c06614e76dc2d@o1396617.ingest.sentry.io/4503896817336320" +) + func main() { - serve.Destination(client.New()) + serve.Destination(client.New(), serve.WithDestinationSentryDSN(sentryDSN)) }