mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-16 17:41:09 +02:00
feat: victorica-metrics & prometheus - remote write
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
port = 9090;
|
||||
webExternalUrl = "http://prometheus.writefor.fun";
|
||||
|
||||
extraFlags = ["--storage.tsdb.retention.time=45d"];
|
||||
extraFlags = [
|
||||
"--storage.tsdb.retention.time=45d"
|
||||
# https://prometheus.io/docs/prometheus/latest/storage/#remote-storage-integrations
|
||||
"--web.enable-remote-write-receiver"
|
||||
];
|
||||
# Directory below /var/lib to store Prometheus metrics data.
|
||||
stateDir = "prometheus2";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user