|
200 | 200 | | `slow_query.record_type` | String | Unset | The record type of slow queries. It can be `system_table` or `log`. | |
201 | 201 | | `slow_query.threshold` | String | Unset | The threshold of slow query. | |
202 | 202 | | `slow_query.sample_ratio` | Float | Unset | The sampling ratio of slow query log. The value should be in the range of (0, 1]. | |
203 | | -| `export_metrics` | -- | -- | The standalone can export its metrics and send to Prometheus compatible service (e.g. `greptimedb`) from remote-write API.<br/>This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape. | |
204 | | -| `export_metrics.enable` | Bool | `false` | whether enable export metrics. | |
205 | | -| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. | |
206 | | -| `export_metrics.self_import` | -- | -- | For `standalone` mode, `self_import` is recommended to collect metrics generated by itself<br/>You must create the database before enabling it. | |
207 | | -| `export_metrics.self_import.db` | String | Unset | -- | |
208 | | -| `export_metrics.remote_write` | -- | -- | -- | |
209 | | -| `export_metrics.remote_write.url` | String | `""` | The prometheus remote write endpoint that the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. | |
210 | | -| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. | |
211 | 203 | | `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. | |
212 | 204 | | `tracing.tokio_console_addr` | String | Unset | The tokio console address. | |
213 | 205 | | `memory` | -- | -- | The memory options. | |
|
320 | 312 | | `slow_query.threshold` | String | `30s` | The threshold of slow query. It can be human readable time string, for example: `10s`, `100ms`, `1s`. | |
321 | 313 | | `slow_query.sample_ratio` | Float | `1.0` | 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. | |
322 | 314 | | `slow_query.ttl` | String | `90d` | The TTL of the `slow_queries` system table. Default is `90d` when `record_type` is `system_table`. | |
323 | | -| `export_metrics` | -- | -- | The frontend can export its metrics and send to Prometheus compatible service (e.g. `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. | |
324 | | -| `export_metrics.enable` | Bool | `false` | whether enable export metrics. | |
325 | | -| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. | |
326 | | -| `export_metrics.remote_write` | -- | -- | -- | |
327 | | -| `export_metrics.remote_write.url` | String | `""` | The prometheus remote write endpoint that the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. | |
328 | | -| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. | |
329 | 315 | | `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. | |
330 | 316 | | `tracing.tokio_console_addr` | String | Unset | The tokio console address. | |
331 | 317 | | `memory` | -- | -- | The memory options. | |
|
416 | 402 | | `logging.otlp_headers` | -- | -- | Additional OTLP headers, only valid when using OTLP http | |
417 | 403 | | `logging.tracing_sample_ratio` | -- | Unset | 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 | |
418 | 404 | | `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- | |
419 | | -| `export_metrics` | -- | -- | The metasrv can export its metrics and send to Prometheus compatible service (e.g. `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. | |
420 | | -| `export_metrics.enable` | Bool | `false` | whether enable export metrics. | |
421 | | -| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. | |
422 | | -| `export_metrics.remote_write` | -- | -- | -- | |
423 | | -| `export_metrics.remote_write.url` | String | `""` | The prometheus remote write endpoint that the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. | |
424 | | -| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. | |
425 | 405 | | `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. | |
426 | 406 | | `tracing.tokio_console_addr` | String | Unset | The tokio console address. | |
427 | 407 | | `memory` | -- | -- | The memory options. | |
|
587 | 567 | | `logging.otlp_headers` | -- | -- | Additional OTLP headers, only valid when using OTLP http | |
588 | 568 | | `logging.tracing_sample_ratio` | -- | Unset | 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 | |
589 | 569 | | `logging.tracing_sample_ratio.default_ratio` | Float | `1.0` | -- | |
590 | | -| `export_metrics` | -- | -- | The datanode can export its metrics and send to Prometheus compatible service (e.g. `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. | |
591 | | -| `export_metrics.enable` | Bool | `false` | whether enable export metrics. | |
592 | | -| `export_metrics.write_interval` | String | `30s` | The interval of export metrics. | |
593 | | -| `export_metrics.remote_write` | -- | -- | -- | |
594 | | -| `export_metrics.remote_write.url` | String | `""` | The prometheus remote write endpoint that the metrics send to. The url example can be: `http://127.0.0.1:4000/v1/prometheus/write?db=greptime_metrics`. | |
595 | | -| `export_metrics.remote_write.headers` | InlineTable | -- | HTTP headers of Prometheus remote-write carry. | |
596 | 570 | | `tracing` | -- | -- | The tracing options. Only effect when compiled with `tokio-console` feature. | |
597 | 571 | | `tracing.tokio_console_addr` | String | Unset | The tokio console address. | |
598 | 572 | | `memory` | -- | -- | The memory options. | |
|
0 commit comments