Change postgres db instance name
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -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),
|
||||
),
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user