From 57f668468b3e7f6a56b47e70e04c8987360f2492 Mon Sep 17 00:00:00 2001 From: Panda260 Date: Thu, 5 Jan 2023 11:16:57 +0100 Subject: [PATCH] Update egg-prometheus.json Added option to change unit of time & changed to default time of Prometheus --- monitoring/prometheus/egg-prometheus.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monitoring/prometheus/egg-prometheus.json b/monitoring/prometheus/egg-prometheus.json index b01b1d83..f24d8167 100644 --- a/monitoring/prometheus/egg-prometheus.json +++ b/monitoring/prometheus/egg-prometheus.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2023-01-05T10:40:06+01:00", + "exported_at": "2023-01-05T11:04:39+01:00", "name": "Prometheus", "author": "p.zarrad@outlook.de", "description": "The Prometheus monitoring system and time series database.", @@ -13,7 +13,7 @@ "ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian" }, "file_denylist": [], - "startup": ".\/prometheus --web.listen-address=0.0.0.0:{{SERVER_PORT}} --config.file=\/home\/container\/prometheus.yml --storage.tsdb.path=\/home\/container\/data --web.console.templates=\/home\/container\/consoles --web.console.libraries=\/home\/container\/console_libraries --web.config.file=\/home\/container\/prometheus.web.yml --storage.tsdb.retention.time={{DATA_SAVE_TIME}}d", + "startup": ".\/prometheus --web.listen-address=0.0.0.0:{{SERVER_PORT}} --config.file=\/home\/container\/prometheus.yml --storage.tsdb.path=\/home\/container\/data --web.console.templates=\/home\/container\/consoles --web.console.libraries=\/home\/container\/console_libraries --web.config.file=\/home\/container\/prometheus.web.yml --storage.tsdb.retention.time={{DATA_SAVE_TIME}}", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Server is ready to receive web requests.\"\r\n}", @@ -42,7 +42,7 @@ "name": "Data Save time in Days", "description": "How long the data is being saved", "env_variable": "DATA_SAVE_TIME", - "default_value": "365", + "default_value": "15d", "user_viewable": true, "user_editable": true, "rules": "required|string|max:10",