@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.
@@ -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
- requests: number;
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,3 @@
1
+ import * as fs from 'fs';
2
+ import * as path from 'path';
3
+ export { fs, path, };
@@ -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.13.0',
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;