mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-26 16:10:02 +00:00
* fix: convert to ReadableSize & Durations * fix: change more grpc sender/recv message size to ReadableSize fix: format fix: cargo fmt fix: change cmd test to use durations fix: revert metaclient change fix: convert default fields in meta client options fix: human serde meta client durations * fix: remove milisecond postfix in heartbeat option * fix: humantime serde on heartbeat * fix: update config example * fix: update integration test config * fix: address pr comments * fix: fix pr comment on default annotation
80 lines
1.7 KiB
TOML
80 lines
1.7 KiB
TOML
# Node running mode, see `standalone.example.toml`.
|
|
mode = "distributed"
|
|
|
|
[heartbeat]
|
|
# Interval for sending heartbeat task to the Metasrv, 5 seconds by default.
|
|
interval = "5s"
|
|
# Interval for retry sending heartbeat task, 5 seconds by default.
|
|
retry_interval = "5s"
|
|
|
|
# HTTP server options, see `standalone.example.toml`.
|
|
[http]
|
|
addr = "127.0.0.1:4000"
|
|
timeout = "30s"
|
|
body_limit = "64MB"
|
|
|
|
# gRPC server options, see `standalone.example.toml`.
|
|
[grpc]
|
|
addr = "127.0.0.1:4001"
|
|
runtime_size = 8
|
|
|
|
# MySQL server options, see `standalone.example.toml`.
|
|
[mysql]
|
|
enable = true
|
|
addr = "127.0.0.1:4002"
|
|
runtime_size = 2
|
|
|
|
# MySQL server TLS options, see `standalone.example.toml`.
|
|
[mysql.tls]
|
|
mode = "disable"
|
|
cert_path = ""
|
|
key_path = ""
|
|
|
|
# PostgresSQL server options, see `standalone.example.toml`.
|
|
[postgres]
|
|
enable = true
|
|
addr = "127.0.0.1:4003"
|
|
runtime_size = 2
|
|
|
|
# PostgresSQL server TLS options, see `standalone.example.toml`.
|
|
[postgres.tls]
|
|
mode = "disable"
|
|
cert_path = ""
|
|
key_path = ""
|
|
|
|
# OpenTSDB protocol options, see `standalone.example.toml`.
|
|
[opentsdb]
|
|
enable = true
|
|
addr = "127.0.0.1:4242"
|
|
runtime_size = 2
|
|
|
|
# InfluxDB protocol options, see `standalone.example.toml`.
|
|
[influxdb]
|
|
enable = true
|
|
|
|
# Prometheus remote storage options, see `standalone.example.toml`.
|
|
[prom_store]
|
|
enable = true
|
|
|
|
# Metasrv client options, see `datanode.example.toml`.
|
|
[meta_client]
|
|
metasrv_addrs = ["127.0.0.1:3002"]
|
|
timeout = "3s"
|
|
# DDL timeouts options.
|
|
ddl_timeout = "10s"
|
|
connect_timeout = "1s"
|
|
tcp_nodelay = true
|
|
|
|
# Log options, see `standalone.example.toml`
|
|
# [logging]
|
|
# dir = "/tmp/greptimedb/logs"
|
|
# level = "info"
|
|
|
|
# Datanode options.
|
|
[datanode]
|
|
# Datanode client options.
|
|
[datanode.client]
|
|
timeout = "10s"
|
|
connect_timeout = "10s"
|
|
tcp_nodelay = true
|