diff --git a/src/assets/icons/settings.svg b/src/assets/icons/settings.svg index f394ff29..7b18be5f 100644 --- a/src/assets/icons/settings.svg +++ b/src/assets/icons/settings.svg @@ -12,6 +12,6 @@ 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. --> - + diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index 93c65f52..2c04d18e 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -400,5 +400,7 @@ const msg = { uriList: "URI List", processes: "Processes", monitorInstances: "Monitor Instances", + processDashboards: "Process Dashboards", + instanceDashboards: "Instance Dashboards", }; export default msg; diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts index cf82fd9a..6dec3f0f 100644 --- a/src/locales/lang/es.ts +++ b/src/locales/lang/es.ts @@ -399,5 +399,7 @@ const msg = { processes: "Proceso", attributes: "Atributos", monitorInstances: "Ejemplo de Monitor", + processDashboards: "Tablero de proceso", + instanceDashboards: "Tablero de ejemplo", }; export default msg; diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts index 6d9faa72..71145b0e 100644 --- a/src/locales/lang/zh.ts +++ b/src/locales/lang/zh.ts @@ -397,5 +397,7 @@ const msg = { processes: "进程", attributes: "属性", monitorInstances: "监视实例", + processDashboards: "进程仪表板", + instanceDashboards: "实例仪表板", }; export default msg; diff --git a/src/views/dashboard/configuration/ContinuousProfiling.vue b/src/views/dashboard/configuration/ContinuousProfiling.vue new file mode 100644 index 00000000..77b77846 --- /dev/null +++ b/src/views/dashboard/configuration/ContinuousProfiling.vue @@ -0,0 +1,108 @@ + +
+
{{ t("instanceDashboards") }}
+ +
+
+
{{ t("processDashboards") }}
+ +
+ + + + diff --git a/src/views/dashboard/configuration/index.ts b/src/views/dashboard/configuration/index.ts index 1fb47e4f..aadb8f33 100644 --- a/src/views/dashboard/configuration/index.ts +++ b/src/views/dashboard/configuration/index.ts @@ -21,6 +21,7 @@ import Topology from "./Topology.vue"; import Event from "./Event.vue"; import TimeRange from "./TimeRange.vue"; import ThirdPartyApp from "./ThirdPartyApp.vue"; +import ContinuousProfiling from "./ContinuousProfiling.vue"; export default { Text, @@ -29,4 +30,5 @@ export default { Event, TimeRange, ThirdPartyApp, + ContinuousProfiling, }; diff --git a/src/views/dashboard/controls/ContinuousProfiling.vue b/src/views/dashboard/controls/ContinuousProfiling.vue index 6873ea38..ee1c1650 100644 --- a/src/views/dashboard/controls/ContinuousProfiling.vue +++ b/src/views/dashboard/controls/ContinuousProfiling.vue @@ -21,6 +21,9 @@ limitations under the License. --> +
+ {{ t("edit") }} +
{{ t("delete") }}
@@ -49,6 +52,11 @@ limitations under the License. --> function removeWidget() { dashboardStore.removeControls(props.data); } + + function editConfig() { + dashboardStore.setConfigPanel(true); + dashboardStore.selectWidget(props.data); + } diff --git a/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue b/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue index 2eb04a36..dd89068a 100644 --- a/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue +++ b/src/views/dashboard/related/continuous-profiling/components/InstanceList.vue @@ -13,7 +13,10 @@ 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. -->