Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(apis/web/access_log): change log fields order #419

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions src/dashboard/apigateway/apigateway/biz/access_log/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,28 @@
"is_filter": False,
},
{
"label": _("环境"),
"field": "stage",
"label": _("蓝鲸应用"),
"field": "app_code",
"is_filter": True,
},
{
"label": _("资源ID"),
"field": "resource_id",
"label": _("客户端IP"),
"field": "client_ip",
"is_filter": True,
},
{
"label": _("资源名称"),
"field": "resource_name",
"label": _("环境"),
"field": "stage",
"is_filter": True,
},
{
"label": _("蓝鲸应用"),
"field": "app_code",
"label": _("资源ID"),
"field": "resource_id",
"is_filter": True,
},
{
"label": _("客户端IP"),
"field": "client_ip",
"label": _("资源名称"),
"field": "resource_name",
"is_filter": True,
},
{
Expand All @@ -70,6 +70,16 @@
"field": "http_path",
"is_filter": True,
},
{
"label": "QueryString",
"field": "params",
"is_filter": True,
},
{
"label": "Body",
"field": "body",
"is_filter": True,
},
{
"label": _("后端请求方法"),
"field": "backend_method",
Expand All @@ -90,16 +100,6 @@
"field": "backend_path",
"is_filter": True,
},
{
"label": "QueryString",
"field": "params",
"is_filter": True,
},
{
"label": "Body",
"field": "body",
"is_filter": True,
},
{
"label": _("响应正文"),
"field": "response_body",
Expand All @@ -110,11 +110,11 @@
"field": "status",
"is_filter": True,
},
{
"label": _("请求头"),
"field": "headers",
"is_filter": False,
},
# {
# "label": _("请求头"),
# "field": "headers",
# "is_filter": False,
# },
{
"label": _("请求总耗时"),
"field": "request_duration",
Expand Down