|
|
|
|
@@ -188,10 +188,11 @@
|
|
|
|
|
| `logging.max_log_files` | Integer | `720` | The maximum amount of log files. |
|
|
|
|
|
| `logging.tracing_sample_ratio` | -- | -- | The percentage of tracing will be sampled and exported.<br/>Valid range `[0, 1]`, 1 means all traces are sampled, 0 means all traces are not sampled, the default value is 1.<br/>ratio > 1 are treated as 1. Fractions < 0 are treated as 0 |
|
|
|
|
|
| `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- |
|
|
|
|
|
| `logging.slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `logging.slow_query.enable` | Bool | `false` | Whether to enable slow query log. |
|
|
|
|
|
| `logging.slow_query.threshold` | String | Unset | The threshold of slow query. |
|
|
|
|
|
| `logging.slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. |
|
|
|
|
|
| `slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `slow_query.enable` | Bool | `false` | Whether to enable slow query log. |
|
|
|
|
|
| `slow_query.record_type` | String | Unset | The record type of slow queries. It can be `system_table` or `log`. |
|
|
|
|
|
| `slow_query.threshold` | String | Unset | The threshold of slow query. |
|
|
|
|
|
| `slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. |
|
|
|
|
|
| `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. |
|
|
|
|
|
@@ -288,10 +289,12 @@
|
|
|
|
|
| `logging.max_log_files` | Integer | `720` | The maximum amount of log files. |
|
|
|
|
|
| `logging.tracing_sample_ratio` | -- | -- | The percentage of tracing will be sampled and exported.<br/>Valid range `[0, 1]`, 1 means all traces are sampled, 0 means all traces are not sampled, the default value is 1.<br/>ratio > 1 are treated as 1. Fractions < 0 are treated as 0 |
|
|
|
|
|
| `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- |
|
|
|
|
|
| `logging.slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `logging.slow_query.enable` | Bool | `false` | Whether to enable slow query log. |
|
|
|
|
|
| `logging.slow_query.threshold` | String | Unset | The threshold of slow query. |
|
|
|
|
|
| `logging.slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. |
|
|
|
|
|
| `slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `slow_query.enable` | Bool | `true` | Whether to enable slow query log. |
|
|
|
|
|
| `slow_query.record_type` | String | Unset | The record type of slow queries. It can be `system_table` or `log`.<br/>If `system_table` is selected, the slow queries will be recorded in a system table `greptime_private.slow_queries`.<br/>If `log` is selected, the slow queries will be logged in a log file `greptimedb-slow-queries.*`. |
|
|
|
|
|
| `slow_query.threshold` | String | Unset | The threshold of slow query. It can be human readable time string, for example: `10s`, `100ms`, `1s`. |
|
|
|
|
|
| `slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. For example, `0.1` means 10% of the slow queries will be logged and `1.0` means all slow queries will be logged. |
|
|
|
|
|
| `slow_query.ttl` | String | Unset | The TTL of the `slow_queries` system table. Default is `30d` when `record_type` is `system_table`. |
|
|
|
|
|
| `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. |
|
|
|
|
|
@@ -362,10 +365,6 @@
|
|
|
|
|
| `logging.max_log_files` | Integer | `720` | The maximum amount of log files. |
|
|
|
|
|
| `logging.tracing_sample_ratio` | -- | -- | The percentage of tracing will be sampled and exported.<br/>Valid range `[0, 1]`, 1 means all traces are sampled, 0 means all traces are not sampled, the default value is 1.<br/>ratio > 1 are treated as 1. Fractions < 0 are treated as 0 |
|
|
|
|
|
| `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- |
|
|
|
|
|
| `logging.slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `logging.slow_query.enable` | Bool | `false` | Whether to enable slow query log. |
|
|
|
|
|
| `logging.slow_query.threshold` | String | Unset | The threshold of slow query. |
|
|
|
|
|
| `logging.slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. |
|
|
|
|
|
| `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. |
|
|
|
|
|
@@ -529,10 +528,6 @@
|
|
|
|
|
| `logging.max_log_files` | Integer | `720` | The maximum amount of log files. |
|
|
|
|
|
| `logging.tracing_sample_ratio` | -- | -- | The percentage of tracing will be sampled and exported.<br/>Valid range `[0, 1]`, 1 means all traces are sampled, 0 means all traces are not sampled, the default value is 1.<br/>ratio > 1 are treated as 1. Fractions < 0 are treated as 0 |
|
|
|
|
|
| `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- |
|
|
|
|
|
| `logging.slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `logging.slow_query.enable` | Bool | `false` | Whether to enable slow query log. |
|
|
|
|
|
| `logging.slow_query.threshold` | String | Unset | The threshold of slow query. |
|
|
|
|
|
| `logging.slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. |
|
|
|
|
|
| `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. |
|
|
|
|
|
@@ -585,9 +580,5 @@
|
|
|
|
|
| `logging.max_log_files` | Integer | `720` | The maximum amount of log files. |
|
|
|
|
|
| `logging.tracing_sample_ratio` | -- | -- | The percentage of tracing will be sampled and exported.<br/>Valid range `[0, 1]`, 1 means all traces are sampled, 0 means all traces are not sampled, the default value is 1.<br/>ratio > 1 are treated as 1. Fractions < 0 are treated as 0 |
|
|
|
|
|
| `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- |
|
|
|
|
|
| `logging.slow_query` | -- | -- | The slow query log options. |
|
|
|
|
|
| `logging.slow_query.enable` | Bool | `false` | Whether to enable slow query log. |
|
|
|
|
|
| `logging.slow_query.threshold` | String | Unset | The threshold of slow query. |
|
|
|
|
|
| `logging.slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. |
|
|
|
|
|
| `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. |
|
|
|
|
|
| `tracing.tokio_console_addr` | String | Unset | The tokio console address. |
|
|
|
|
|
|