@abyss-project/monitor 2.8.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/interface/api/requests/metrics.request.d.ts +0 -8
- package/dist/types/interface/api/responses/infrastructure.admin.response.d.ts +0 -15
- package/dist/types/interface/api/responses/infrastructure.admin.response.js +1 -8
- package/dist/types/interface/api/responses/infrastructure.admin.response.js.map +1 -1
- package/dist/types/interface/api/responses/metrics.response.d.ts +0 -14
- package/package.json +1 -1
|
@@ -5,14 +5,6 @@ export interface IGetSentinelMetricsQuery {
|
|
|
5
5
|
applicationIds?: string[];
|
|
6
6
|
shouldGetAll?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export interface IGetLatencySentinelMetricsParams {
|
|
9
|
-
projectId: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IGetLatencySentinelMetricsQuery {
|
|
12
|
-
applicationIds?: string[];
|
|
13
|
-
startDate?: Date;
|
|
14
|
-
endDate?: Date;
|
|
15
|
-
}
|
|
16
8
|
export interface IGetLastIncidentSentinelMetricsParams {
|
|
17
9
|
projectId: string;
|
|
18
10
|
}
|
|
@@ -67,21 +67,6 @@ export interface RunRetentionPassResponse {
|
|
|
67
67
|
requestId: string;
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
export declare enum ArchiveVolumeStatus {
|
|
71
|
-
OK = "OK",
|
|
72
|
-
WARN = "WARN",
|
|
73
|
-
CRITICAL = "CRITICAL",
|
|
74
|
-
UNKNOWN = "UNKNOWN"
|
|
75
|
-
}
|
|
76
|
-
export interface GetArchiveVolumeResponse {
|
|
77
|
-
data: {
|
|
78
|
-
status: ArchiveVolumeStatus;
|
|
79
|
-
freeBytes: number | null;
|
|
80
|
-
floorBytes: number;
|
|
81
|
-
detail: string;
|
|
82
|
-
requestId: string;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
70
|
export interface EraseArchiveSubjectResponse {
|
|
86
71
|
data: {
|
|
87
72
|
runId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RetentionPlannedAction = exports.StorageCensusRelationKind = void 0;
|
|
4
4
|
var StorageCensusRelationKind;
|
|
5
5
|
(function (StorageCensusRelationKind) {
|
|
6
6
|
StorageCensusRelationKind["PARTITIONED_PARENT"] = "PARTITIONED_PARENT";
|
|
@@ -13,11 +13,4 @@ var RetentionPlannedAction;
|
|
|
13
13
|
RetentionPlannedAction["COMPACT"] = "COMPACT";
|
|
14
14
|
RetentionPlannedAction["NOTHING"] = "NOTHING";
|
|
15
15
|
})(RetentionPlannedAction || (exports.RetentionPlannedAction = RetentionPlannedAction = {}));
|
|
16
|
-
var ArchiveVolumeStatus;
|
|
17
|
-
(function (ArchiveVolumeStatus) {
|
|
18
|
-
ArchiveVolumeStatus["OK"] = "OK";
|
|
19
|
-
ArchiveVolumeStatus["WARN"] = "WARN";
|
|
20
|
-
ArchiveVolumeStatus["CRITICAL"] = "CRITICAL";
|
|
21
|
-
ArchiveVolumeStatus["UNKNOWN"] = "UNKNOWN";
|
|
22
|
-
})(ArchiveVolumeStatus || (exports.ArchiveVolumeStatus = ArchiveVolumeStatus = {}));
|
|
23
16
|
//# sourceMappingURL=infrastructure.admin.response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infrastructure.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/infrastructure.admin.response.ts"],"names":[],"mappings":";;;AAoBA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IAEnC,sEAAyC,CAAA;IAEzC,oDAAuB,CAAA;IAEvB,4CAAe,CAAA;AACjB,CAAC,EAPW,yBAAyB,yCAAzB,yBAAyB,QAOpC;AAoCD,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;AACrB,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC
|
|
1
|
+
{"version":3,"file":"infrastructure.admin.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/infrastructure.admin.response.ts"],"names":[],"mappings":";;;AAoBA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IAEnC,sEAAyC,CAAA;IAEzC,oDAAuB,CAAA;IAEvB,4CAAe,CAAA;AACjB,CAAC,EAPW,yBAAyB,yCAAzB,yBAAyB,QAOpC;AAoCD,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;AACrB,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC"}
|
|
@@ -5,20 +5,6 @@ export interface IGetSentinelMetricsData {
|
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
7
|
export type IGetSentinelMetricsResponse = IResponse<IGetSentinelMetricsData>;
|
|
8
|
-
export interface IGetLatencySentinelMetricsData {
|
|
9
|
-
metrics: Record<string, {
|
|
10
|
-
applicationId: string;
|
|
11
|
-
applicationSentinelId: string;
|
|
12
|
-
applicationSentinelName: string;
|
|
13
|
-
history: {
|
|
14
|
-
date: string;
|
|
15
|
-
avgLatency: number | null;
|
|
16
|
-
minLatency: number | null;
|
|
17
|
-
maxLatency: number | null;
|
|
18
|
-
}[];
|
|
19
|
-
}>;
|
|
20
|
-
}
|
|
21
|
-
export type IGetLatencySentinelMetricsResponse = IResponse<IGetLatencySentinelMetricsData>;
|
|
22
8
|
export interface IGetLastIncidentSentinelMetricsData {
|
|
23
9
|
metrics: {
|
|
24
10
|
incident: IApplicationSentinelHistory;
|