You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## The datanode can export its metrics and send to Prometheus compatible service (e.g. `greptimedb` itself) from remote-write API.
676
-
## This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape.
677
-
[export_metrics]
678
-
## whether enable export metrics.
679
-
enable = false
680
-
## The interval of export metrics.
681
-
write_interval = "30s"
682
-
683
-
[export_metrics.remote_write]
684
-
## 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`.
685
-
url = ""
686
-
687
-
## HTTP headers of Prometheus remote-write carry.
688
-
headers = { }
675
+
## Exporting internal metrics via remote-write has been removed. Please use external Prometheus/OTel/VMA to scrape metrics.
689
676
690
677
## The tracing options. Only effect when compiled with `tokio-console` feature.
Copy file name to clipboardExpand all lines: config/frontend.example.toml
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -305,20 +305,7 @@ sample_ratio = 1.0
305
305
## The TTL of the `slow_queries` system table. Default is `90d` when `record_type` is `system_table`.
306
306
ttl = "90d"
307
307
308
-
## The frontend can export its metrics and send to Prometheus compatible service (e.g. `greptimedb` itself) from remote-write API.
309
-
## This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape.
310
-
[export_metrics]
311
-
## whether enable export metrics.
312
-
enable = false
313
-
## The interval of export metrics.
314
-
write_interval = "30s"
315
-
316
-
[export_metrics.remote_write]
317
-
## 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`.
318
-
url = ""
319
-
320
-
## HTTP headers of Prometheus remote-write carry.
321
-
headers = { }
308
+
## Exporting internal metrics via remote-write has been removed. Please use external Prometheus/OTel/VMA to scrape metrics.
322
309
323
310
## The tracing options. Only effect when compiled with `tokio-console` feature.
## The metasrv can export its metrics and send to Prometheus compatible service (e.g. `greptimedb` itself) from remote-write API.
329
-
## This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape.
330
-
[export_metrics]
331
-
## whether enable export metrics.
332
-
enable = false
333
-
## The interval of export metrics.
334
-
write_interval = "30s"
335
-
336
-
[export_metrics.remote_write]
337
-
## 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`.
338
-
url = ""
339
-
340
-
## HTTP headers of Prometheus remote-write carry.
341
-
headers = { }
328
+
## Exporting internal metrics via remote-write has been removed. Please use external Prometheus/OTel/VMA to scrape metrics.
342
329
343
330
## The tracing options. Only effect when compiled with `tokio-console` feature.
Copy file name to clipboardExpand all lines: config/standalone.example.toml
+1-20Lines changed: 1 addition & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -768,26 +768,7 @@ default_ratio = 1.0
768
768
## @toml2docs:none-default
769
769
#+ sample_ratio = 1.0
770
770
771
-
## The standalone can export its metrics and send to Prometheus compatible service (e.g. `greptimedb`) from remote-write API.
772
-
## This is only used for `greptimedb` to export its own metrics internally. It's different from prometheus scrape.
773
-
[export_metrics]
774
-
## whether enable export metrics.
775
-
enable = false
776
-
## The interval of export metrics.
777
-
write_interval = "30s"
778
-
779
-
## For `standalone` mode, `self_import` is recommended to collect metrics generated by itself
780
-
## You must create the database before enabling it.
781
-
[export_metrics.self_import]
782
-
## @toml2docs:none-default
783
-
db = "greptime_metrics"
784
-
785
-
[export_metrics.remote_write]
786
-
## 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`.
787
-
url = ""
788
-
789
-
## HTTP headers of Prometheus remote-write carry.
790
-
headers = { }
771
+
## Exporting internal metrics via remote-write has been removed. Please use external Prometheus/OTel/VMA to scrape metrics.
791
772
792
773
## The tracing options. Only effect when compiled with `tokio-console` feature.
0 commit comments