There was an error while loading. Please reload this page.
1 parent 687e912 commit 7145867Copy full SHA for 7145867
1 file changed
session.go
@@ -76,6 +76,7 @@ func NewSession(projectId string, instanceId string, databaseId string, priority
76
clientConfig := defaultClientConfig
77
clientConfig.DatabaseRole = role
78
clientConfig.DirectedReadOptions = directedRead
79
+ clientConfig.DisableNativeMetrics = true
80
opts = append(opts, defaultClientOpts...)
81
client, err := spanner.NewClientWithConfig(ctx, dbPath, clientConfig, opts...)
82
if err != nil {
0 commit comments