add related trace options

This commit is contained in:
Fine 2022-10-18 15:27:48 +08:00
parent b3265e6023
commit f2f0ac2a1d
6 changed files with 32 additions and 0 deletions

View File

@ -158,6 +158,7 @@ const msg = {
endpointTips: "The table shows up to 20 pieces of endpoints.",
apisix: "APISIX",
viewTrace: "View related trace",
relatedTraceOptions: "Related Trace Options",
seconds: "Seconds",
hourTip: "Select Hour",
minuteTip: "Select Minute",

View File

@ -162,6 +162,7 @@ const msg = {
minuteTip: "Seleccione Minuto",
secondTip: "Seleccione Segundo",
viewTrace: "Ver trazas relacionadas",
relatedTraceOptions: "Opciones de seguimiento relacionadas",
second: "s",
yearSuffix: "Año",
monthsHead: "Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Set_Oct_Nov_Dic",

View File

@ -155,6 +155,7 @@ const msg = {
endpointTips: "这里最多展示20条endpoints。",
apisix: "APISIX",
viewTrace: "查看相关Trace",
relatedTraceOptions: "相关的Trace选项",
seconds: "秒",
hourTip: "选择小时",
minuteTip: "选择分钟",

View File

@ -65,6 +65,9 @@ limitations under the License. -->
>
<AssociateOptions />
</el-collapse-item>
<el-collapse-item :title="t('relatedTraceOptions')" name="5">
<RelatedTraceOptions />
</el-collapse-item>
</el-collapse>
</div>
<div class="footer">

View File

@ -0,0 +1,24 @@
<!-- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<div class="item">
<span class="label">{{ t("widget") }}</span>
</div>
</template>
<script lang="ts" setup>
import { useI18n } from "vue-i18n";
const { t } = useI18n();
</script>

View File

@ -19,10 +19,12 @@ import StyleOptions from "./graph-styles";
import WidgetOptions from "./WidgetOptions.vue";
import MetricOptions from "./metric/Index.vue";
import AssociateOptions from "./AssociateOptions.vue";
import RelatedTraceOptions from "./RelatedTraceOptions.vue";
export default {
...StyleOptions,
WidgetOptions,
MetricOptions,
AssociateOptions,
RelatedTraceOptions,
};