@rudderjs/pulse 0.0.1 → 0.0.2
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/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +78 -80
- package/dist/index.js.map +1 -1
- package/package.json +13 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceProvider
|
|
1
|
+
import { ServiceProvider } from '@rudderjs/core';
|
|
2
2
|
import { type PulseConfig, type PulseStorage, type PulseAggregate, type PulseEntry, type MetricType, type EntryType, type Aggregator, type EntryListOptions } from './types.js';
|
|
3
3
|
export type { PulseConfig, PulseStorage, PulseAggregate, PulseEntry, MetricType, EntryType, Aggregator, EntryListOptions };
|
|
4
4
|
export { MemoryStorage, SqliteStorage } from './storage.js';
|
|
@@ -33,5 +33,8 @@ export declare class Pulse {
|
|
|
33
33
|
* import { pulse } from '@rudderjs/pulse'
|
|
34
34
|
* export default [..., pulse(configs.pulse), ...]
|
|
35
35
|
*/
|
|
36
|
-
export declare
|
|
36
|
+
export declare class PulseProvider extends ServiceProvider {
|
|
37
|
+
register(): void;
|
|
38
|
+
boot(): Promise<void>;
|
|
39
|
+
}
|
|
37
40
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAU,MAAM,gBAAgB,CAAA;AAUxD,OAAO,EAEL,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EACzE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,K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AAE,SAAS,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,UAAU,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAIjG,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,cAAc,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;CAG3E;AAID;;;;;;;;;GASG;AACH,qBAAa,aAAc,SAAQ,eAAe;IAChD,QAAQ,IAAI,IAAI;IAQV,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CA2E5B"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceProvider } from '@rudderjs/core';
|
|
1
|
+
import { ServiceProvider, config } from '@rudderjs/core';
|
|
2
2
|
import { MemoryStorage, SqliteStorage } from './storage.js';
|
|
3
3
|
import { RequestAggregator } from './aggregators/request.js';
|
|
4
4
|
import { QueueAggregator } from './aggregators/queue.js';
|
|
@@ -57,87 +57,85 @@ export class Pulse {
|
|
|
57
57
|
* import { pulse } from '@rudderjs/pulse'
|
|
58
58
|
* export default [..., pulse(configs.pulse), ...]
|
|
59
59
|
*/
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
60
|
+
export class PulseProvider extends ServiceProvider {
|
|
61
|
+
register() {
|
|
62
|
+
this.publishes({
|
|
63
|
+
from: new URL('../../boost/guidelines.md', import.meta.url).pathname,
|
|
64
|
+
to: 'boost',
|
|
65
|
+
tag: 'pulse-boost',
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async boot() {
|
|
69
|
+
const cfg = config('pulse', {});
|
|
70
|
+
const resolved = {
|
|
71
|
+
enabled: cfg.enabled ?? defaultConfig.enabled,
|
|
72
|
+
path: cfg.path ?? defaultConfig.path,
|
|
73
|
+
storage: cfg.storage ?? defaultConfig.storage,
|
|
74
|
+
sqlitePath: cfg.sqlitePath ?? defaultConfig.sqlitePath,
|
|
75
|
+
pruneAfterHours: cfg.pruneAfterHours ?? defaultConfig.pruneAfterHours,
|
|
76
|
+
slowRequestThreshold: cfg.slowRequestThreshold ?? defaultConfig.slowRequestThreshold,
|
|
77
|
+
slowQueryThreshold: cfg.slowQueryThreshold ?? defaultConfig.slowQueryThreshold,
|
|
78
|
+
recordRequests: cfg.recordRequests ?? defaultConfig.recordRequests,
|
|
79
|
+
recordQueues: cfg.recordQueues ?? defaultConfig.recordQueues,
|
|
80
|
+
recordCache: cfg.recordCache ?? defaultConfig.recordCache,
|
|
81
|
+
recordExceptions: cfg.recordExceptions ?? defaultConfig.recordExceptions,
|
|
82
|
+
recordUsers: cfg.recordUsers ?? defaultConfig.recordUsers,
|
|
83
|
+
recordServers: cfg.recordServers ?? defaultConfig.recordServers,
|
|
84
|
+
serverStatsIntervalMs: cfg.serverStatsIntervalMs ?? defaultConfig.serverStatsIntervalMs,
|
|
85
|
+
auth: cfg.auth ?? defaultConfig.auth,
|
|
86
|
+
};
|
|
87
|
+
if (!resolved.enabled)
|
|
88
|
+
return;
|
|
89
|
+
// ── Create storage ────────────────────────────────────
|
|
90
|
+
let storage;
|
|
91
|
+
if (resolved.storage === 'sqlite') {
|
|
92
|
+
storage = new SqliteStorage(resolved.sqlitePath);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
storage = new MemoryStorage();
|
|
96
|
+
}
|
|
97
|
+
PulseRegistry.set(storage);
|
|
98
|
+
this.app.instance('pulse', storage);
|
|
99
|
+
// ── Auto-prune ────────────────────────────────────────
|
|
100
|
+
const pruneHours = resolved.pruneAfterHours;
|
|
101
|
+
if (pruneHours > 0) {
|
|
102
|
+
const interval = Math.min(pruneHours * 60 * 60 * 1000, 3_600_000);
|
|
103
|
+
const timer = setInterval(() => {
|
|
104
|
+
const cutoff = new Date(Date.now() - pruneHours * 60 * 60 * 1000);
|
|
105
|
+
storage.pruneOlderThan(cutoff);
|
|
106
|
+
}, interval);
|
|
107
|
+
timer.unref();
|
|
108
|
+
}
|
|
109
|
+
// ── Register aggregators ──────────────────────────────
|
|
110
|
+
const requestAgg = new RequestAggregator(storage, resolved);
|
|
111
|
+
const userAgg = new UserAggregator(storage);
|
|
112
|
+
const aggregators = [];
|
|
113
|
+
if (resolved.recordQueues)
|
|
114
|
+
aggregators.push(new QueueAggregator(storage));
|
|
115
|
+
if (resolved.recordCache)
|
|
116
|
+
aggregators.push(new CacheAggregator(storage));
|
|
117
|
+
if (resolved.recordExceptions)
|
|
118
|
+
aggregators.push(new ExceptionAggregator(storage));
|
|
119
|
+
if (resolved.recordServers)
|
|
120
|
+
aggregators.push(new ServerAggregator(storage, resolved.serverStatsIntervalMs));
|
|
121
|
+
// Query aggregator for slow queries
|
|
122
|
+
aggregators.push(new QueryAggregator(storage, resolved));
|
|
123
|
+
for (const agg of aggregators) {
|
|
124
|
+
await agg.register();
|
|
125
|
+
}
|
|
126
|
+
// ── Register middleware ───────────────────────────────
|
|
127
|
+
try {
|
|
128
|
+
const { router } = await import('@rudderjs/router');
|
|
129
|
+
if (resolved.recordRequests)
|
|
130
|
+
router.use(requestAgg.middleware());
|
|
131
|
+
if (resolved.recordUsers)
|
|
132
|
+
router.use(userAgg.middleware());
|
|
85
133
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
return;
|
|
89
|
-
// ── Create storage ────────────────────────────────────
|
|
90
|
-
let storage;
|
|
91
|
-
if (resolved.storage === 'sqlite') {
|
|
92
|
-
storage = new SqliteStorage(resolved.sqlitePath);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
storage = new MemoryStorage();
|
|
96
|
-
}
|
|
97
|
-
PulseRegistry.set(storage);
|
|
98
|
-
this.app.instance('pulse', storage);
|
|
99
|
-
// ── Auto-prune ────────────────────────────────────────
|
|
100
|
-
const pruneHours = resolved.pruneAfterHours;
|
|
101
|
-
if (pruneHours > 0) {
|
|
102
|
-
const interval = Math.min(pruneHours * 60 * 60 * 1000, 3_600_000);
|
|
103
|
-
const timer = setInterval(() => {
|
|
104
|
-
const cutoff = new Date(Date.now() - pruneHours * 60 * 60 * 1000);
|
|
105
|
-
storage.pruneOlderThan(cutoff);
|
|
106
|
-
}, interval);
|
|
107
|
-
timer.unref();
|
|
108
|
-
}
|
|
109
|
-
// ── Register aggregators ──────────────────────────────
|
|
110
|
-
const requestAgg = new RequestAggregator(storage, resolved);
|
|
111
|
-
const userAgg = new UserAggregator(storage);
|
|
112
|
-
const aggregators = [];
|
|
113
|
-
if (resolved.recordQueues)
|
|
114
|
-
aggregators.push(new QueueAggregator(storage));
|
|
115
|
-
if (resolved.recordCache)
|
|
116
|
-
aggregators.push(new CacheAggregator(storage));
|
|
117
|
-
if (resolved.recordExceptions)
|
|
118
|
-
aggregators.push(new ExceptionAggregator(storage));
|
|
119
|
-
if (resolved.recordServers)
|
|
120
|
-
aggregators.push(new ServerAggregator(storage, resolved.serverStatsIntervalMs));
|
|
121
|
-
// Query aggregator for slow queries
|
|
122
|
-
aggregators.push(new QueryAggregator(storage, resolved));
|
|
123
|
-
for (const agg of aggregators) {
|
|
124
|
-
await agg.register();
|
|
125
|
-
}
|
|
126
|
-
// ── Register middleware ───────────────────────────────
|
|
127
|
-
try {
|
|
128
|
-
const { router } = await import('@rudderjs/router');
|
|
129
|
-
if (resolved.recordRequests)
|
|
130
|
-
router.use(requestAgg.middleware());
|
|
131
|
-
if (resolved.recordUsers)
|
|
132
|
-
router.use(userAgg.middleware());
|
|
133
|
-
}
|
|
134
|
-
catch {
|
|
135
|
-
// @rudderjs/router not available
|
|
136
|
-
}
|
|
137
|
-
// ── Register API routes ───────────────────────────────
|
|
138
|
-
await registerRoutes(storage, resolved);
|
|
134
|
+
catch {
|
|
135
|
+
// @rudderjs/router not available
|
|
139
136
|
}
|
|
137
|
+
// ── Register API routes ───────────────────────────────
|
|
138
|
+
await registerRoutes(storage, resolved);
|
|
140
139
|
}
|
|
141
|
-
return PulseServiceProvider;
|
|
142
140
|
}
|
|
143
141
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EACL,aAAa,GAGd,MAAM,YAAY,CAAA;AAKnB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA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zD,MAAM,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;IACzC,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudderjs/pulse",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"rudderjs": {
|
|
5
|
+
"provider": "PulseProvider",
|
|
6
|
+
"stage": "monitoring"
|
|
7
|
+
},
|
|
4
8
|
"license": "MIT",
|
|
5
9
|
"repository": {
|
|
6
10
|
"type": "git",
|
|
@@ -21,16 +25,16 @@
|
|
|
21
25
|
}
|
|
22
26
|
},
|
|
23
27
|
"dependencies": {
|
|
24
|
-
"@rudderjs/contracts": "0.0.
|
|
25
|
-
"@rudderjs/core": "0.0.
|
|
28
|
+
"@rudderjs/contracts": "0.0.4",
|
|
29
|
+
"@rudderjs/core": "0.0.9"
|
|
26
30
|
},
|
|
27
31
|
"peerDependencies": {
|
|
28
|
-
"@rudderjs/router": "0.0.
|
|
29
|
-
"@rudderjs/middleware": "0.0.
|
|
30
|
-
"@rudderjs/log": "0.0.
|
|
31
|
-
"@rudderjs/orm": "0.0.
|
|
32
|
-
"@rudderjs/cache": "0.0.
|
|
33
|
-
"@rudderjs/queue": "0.0.
|
|
32
|
+
"@rudderjs/router": "0.0.4",
|
|
33
|
+
"@rudderjs/middleware": "0.0.8",
|
|
34
|
+
"@rudderjs/log": "0.0.2",
|
|
35
|
+
"@rudderjs/orm": "0.0.7",
|
|
36
|
+
"@rudderjs/cache": "0.0.7",
|
|
37
|
+
"@rudderjs/queue": "0.0.6"
|
|
34
38
|
},
|
|
35
39
|
"peerDependenciesMeta": {
|
|
36
40
|
"@rudderjs/log": {
|