mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-01 19:03:40 +00:00
fix: add a link to explain the expression metric, add units in the continue profiling widget (#288)
This commit is contained in:
parent
1ba56ca0cd
commit
cc367dd29c
@ -26,14 +26,21 @@ limitations under the License. -->
|
||||
/>
|
||||
</div>
|
||||
<div>{{ t("metrics") }}</div>
|
||||
<el-switch
|
||||
v-model="isExpression"
|
||||
class="mb-5"
|
||||
active-text="Expressions"
|
||||
inactive-text="General"
|
||||
size="small"
|
||||
@change="changeMetricMode"
|
||||
/>
|
||||
<div class="flex-h">
|
||||
<el-switch
|
||||
v-model="isExpression"
|
||||
class="mb-5"
|
||||
active-text="Expressions"
|
||||
inactive-text="General"
|
||||
size="small"
|
||||
@change="changeMetricMode"
|
||||
/>
|
||||
<div class="ml-5 link">
|
||||
<a target="_blank" href="https://skywalking.apache.org/docs/main/next/en/api/metrics-query-expression/">
|
||||
<Icon iconName="info_outline" size="middle" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="isExpression && states.isList">
|
||||
<span class="title">{{ t("summary") }}</span>
|
||||
<span>{{ t("detail") }}</span>
|
||||
@ -641,4 +648,9 @@ limitations under the License. -->
|
||||
display: inline-block;
|
||||
width: 410px;
|
||||
}
|
||||
|
||||
.link {
|
||||
cursor: pointer;
|
||||
color: #409eff;
|
||||
}
|
||||
</style>
|
||||
|
@ -68,11 +68,17 @@ limitations under the License. -->
|
||||
</div>
|
||||
<div>
|
||||
<div class="label">{{ t("count") }}</div>
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.count" @change="changeParam" />
|
||||
<div class="flex-h">
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.count" @change="changeParam" />
|
||||
<span class="ml-5">s</span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="label">{{ t("period") }}</div>
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.period" @change="changeParam" />
|
||||
<div class="flex-h">
|
||||
<el-input-number size="small" class="profile-input" :min="0" v-model="item.period" @change="changeParam" />
|
||||
<span class="ml-5">s</span>
|
||||
</div>
|
||||
</div>
|
||||
<div v-show="TYPES.includes(item.type)">
|
||||
<div class="label">{{ t("uriRegex") }}</div>
|
||||
|
@ -107,8 +107,8 @@ limitations under the License. -->
|
||||
@change="addLabels('excludingKeywordsOfContent')"
|
||||
/>
|
||||
<el-tooltip :content="t('keywordsOfContentLogTips')">
|
||||
<span class="log-tips" v-show="!logStore.supportQueryLogsByKeywords">
|
||||
<Icon icon="help" class="mr-5" />
|
||||
<span v-show="!logStore.supportQueryLogsByKeywords">
|
||||
<Icon iconName="help" class="mr-5" />
|
||||
</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user