mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 11:27:34 +00:00
change RecordsTTL
This commit is contained in:
parent
5534e95d7f
commit
0ca3992840
@ -52,10 +52,16 @@ export const MenuItems = {
|
|||||||
|
|
||||||
export const RecordsTTL = {
|
export const RecordsTTL = {
|
||||||
query: `getRecordsTTL {
|
query: `getRecordsTTL {
|
||||||
value
|
normal
|
||||||
superDataset
|
trace
|
||||||
coldValue
|
zipkinTrace
|
||||||
coldSuperDataset
|
log
|
||||||
|
browserErrorLog
|
||||||
|
coldNormal
|
||||||
|
coldTrace
|
||||||
|
coldZipkinTrace
|
||||||
|
coldLog
|
||||||
|
coldBrowserErrorLog
|
||||||
}`,
|
}`,
|
||||||
};
|
};
|
||||||
export const MetricsTTL = {
|
export const MetricsTTL = {
|
||||||
|
@ -87,7 +87,7 @@ limitations under the License. -->
|
|||||||
alarmStore.alarms.length === pageSize ? pageSize * pageNum.value + 1 : pageSize * pageNum.value,
|
alarmStore.alarms.length === pageSize ? pageSize * pageNum.value + 1 : pageSize * pageNum.value,
|
||||||
);
|
);
|
||||||
const maxRange = computed(() =>
|
const maxRange = computed(() =>
|
||||||
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldValue : appStore.recordsTTL.value),
|
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldNormal : appStore.recordsTTL.normal),
|
||||||
);
|
);
|
||||||
|
|
||||||
refreshAlarms({ pageNum: 1 });
|
refreshAlarms({ pageNum: 1 });
|
||||||
|
@ -176,7 +176,7 @@ limitations under the License. -->
|
|||||||
category: { value: "ALL", label: "All" },
|
category: { value: "ALL", label: "All" },
|
||||||
});
|
});
|
||||||
const maxRange = computed(() =>
|
const maxRange = computed(() =>
|
||||||
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldSuperDataset : appStore.recordsTTL.superDataset),
|
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldLog : appStore.recordsTTL.log),
|
||||||
);
|
);
|
||||||
if (props.needQuery) {
|
if (props.needQuery) {
|
||||||
init();
|
init();
|
||||||
|
@ -132,7 +132,7 @@ limitations under the License. -->
|
|||||||
});
|
});
|
||||||
const durationRow = ref<Duration>(InitializationDurationRow);
|
const durationRow = ref<Duration>(InitializationDurationRow);
|
||||||
const maxRange = computed(() =>
|
const maxRange = computed(() =>
|
||||||
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldSuperDataset : appStore.recordsTTL.superDataset),
|
getMaxRange(appStore.coldStageMode ? appStore.recordsTTL.coldTrace : appStore.recordsTTL.trace),
|
||||||
);
|
);
|
||||||
if (filters.queryOrder) {
|
if (filters.queryOrder) {
|
||||||
traceStore.setTraceCondition({
|
traceStore.setTraceCondition({
|
||||||
|
Loading…
Reference in New Issue
Block a user