Fine0830 commented on a change in pull request #474:
URL:
https://github.com/apache/skywalking-rocketbot-ui/pull/474#discussion_r617134274
##########
File path: src/views/components/trace/trace-search.vue
##########
@@ -172,24 +176,40 @@ limitations under the License. -->
step,
};
}
-
private chooseService(i: any) {
if (this.service.key === i.key) {
return;
}
this.instance = { label: 'All', key: '' };
+ this.endpoint = { label: 'All', key: '' };
this.service = i;
if (i.key === '') {
this.SET_INSTANCES([]);
return;
}
this.GET_INSTANCES({ duration: this.durationTime, serviceId: i.key });
+ (this.rocketTrace as any).endpoints = [];
+ this.GET_ITEM_ENDPOINTS({
+ serviceId: i.key,
+ keyword: '',
+ duration: this.durationTime,
+ }).then((data: Array<{ key: string; label: string }>) => {
+ (this.rocketTrace as any).endpoints = data;
+ this.$forceUpdate();
+ });
+ }
+ private chooseInstance(i: any) {
+ this.instance = i;
+ this.getTraceList();
}
-
private chooseStatus(i: any) {
this.traceState = i;
+ this.getTraceList();
+ }
+ private chooseEndpoint(i: any) {
+ this.endpoint = i;
+ this.getTraceList();
Review comment:
Same thing as above.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]