diff --git a/src/store/modules/trace.ts b/src/store/modules/trace.ts
index 8d74f7ee..e9654e83 100644
--- a/src/store/modules/trace.ts
+++ b/src/store/modules/trace.ts
@@ -85,6 +85,36 @@ export const traceStore = defineStore({
this.services = res.data.data.services;
return res.data;
},
+ async getService(serviceId: string) {
+ if (!serviceId) {
+ return;
+ }
+ const res: AxiosResponse = await graphql.query("queryService").params({
+ serviceId,
+ });
+
+ return res.data;
+ },
+ async getInstance(instanceId: string) {
+ if (!instanceId) {
+ return;
+ }
+ const res: AxiosResponse = await graphql.query("queryInstance").params({
+ instanceId,
+ });
+
+ return res.data;
+ },
+ async getEndpoint(endpointId: string) {
+ if (!endpointId) {
+ return;
+ }
+ const res: AxiosResponse = await graphql.query("queryEndpoint").params({
+ endpointId,
+ });
+
+ return res.data;
+ },
async getInstances(id: string) {
const serviceId = this.selectorStore.currentService
? this.selectorStore.currentService.id
diff --git a/src/views/dashboard/related/trace/Header.vue b/src/views/dashboard/related/trace/Header.vue
index d2331aa1..02eb2bde 100644
--- a/src/views/dashboard/related/trace/Header.vue
+++ b/src/views/dashboard/related/trace/Header.vue
@@ -20,7 +20,6 @@ limitations under the License. -->