diff --git a/data/drivers/postgres.go b/data/drivers/postgres.go index 00f3c8c..7779c3a 100644 --- a/data/drivers/postgres.go +++ b/data/drivers/postgres.go @@ -36,8 +36,7 @@ func Postgres(dsn ExternalDSN) (*gorm.DB, error) { err = db.Use(tracing.NewPlugin( tracing.WithAttributes( - attribute.String("peer.service", serviceName), - attribute.String("db.instance", dsn.Name), + attribute.String("db.instance", serviceName), ), ))