Skip to content

Commit

Permalink
Remove influxdb
Browse files Browse the repository at this point in the history
  • Loading branch information
Djadih committed Oct 3, 2023
1 parent 2b94895 commit 874c396
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions metrics_config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ type Config struct {
EnabledExpensive bool `toml:",omitempty"`
HTTP string `toml:",omitempty"`
Port int `toml:",omitempty"`
EnableInfluxDB bool `toml:",omitempty"`
InfluxDBEndpoint string `toml:",omitempty"`
InfluxDBDatabase string `toml:",omitempty"`
InfluxDBUsername string `toml:",omitempty"`
InfluxDBPassword string `toml:",omitempty"`
InfluxDBTags string `toml:",omitempty"`
}

// DefaultConfig is the default config for metrics used in go-quai.
Expand All @@ -36,10 +30,5 @@ var DefaultConfig = Config{
EnabledExpensive: false,
HTTP: "127.0.0.1",
Port: 6060,
EnableInfluxDB: false,
InfluxDBEndpoint: "http://localhost:8086",
InfluxDBDatabase: "quai",
InfluxDBUsername: "test",
InfluxDBPassword: "test",
InfluxDBTags: "host=localhost",
}
}

0 comments on commit 874c396

Please sign in to comment.