You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by qi...@apache.org on 2021/04/08 09:28:36 UTC
[skywalking-rocketbot-ui] branch master updated: feat: Show
instance name in the trace view. (#462)
This is an automated email from the ASF dual-hosted git repository.
qiuxiafan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 7bc1931 feat: Show instance name in the trace view. (#462)
7bc1931 is described below
commit 7bc19316f97c391966887e93a5b252e70b308b4d
Author: liqiangz <li...@gmail.com>
AuthorDate: Thu Apr 8 17:28:30 2021 +0800
feat: Show instance name in the trace view. (#462)
---
src/graph/fragments/trace.ts | 1 +
src/views/components/trace/trace-span-logs.vue | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/src/graph/fragments/trace.ts b/src/graph/fragments/trace.ts
index 6e61794..0011202 100644
--- a/src/graph/fragments/trace.ts
+++ b/src/graph/fragments/trace.ts
@@ -59,6 +59,7 @@ export const Trace = {
type
}
serviceCode
+ serviceInstanceName
startTime
endTime
endpointName
diff --git a/src/views/components/trace/trace-span-logs.vue b/src/views/components/trace/trace-span-logs.vue
index c427440..6fc3549 100644
--- a/src/views/components/trace/trace-span-logs.vue
+++ b/src/views/components/trace/trace-span-logs.vue
@@ -21,6 +21,10 @@ limitations under the License. -->
<span class="g-sm-8 wba">{{ this.currentSpan.serviceCode }}</span>
</div>
<div class="mb-10 clear">
+ <span class="g-sm-4 grey">{{ $t('serviceinstance') }}:</span>
+ <span class="g-sm-8 wba">{{ this.currentSpan.serviceInstanceName }}</span>
+ </div>
+ <div class="mb-10 clear">
<span class="g-sm-4 grey">{{ $t('endpoint') }}:</span>
<span class="g-sm-8 wba">{{ this.currentSpan.label }}</span>
</div>