# Node running mode, see `standalone.example.toml`. mode = "distributed" [heartbeat] # Interval for sending heartbeat task to the Metasrv in milliseconds, 5000 by default. interval_millis = 5000 # Interval for retry sending heartbeat task in milliseconds, 5000 by default. retry_interval_millis = 5000 # HTTP server options, see `standalone.example.toml`. [http_options] addr = "127.0.0.1:4000" timeout = "30s" body_limit = "64MB" # gRPC server options, see `standalone.example.toml`. [grpc_options] addr = "127.0.0.1:4001" runtime_size = 8 # MySQL server options, see `standalone.example.toml`. [mysql_options] addr = "127.0.0.1:4002" runtime_size = 2 # MySQL server TLS options, see `standalone.example.toml`. [mysql_options.tls] mode = "disable" cert_path = "" key_path = "" # PostgresSQL server options, see `standalone.example.toml`. [postgres_options] addr = "127.0.0.1:4003" runtime_size = 2 # PostgresSQL server TLS options, see `standalone.example.toml`. [postgres_options.tls] mode = "disable" cert_path = "" key_path = "" # OpenTSDB protocol options, see `standalone.example.toml`. [opentsdb_options] addr = "127.0.0.1:4242" runtime_size = 2 # InfluxDB protocol options, see `standalone.example.toml`. [influxdb_options] enable = true # Prometheus remote storage options, see `standalone.example.toml`. [prom_store_options] enable = true # Prometheus protocol options, see `standalone.example.toml`. [prometheus_options] addr = "127.0.0.1:4004" # Metasrv client options, see `datanode.example.toml`. [meta_client_options] metasrv_addrs = ["127.0.0.1:3002"] timeout_millis = 3000 # DDL timeouts options. ddl_timeout_millis = 10000 connect_timeout_millis = 5000 tcp_nodelay = true # Log options, see `standalone.example.toml` # [logging] # dir = "/tmp/greptimedb/logs" # level = "info"