|
|
|
|
@@ -160,10 +160,10 @@
|
|
|
|
|
| `export_metrics` | -- | -- | The datanode can export its metrics and send to Prometheus compatible service (e.g. send to `greptimedb` itself) from remote-write API.<br/>This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape. |
|
|
|
|
|
| `export_metrics.enable` | Bool | `false` | whether enable export metrics. |
|
|
|
|
|
| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself<br/>You must create the database before enabling it. |
|
|
|
|
|
| `export_metrics.self_import.db` | String | `None` | -- |
|
|
|
|
|
| `export_metrics.remote_write` | -- | -- | -- |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=information_schema`. |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. |
|
|
|
|
|
| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. |
|
|
|
|
|
| `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. |
|
|
|
|
|
| `tracing.tokio_console_addr` | String | `None` | The tokio console address. |
|
|
|
|
|
@@ -245,10 +245,10 @@
|
|
|
|
|
| `export_metrics` | -- | -- | The datanode can export its metrics and send to Prometheus compatible service (e.g. send to `greptimedb` itself) from remote-write API.<br/>This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape. |
|
|
|
|
|
| `export_metrics.enable` | Bool | `false` | whether enable export metrics. |
|
|
|
|
|
| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself<br/>You must create the database before enabling it. |
|
|
|
|
|
| `export_metrics.self_import.db` | String | `None` | -- |
|
|
|
|
|
| `export_metrics.remote_write` | -- | -- | -- |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=information_schema`. |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. |
|
|
|
|
|
| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. |
|
|
|
|
|
| `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. |
|
|
|
|
|
| `tracing.tokio_console_addr` | String | `None` | The tokio console address. |
|
|
|
|
|
@@ -309,10 +309,10 @@
|
|
|
|
|
| `export_metrics` | -- | -- | The datanode can export its metrics and send to Prometheus compatible service (e.g. send to `greptimedb` itself) from remote-write API.<br/>This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape. |
|
|
|
|
|
| `export_metrics.enable` | Bool | `false` | whether enable export metrics. |
|
|
|
|
|
| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself<br/>You must create the database before enabling it. |
|
|
|
|
|
| `export_metrics.self_import.db` | String | `None` | -- |
|
|
|
|
|
| `export_metrics.remote_write` | -- | -- | -- |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=information_schema`. |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. |
|
|
|
|
|
| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. |
|
|
|
|
|
| `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. |
|
|
|
|
|
| `tracing.tokio_console_addr` | String | `None` | The tokio console address. |
|
|
|
|
|
@@ -333,6 +333,10 @@
|
|
|
|
|
| `rpc_runtime_size` | Integer | `None` | Deprecated, use `grpc.runtime_size` instead. |
|
|
|
|
|
| `rpc_max_recv_message_size` | String | `None` | Deprecated, use `grpc.rpc_max_recv_message_size` instead. |
|
|
|
|
|
| `rpc_max_send_message_size` | String | `None` | Deprecated, use `grpc.rpc_max_send_message_size` instead. |
|
|
|
|
|
| `http` | -- | -- | The HTTP server options. |
|
|
|
|
|
| `http.addr` | String | `127.0.0.1:4000` | The address to bind the HTTP server. |
|
|
|
|
|
| `http.timeout` | String | `30s` | HTTP request timeout. Set to 0 to disable timeout. |
|
|
|
|
|
| `http.body_limit` | String | `64MB` | HTTP request body limit.<br/>The following units are supported: `B`, `KB`, `KiB`, `MB`, `MiB`, `GB`, `GiB`, `TB`, `TiB`, `PB`, `PiB`.<br/>Set to 0 to disable limit. |
|
|
|
|
|
| `grpc` | -- | -- | The gRPC server options. |
|
|
|
|
|
| `grpc.addr` | String | `127.0.0.1:3001` | The address to bind the gRPC server. |
|
|
|
|
|
| `grpc.hostname` | String | `127.0.0.1` | The hostname advertised to the metasrv,<br/>and used for connections from outside the host |
|
|
|
|
|
@@ -453,10 +457,10 @@
|
|
|
|
|
| `export_metrics` | -- | -- | The datanode can export its metrics and send to Prometheus compatible service (e.g. send to `greptimedb` itself) from remote-write API.<br/>This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape. |
|
|
|
|
|
| `export_metrics.enable` | Bool | `false` | whether enable export metrics. |
|
|
|
|
|
| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself |
|
|
|
|
|
| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommend to collect metrics generated by itself<br/>You must create the database before enabling it. |
|
|
|
|
|
| `export_metrics.self_import.db` | String | `None` | -- |
|
|
|
|
|
| `export_metrics.remote_write` | -- | -- | -- |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=information_schema`. |
|
|
|
|
|
| `export_metrics.remote_write.url` | String | `""` | The url the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. |
|
|
|
|
|
| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. |
|
|
|
|
|
| `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. |
|
|
|
|
|
| `tracing.tokio_console_addr` | String | `None` | The tokio console address. |
|
|
|
|
|
|