mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 18:27:35 +00:00
update
This commit is contained in:
parent
8d3ec1bb46
commit
060b009ed9
@ -206,6 +206,22 @@ export const appStore = defineStore({
|
|||||||
|
|
||||||
return res.data;
|
return res.data;
|
||||||
},
|
},
|
||||||
|
async queryMetricsTTL() {
|
||||||
|
const res = await graphql.query("queryMetricsTTL").params({});
|
||||||
|
if (res.errors) {
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
return res.data;
|
||||||
|
},
|
||||||
|
async queryRecordsTTL() {
|
||||||
|
const res = await graphql.query("queryRecordsTTL").params({});
|
||||||
|
if (res.errors) {
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
return res.data;
|
||||||
|
},
|
||||||
setReloadTimer(timer: IntervalHandle) {
|
setReloadTimer(timer: IntervalHandle) {
|
||||||
this.reloadTimer = timer;
|
this.reloadTimer = timer;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user