Skip to content

Commit

Permalink
Merge pull request #6 from getAlby/task-gormtrace
Browse files Browse the repository at this point in the history
chore: add service name to gormtrace
  • Loading branch information
bumi authored Apr 5, 2024
2 parents 1d75622 + 1b9deeb commit 98fa127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
if err != nil {
log.Fatalf("Failed to open DB %v", err)
}
db, err = gormtrace.Open(postgres.New(postgres.Config{Conn: sqlDb}), &gorm.Config{})
db, err = gormtrace.Open(postgres.New(postgres.Config{Conn: sqlDb}), &gorm.Config{}, gormtrace.WithServiceName("nostr-wallet-connect"))
if err != nil {
log.Fatalf("Failed to open DB %v", err)
}
Expand Down

0 comments on commit 98fa127

Please sign in to comment.