Skip to content

Commit

Permalink
use default uptrace-dsn
Browse files Browse the repository at this point in the history
  • Loading branch information
najeal committed Aug 8, 2023
1 parent c88bebf commit b1f923d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/morpheusvm/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
var _ vm.Config = (*Config)(nil)

const (
defaultDSN = "http://project2_secret_token@localhost:14317/2"
defaultContinuousProfilerFrequency = 1 * time.Minute
defaultContinuousProfilerMaxFiles = 10
defaultStoreTransactions = true
Expand Down Expand Up @@ -95,6 +96,7 @@ func (c *Config) setDefault() {
c.StreamingBacklogSize = c.Config.GetStreamingBacklogSize()
c.VerifySignatures = c.Config.GetVerifySignatures()
c.StoreTransactions = defaultStoreTransactions
c.DSN = defaultDSN
}

func (c *Config) GetLogLevel() logging.Level { return c.LogLevel }
Expand Down
2 changes: 2 additions & 0 deletions examples/tokenvm/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
var _ vm.Config = (*Config)(nil)

const (
defaultDSN = "http://project2_secret_token@localhost:14317/2"
defaultContinuousProfilerFrequency = 1 * time.Minute
defaultContinuousProfilerMaxFiles = 10
defaultStoreTransactions = true
Expand Down Expand Up @@ -118,6 +119,7 @@ func (c *Config) setDefault() {
c.StreamingBacklogSize = c.Config.GetStreamingBacklogSize()
c.VerifySignatures = c.Config.GetVerifySignatures()
c.StoreTransactions = defaultStoreTransactions
c.DSN = defaultDSN
}

func (c *Config) GetLogLevel() logging.Level { return c.LogLevel }
Expand Down

0 comments on commit b1f923d

Please sign in to comment.