@serve.zone/dcrouter 13.13.0 → 13.15.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_serve/bundle.js +811 -803
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/monitoring/classes.metricsmanager.d.ts +26 -0
- package/dist_ts/monitoring/classes.metricsmanager.js +72 -2
- package/dist_ts/opsserver/handlers/security.handler.js +27 -23
- package/dist_ts/opsserver/handlers/stats.handler.js +22 -3
- package/dist_ts_interfaces/data/stats.d.ts +17 -1
- package/dist_ts_interfaces/requests/stats.d.ts +9 -0
- package/dist_ts_oci_container/plugins.d.ts +3 -0
- package/dist_ts_oci_container/plugins.js +4 -0
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/appstate.d.ts +7 -0
- package/dist_ts_web/appstate.js +45 -54
- package/dist_ts_web/elements/domains/ops-view-domains.js +9 -11
- package/dist_ts_web/elements/network/ops-view-network-activity.d.ts +2 -20
- package/dist_ts_web/elements/network/ops-view-network-activity.js +65 -115
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/monitoring/classes.metricsmanager.ts +77 -1
- package/ts/opsserver/handlers/security.handler.ts +27 -23
- package/ts/opsserver/handlers/stats.handler.ts +22 -2
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/appstate.ts +53 -63
- package/ts_web/elements/domains/ops-view-domains.ts +8 -10
- package/ts_web/elements/network/ops-view-network-activity.ts +67 -132
|
@@ -131,6 +131,13 @@ export interface IHealthStatus {
|
|
|
131
131
|
};
|
|
132
132
|
version?: string;
|
|
133
133
|
}
|
|
134
|
+
export interface IDomainActivity {
|
|
135
|
+
domain: string;
|
|
136
|
+
bytesInPerSecond: number;
|
|
137
|
+
bytesOutPerSecond: number;
|
|
138
|
+
activeConnections: number;
|
|
139
|
+
routeCount: number;
|
|
140
|
+
}
|
|
134
141
|
export interface INetworkMetrics {
|
|
135
142
|
totalBandwidth: {
|
|
136
143
|
in: number;
|
|
@@ -144,12 +151,21 @@ export interface INetworkMetrics {
|
|
|
144
151
|
connectionDetails: IConnectionDetails[];
|
|
145
152
|
topEndpoints: Array<{
|
|
146
153
|
endpoint: string;
|
|
147
|
-
|
|
154
|
+
connections: number;
|
|
155
|
+
bandwidth: {
|
|
156
|
+
in: number;
|
|
157
|
+
out: number;
|
|
158
|
+
};
|
|
159
|
+
}>;
|
|
160
|
+
topEndpointsByBandwidth: Array<{
|
|
161
|
+
endpoint: string;
|
|
162
|
+
connections: number;
|
|
148
163
|
bandwidth: {
|
|
149
164
|
in: number;
|
|
150
165
|
out: number;
|
|
151
166
|
};
|
|
152
167
|
}>;
|
|
168
|
+
domainActivity: IDomainActivity[];
|
|
153
169
|
throughputHistory?: Array<{
|
|
154
170
|
timestamp: number;
|
|
155
171
|
in: number;
|
|
@@ -164,5 +164,14 @@ export interface IReq_GetNetworkStats extends plugins.typedrequestInterfaces.imp
|
|
|
164
164
|
requestsPerSecond: number;
|
|
165
165
|
requestsTotal: number;
|
|
166
166
|
backends?: statsInterfaces.IBackendInfo[];
|
|
167
|
+
topIPsByBandwidth: Array<{
|
|
168
|
+
ip: string;
|
|
169
|
+
count: number;
|
|
170
|
+
bwIn: number;
|
|
171
|
+
bwOut: number;
|
|
172
|
+
}>;
|
|
173
|
+
domainActivity: statsInterfaces.IDomainActivity[];
|
|
174
|
+
frontendProtocols?: statsInterfaces.IProtocolDistribution | null;
|
|
175
|
+
backendProtocols?: statsInterfaces.IProtocolDistribution | null;
|
|
167
176
|
};
|
|
168
177
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as fs from 'fs';
|
|
2
|
+
import * as path from 'path';
|
|
3
|
+
export { fs, path, };
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzX29jaV9jb250YWluZXIvcGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxNQUFNLElBQUksQ0FBQztBQUN6QixPQUFPLEtBQUssSUFBSSxNQUFNLE1BQU0sQ0FBQztBQUU3QixPQUFPLEVBQ0wsRUFBRSxFQUNGLElBQUksR0FDTCxDQUFDIn0=
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/dcrouter',
|
|
6
|
-
version: '13.
|
|
6
|
+
version: '13.15.0',
|
|
7
7
|
description: 'A multifaceted routing service handling mail and SMS delivery functions.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsc0JBQXNCO0lBQzVCLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLFdBQVcsRUFBRSwwRUFBMEU7Q0FDeEYsQ0FBQSJ9
|
|
@@ -54,11 +54,18 @@ export interface INetworkState {
|
|
|
54
54
|
ip: string;
|
|
55
55
|
count: number;
|
|
56
56
|
}>;
|
|
57
|
+
topIPsByBandwidth: Array<{
|
|
58
|
+
ip: string;
|
|
59
|
+
count: number;
|
|
60
|
+
bwIn: number;
|
|
61
|
+
bwOut: number;
|
|
62
|
+
}>;
|
|
57
63
|
throughputByIP: Array<{
|
|
58
64
|
ip: string;
|
|
59
65
|
in: number;
|
|
60
66
|
out: number;
|
|
61
67
|
}>;
|
|
68
|
+
domainActivity: interfaces.data.IDomainActivity[];
|
|
62
69
|
throughputHistory: Array<{
|
|
63
70
|
timestamp: number;
|
|
64
71
|
in: number;
|