From a339ee7ed25df9f16d388b2596d92dffe2cb68cc Mon Sep 17 00:00:00 2001 From: zzz833708 <498605991@qq.com> Date: Wed, 12 Feb 2025 15:27:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BB=AA=E8=A1=A8=E7=9B=98=E7=BB=B4?= =?UTF-8?q?=E5=BA=A6=E5=88=AB=E5=90=8D=E4=BF=A1=E6=81=AF=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20#1010158081121910921?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bklog/apps/grafana/handlers/query.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bklog/apps/grafana/handlers/query.py b/bklog/apps/grafana/handlers/query.py index f46500d908..e606fe8397 100644 --- a/bklog/apps/grafana/handlers/query.py +++ b/bklog/apps/grafana/handlers/query.py @@ -465,6 +465,7 @@ def get_metric_list(self, category_id=None): # 有配置别名,修改name if field_id == info.get("path"): query_alias = alias_name + break if field_info["es_doc_values"] and field_info.get("field_type") != "date": metric_conf["dimension_fields"].append({"id": field_id, "name": field_description, "query_alias": query_alias})