mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 08:25:25 +00:00
fix: update style
This commit is contained in:
parent
cc01598ae2
commit
c697428119
@ -28,7 +28,6 @@ limitations under the License. -->
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
:disabled="!!item.disabled"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
@ -117,49 +117,3 @@ export const InstanceTopology = {
|
||||
}
|
||||
`,
|
||||
};
|
||||
|
||||
export const TopoServiceMetric = {
|
||||
variable: "$idsS: [ID!]!",
|
||||
query: `
|
||||
cpmS: getValues(metric: {
|
||||
name: "service_relation_server_cpm"
|
||||
ids: $idsS
|
||||
}, duration: $duration) {
|
||||
values {
|
||||
id
|
||||
value
|
||||
}
|
||||
}
|
||||
latencyS: getValues(metric: {
|
||||
name: "service_relation_server_resp_time"
|
||||
ids: $idsS
|
||||
}, duration: $duration) {
|
||||
values {
|
||||
id
|
||||
value
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
||||
export const TopoClientMetric = {
|
||||
variable: "$idsC: [ID!]!",
|
||||
query: `
|
||||
cpmC: getValues(metric: {
|
||||
name: "service_relation_client_cpm"
|
||||
ids: $idsC
|
||||
}, duration: $duration) {
|
||||
values {
|
||||
id
|
||||
value
|
||||
}
|
||||
}
|
||||
latencyC: getValues(metric: {
|
||||
name: "service_relation_client_resp_time"
|
||||
ids: $idsC
|
||||
}, duration: $duration) {
|
||||
values {
|
||||
id
|
||||
value
|
||||
}
|
||||
}`,
|
||||
};
|
||||
|
@ -76,7 +76,8 @@ const msg = {
|
||||
editGraph: "Edit Graph Options",
|
||||
dashboardName: "Select Dashboard Name",
|
||||
linkDashboard: "Dashboard name related with topology calls",
|
||||
linkMetrics: "Metrics related with topology calls",
|
||||
linkServerMetrics: "Server metrics related with topology calls",
|
||||
linkClientMetrics: "Client metrics related with topology calls",
|
||||
nodeDashboard: "Dashboard name related with topology nodes",
|
||||
nodeMetrics: "Metrics related with topology nodes",
|
||||
instanceDashboard: "Dashboard name related with service instances",
|
||||
|
@ -75,7 +75,8 @@ const msg = {
|
||||
editGraph: "编辑图表选项",
|
||||
dashboardName: "选择仪表板名称",
|
||||
linkDashboard: "拓扑线关联的仪表板名称",
|
||||
linkMetrics: "拓扑线关联的指标",
|
||||
linkServerMetrics: "拓扑线服务端关联的指标",
|
||||
linkClientMetrics: "拓扑线客户端关联的指标",
|
||||
nodeDashboard: "拓节点关联的仪表板名称",
|
||||
nodeMetrics: "拓扑节点关联的指标",
|
||||
instanceDashboard: "拓节点关联的实例的仪表板名称",
|
||||
|
@ -19,7 +19,7 @@ limitations under the License. -->
|
||||
v-loading="loading"
|
||||
:style="`height: ${height}`"
|
||||
>
|
||||
<div class="setting" v-if="showSetting">
|
||||
<div class="setting" v-show="showSetting">
|
||||
<Settings @update="updateSettings" />
|
||||
</div>
|
||||
<Icon
|
||||
@ -340,12 +340,6 @@ function updateSettings(config: any) {
|
||||
onBeforeUnmount(() => {
|
||||
window.removeEventListener("resize", resize);
|
||||
});
|
||||
// watch(
|
||||
// () => [topologyStore.calls, topologyStore.nodes],
|
||||
// () => {
|
||||
// update();
|
||||
// }
|
||||
// );
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.micro-topo-chart {
|
||||
@ -359,7 +353,7 @@ onBeforeUnmount(() => {
|
||||
height: 700px;
|
||||
background-color: #2b3037;
|
||||
overflow: auto;
|
||||
padding: 0 10px;
|
||||
padding: 0 15px;
|
||||
border-radius: 3px;
|
||||
color: #ccc;
|
||||
transition: all 0.5ms linear;
|
||||
|
@ -23,7 +23,7 @@ limitations under the License. -->
|
||||
size="small"
|
||||
class="inputs"
|
||||
/>
|
||||
<div class="label">{{ t("linkMetrics") }}</div>
|
||||
<div class="label">{{ t("linkServerMetrics") }}</div>
|
||||
<Selector
|
||||
class="inputs"
|
||||
:multiple="true"
|
||||
@ -33,7 +33,7 @@ limitations under the License. -->
|
||||
placeholder="Select metrics"
|
||||
@change="changeLinkServerMetrics"
|
||||
/>
|
||||
<div class="label">{{ t("linkMetrics") }}</div>
|
||||
<div class="label">{{ t("linkClientMetrics") }}</div>
|
||||
<Selector
|
||||
class="inputs"
|
||||
:multiple="true"
|
||||
|
Loading…
Reference in New Issue
Block a user