From fcf75b652c8f1a75921324d2ae0965069f2cba8d Mon Sep 17 00:00:00 2001 From: dami Date: Sat, 2 Aug 2025 14:57:53 +0800 Subject: [PATCH] update --- plugins/loki/index.html | 3 ++- plugins/loki/index.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/loki/index.html b/plugins/loki/index.html index d248874d8..07a5e9066 100755 --- a/plugins/loki/index.html +++ b/plugins/loki/index.html @@ -14,7 +14,8 @@

服务

自启动

-

配置

+

Loki配置

+

Promtail配置

相关说明

diff --git a/plugins/loki/index.py b/plugins/loki/index.py index 522442cf4..a76086c17 100755 --- a/plugins/loki/index.py +++ b/plugins/loki/index.py @@ -277,6 +277,8 @@ if __name__ == "__main__": print(uninstallPreInspection()) elif func == 'conf': print(getConf()) + elif func == 'promtail_conf': + print(getPromtailConf()) elif func == 'grafana_url': print(grafanaUrl()) else: