-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: options and sample configurations (#514)
* refactor: options and sample configurations * chore: newline at end of file * chore: format code * chore: remove comment and set sample configurations to default values * chore: use single quoted string in sample configuration files
- Loading branch information
1 parent
ba27e0d
commit 6c6eeda
Showing
15 changed files
with
363 additions
and
32 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
mode = 'distributed' | ||
datanode_rpc_addr = '127.0.0.1:3001' | ||
http_addr = '0.0.0.0:4000' | ||
grpc_addr = '0.0.0.0:4001' | ||
mysql_addr = '0.0.0.0:4003' | ||
mysql_runtime_size = 4 | ||
|
||
[meta_client_opts] | ||
metasrv_addr = '1.1.1.1:3002' | ||
timeout_millis = 3000 | ||
connect_timeout_millis = 5000 | ||
tcp_nodelay = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
node_id = 0 | ||
mode = 'standalone' | ||
datanode_rpc_addr = '127.0.0.1:3001' | ||
http_addr = '0.0.0.0:4000' | ||
datanode_mysql_addr = '0.0.0.0:3306' | ||
datanode_mysql_runtime_size = 4 | ||
wal_dir = '/tmp/greptimedb/wal/' | ||
|
||
[storage] | ||
type = 'File' | ||
data_dir = '/tmp/greptimedb/data/' | ||
|
||
[grpc_options] | ||
addr = '0.0.0.0:4001' | ||
runtime_size = 4 | ||
runtime_size = 8 | ||
|
||
[mysql_options] | ||
addr = '0.0.0.0:4003' | ||
runtime_size = 4 | ||
addr = '0.0.0.0:4002' | ||
runtime_size = 2 | ||
|
||
[influxdb_options] | ||
enable = true | ||
|
||
[opentsdb_options] | ||
addr = '0.0.0.0:4242' | ||
enable = true | ||
runtime_size = 2 | ||
|
||
[prometheus_options] | ||
enable = true | ||
|
||
[postgres_options] | ||
addr = '0.0.0.0:4003' | ||
runtime_size = 2 | ||
check_pwd = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters