mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 02:04:13 +00:00
feat: polish error nodes in trace widget (#404)
This commit is contained in:
parent
fe6e853c57
commit
8f179f00a2
@ -126,7 +126,8 @@ const titles = {
|
|||||||
self_observability_satellite_desc:
|
self_observability_satellite_desc:
|
||||||
"Satellite: an open-source agent designed for the cloud-native infrastructures, which provides a low-cost, high-efficient, and more secure way to collect telemetry data. It is the recommended load balancer for telemetry collecting.",
|
"Satellite: an open-source agent designed for the cloud-native infrastructures, which provides a low-cost, high-efficient, and more secure way to collect telemetry data. It is the recommended load balancer for telemetry collecting.",
|
||||||
cilium: "Cilium",
|
cilium: "Cilium",
|
||||||
cilium_desc: "Cilium is a CNI plugin for Kubernetes that provides eBPF-based networking, security, and load balancing.",
|
cilium_desc:
|
||||||
|
"Cilium is a CNI plugin for Kubernetes that provides eBPF-based networking, security, and load balancing.",
|
||||||
cilium_service: "Cilium Service",
|
cilium_service: "Cilium Service",
|
||||||
cilium_service_desc: "Observe Service status and resources from Cilium Hubble.",
|
cilium_service_desc: "Observe Service status and resources from Cilium Hubble.",
|
||||||
};
|
};
|
||||||
|
@ -127,7 +127,8 @@ const titles = {
|
|||||||
self_observability_satellite_desc:
|
self_observability_satellite_desc:
|
||||||
"Satellite: an open-source agent designed for the cloud-native infrastructures, which provides a low-cost, high-efficient, and more secure way to collect telemetry data. It is the recommended load balancer for telemetry collecting.",
|
"Satellite: an open-source agent designed for the cloud-native infrastructures, which provides a low-cost, high-efficient, and more secure way to collect telemetry data. It is the recommended load balancer for telemetry collecting.",
|
||||||
cilium: "Cilium",
|
cilium: "Cilium",
|
||||||
cilium_desc: "Cilium es un complemento CNI para Kubernetes que proporciona redes, seguridad y equilibrio de carga basados en eBPF.",
|
cilium_desc:
|
||||||
|
"Cilium es un complemento CNI para Kubernetes que proporciona redes, seguridad y equilibrio de carga basados en eBPF.",
|
||||||
cilium_service: "Cilium Service",
|
cilium_service: "Cilium Service",
|
||||||
cilium_service_desc: "Observe el estado del servicio y los recursos de Cilium Hubble.",
|
cilium_service_desc: "Observe el estado del servicio y los recursos de Cilium Hubble.",
|
||||||
};
|
};
|
||||||
|
@ -218,14 +218,14 @@ export default class ListGraph {
|
|||||||
.append("text")
|
.append("text")
|
||||||
.attr("x", 13)
|
.attr("x", 13)
|
||||||
.attr("y", 5)
|
.attr("y", 5)
|
||||||
.attr("fill", appStore.theme === Themes.Dark ? "#666" : "#E54C17")
|
.attr("fill", `#e54c17`)
|
||||||
.html((d: Recordable) => (d.data.isError ? "◉" : ""));
|
.html((d: Recordable) => (d.data.isError ? "◉" : ""));
|
||||||
nodeEnter
|
nodeEnter
|
||||||
.append("text")
|
.append("text")
|
||||||
.attr("class", "node-text")
|
.attr("class", "node-text")
|
||||||
.attr("x", 35)
|
.attr("x", 35)
|
||||||
.attr("y", -6)
|
.attr("y", -6)
|
||||||
.attr("fill", appStore.theme === Themes.Dark ? "#eee" : "#333")
|
.attr("fill", (d: Recordable) => (d.data.isError ? `#e54c17` : appStore.theme === Themes.Dark ? "#eee" : "#333"))
|
||||||
.html((d: Recordable) => {
|
.html((d: Recordable) => {
|
||||||
if (d.data.label === "TRACE_ROOT") {
|
if (d.data.label === "TRACE_ROOT") {
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user