@kici-dev/engine 0.1.2 → 0.1.5
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/audit/access-log-policy.js +4 -1
- package/dist/audit/retention-policy.js +9 -2
- package/dist/index.js +3 -3
- package/dist/metrics/catalog-policy.d.ts +67 -0
- package/dist/metrics/catalog-policy.js +246 -0
- package/dist/metrics/metric-catalog.generated.d.ts +219 -2
- package/dist/metrics/metric-catalog.generated.js +246 -8
- package/dist/protocol/cluster-name.d.ts +35 -0
- package/dist/protocol/cluster-name.js +43 -0
- package/dist/protocol/dashboard-write-operations.d.ts +170 -0
- package/dist/protocol/dashboard-write-operations.js +324 -0
- package/dist/protocol/messages/access-log.d.ts +51 -26
- package/dist/protocol/messages/access-log.js +8 -3
- package/dist/protocol/messages/actor.js +3 -3
- package/dist/protocol/messages/auth.d.ts +25 -0
- package/dist/protocol/messages/capabilities.d.ts +25 -0
- package/dist/protocol/messages/capabilities.js +14 -3
- package/dist/protocol/messages/dashboard.d.ts +311 -10
- package/dist/protocol/messages/dashboard.js +85 -1
- package/dist/protocol/messages/platform-orchestrator.d.ts +221 -6
- package/dist/protocol/messages/platform-orchestrator.js +41 -8
- package/dist/protocol/messages/source-registration.d.ts +2 -0
- package/dist/protocol/messages/source-registration.js +21 -0
- package/dist/registration/registerable-trigger-type.d.ts +1 -1
- package/dist/ws/close-codes.d.ts +6 -0
- package/dist/ws/close-codes.js +7 -1
- package/package.json +13 -2
- package/sbom.spdx.json +5 -5
|
@@ -14,6 +14,7 @@ export declare const MetricNames: {
|
|
|
14
14
|
readonly KICI_CACHE_MISSES_TOTAL: "kici_cache_misses_total";
|
|
15
15
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "kici_cross_source_errors_total";
|
|
16
16
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "kici_cross_source_fanout_size";
|
|
17
|
+
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "kici_dashboard_relay_latency_seconds";
|
|
17
18
|
readonly KICI_ORCH_AGENTS_ACTIVE: "kici_orch_agents_active";
|
|
18
19
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "kici_orch_build_duration_seconds";
|
|
19
20
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "kici_orch_config_reload_total";
|
|
@@ -36,6 +37,11 @@ export declare const MetricNames: {
|
|
|
36
37
|
readonly KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "kici_orch_install_secrets_decisions_total";
|
|
37
38
|
readonly KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "kici_orch_install_secrets_npm_registry_used_total";
|
|
38
39
|
readonly KICI_ORCH_INSTALL_SECRETS_TOKEN_RESOLUTION_DURATION_SECONDS: "kici_orch_install_secrets_token_resolution_duration_seconds";
|
|
40
|
+
readonly KICI_ORCH_JOB_CONSECUTIVE_FAILURES: "kici_orch_job_consecutive_failures";
|
|
41
|
+
readonly KICI_ORCH_JOB_DURATION_SECONDS: "kici_orch_job_duration_seconds";
|
|
42
|
+
readonly KICI_ORCH_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: "kici_orch_job_last_failure_timestamp_seconds";
|
|
43
|
+
readonly KICI_ORCH_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: "kici_orch_job_last_success_timestamp_seconds";
|
|
44
|
+
readonly KICI_ORCH_JOB_RUNS_TOTAL: "kici_orch_job_runs_total";
|
|
39
45
|
readonly KICI_ORCH_LOG_BYTES_STORED_TOTAL: "kici_orch_log_bytes_stored_total";
|
|
40
46
|
readonly KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: "kici_orch_log_chunks_received_total";
|
|
41
47
|
readonly KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "kici_orch_scaler_config_reloads_total";
|
|
@@ -77,8 +83,10 @@ export declare const MetricNames: {
|
|
|
77
83
|
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: "kici_platform_log_lines_forwarded_total";
|
|
78
84
|
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: "kici_platform_metrics_query_rate_limited_total";
|
|
79
85
|
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: "kici_platform_mimir_relay_errors_total";
|
|
86
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "kici_platform_orch_metrics_filtered_total";
|
|
80
87
|
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: "kici_platform_orphan_connections_swept_total";
|
|
81
88
|
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "kici_platform_stale_orchestrators_total";
|
|
89
|
+
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "kici_platform_stale_platform_connections_evicted_total";
|
|
82
90
|
readonly KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "kici_platform_stale_runs_failed_total";
|
|
83
91
|
readonly KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "kici_platform_step_status_forwards_total";
|
|
84
92
|
readonly KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "kici_universal_git_registration_errors_total";
|
|
@@ -96,6 +104,20 @@ export declare const MetricNames: {
|
|
|
96
104
|
readonly KICI_WS_MESSAGES_SENT_TOTAL: "kici_ws_messages_sent_total";
|
|
97
105
|
readonly KICI_WS_RELAY_ATTEMPTS_TOTAL: "kici_ws_relay_attempts_total";
|
|
98
106
|
readonly KICI_WS_RELAY_DURATION_SECONDS: "kici_ws_relay_duration_seconds";
|
|
107
|
+
readonly NODEJS_EVENTLOOP_DELAY_MAX: "nodejs.eventloop.delay.max";
|
|
108
|
+
readonly NODEJS_EVENTLOOP_DELAY_MEAN: "nodejs.eventloop.delay.mean";
|
|
109
|
+
readonly NODEJS_EVENTLOOP_DELAY_MIN: "nodejs.eventloop.delay.min";
|
|
110
|
+
readonly NODEJS_EVENTLOOP_DELAY_P50: "nodejs.eventloop.delay.p50";
|
|
111
|
+
readonly NODEJS_EVENTLOOP_DELAY_P90: "nodejs.eventloop.delay.p90";
|
|
112
|
+
readonly NODEJS_EVENTLOOP_DELAY_P99: "nodejs.eventloop.delay.p99";
|
|
113
|
+
readonly NODEJS_EVENTLOOP_DELAY_STDDEV: "nodejs.eventloop.delay.stddev";
|
|
114
|
+
readonly NODEJS_EVENTLOOP_TIME: "nodejs.eventloop.time";
|
|
115
|
+
readonly NODEJS_EVENTLOOP_UTILIZATION: "nodejs.eventloop.utilization";
|
|
116
|
+
readonly V8JS_GC_DURATION: "v8js.gc.duration";
|
|
117
|
+
readonly V8JS_MEMORY_HEAP_LIMIT: "v8js.memory.heap.limit";
|
|
118
|
+
readonly V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "v8js.memory.heap.space.available_size";
|
|
119
|
+
readonly V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "v8js.memory.heap.space.physical_size";
|
|
120
|
+
readonly V8JS_MEMORY_HEAP_USED: "v8js.memory.heap.used";
|
|
99
121
|
};
|
|
100
122
|
export type MetricName = (typeof MetricNames)[keyof typeof MetricNames];
|
|
101
123
|
export declare const MetricLabels: {
|
|
@@ -114,6 +136,7 @@ export declare const MetricLabels: {
|
|
|
114
136
|
readonly KICI_CACHE_MISSES_TOTAL: readonly ["cache_type"];
|
|
115
137
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: readonly ["reason"];
|
|
116
138
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: readonly [];
|
|
139
|
+
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: readonly ["outcome"];
|
|
117
140
|
readonly KICI_ORCH_AGENTS_ACTIVE: readonly [];
|
|
118
141
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: readonly [];
|
|
119
142
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: readonly ["result", "source"];
|
|
@@ -136,11 +159,16 @@ export declare const MetricLabels: {
|
|
|
136
159
|
readonly KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: readonly ["decision", "reason"];
|
|
137
160
|
readonly KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: readonly ["channel", "provider", "scope"];
|
|
138
161
|
readonly KICI_ORCH_INSTALL_SECRETS_TOKEN_RESOLUTION_DURATION_SECONDS: readonly ["environment"];
|
|
162
|
+
readonly KICI_ORCH_JOB_CONSECUTIVE_FAILURES: readonly ["job"];
|
|
163
|
+
readonly KICI_ORCH_JOB_DURATION_SECONDS: readonly ["job"];
|
|
164
|
+
readonly KICI_ORCH_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: readonly ["job"];
|
|
165
|
+
readonly KICI_ORCH_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: readonly ["job"];
|
|
166
|
+
readonly KICI_ORCH_JOB_RUNS_TOTAL: readonly ["job", "result"];
|
|
139
167
|
readonly KICI_ORCH_LOG_BYTES_STORED_TOTAL: readonly [];
|
|
140
168
|
readonly KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: readonly [];
|
|
141
169
|
readonly KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: readonly ["result"];
|
|
142
|
-
readonly KICI_ORCH_SCALER_CPUS_USED: readonly [];
|
|
143
|
-
readonly KICI_ORCH_SCALER_MEMORY_BYTES_USED: readonly [];
|
|
170
|
+
readonly KICI_ORCH_SCALER_CPUS_USED: readonly ["scaler", "machinePool"];
|
|
171
|
+
readonly KICI_ORCH_SCALER_MEMORY_BYTES_USED: readonly ["scaler", "machinePool"];
|
|
144
172
|
readonly KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: readonly [];
|
|
145
173
|
readonly KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: readonly [];
|
|
146
174
|
readonly KICI_ORCH_SOURCE_CACHE_MISSES_TOTAL: readonly [];
|
|
@@ -177,8 +205,10 @@ export declare const MetricLabels: {
|
|
|
177
205
|
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: readonly [];
|
|
178
206
|
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: readonly [];
|
|
179
207
|
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: readonly ["reason"];
|
|
208
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: readonly [];
|
|
180
209
|
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: readonly [];
|
|
181
210
|
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: readonly [];
|
|
211
|
+
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: readonly ["org_id"];
|
|
182
212
|
readonly KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: readonly [];
|
|
183
213
|
readonly KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: readonly ["state"];
|
|
184
214
|
readonly KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: readonly ["reason"];
|
|
@@ -196,6 +226,20 @@ export declare const MetricLabels: {
|
|
|
196
226
|
readonly KICI_WS_MESSAGES_SENT_TOTAL: readonly ["type"];
|
|
197
227
|
readonly KICI_WS_RELAY_ATTEMPTS_TOTAL: readonly ["status"];
|
|
198
228
|
readonly KICI_WS_RELAY_DURATION_SECONDS: readonly ["status"];
|
|
229
|
+
readonly NODEJS_EVENTLOOP_DELAY_MAX: readonly ["scaler"];
|
|
230
|
+
readonly NODEJS_EVENTLOOP_DELAY_MEAN: readonly ["scaler"];
|
|
231
|
+
readonly NODEJS_EVENTLOOP_DELAY_MIN: readonly ["scaler"];
|
|
232
|
+
readonly NODEJS_EVENTLOOP_DELAY_P50: readonly ["scaler"];
|
|
233
|
+
readonly NODEJS_EVENTLOOP_DELAY_P90: readonly ["scaler"];
|
|
234
|
+
readonly NODEJS_EVENTLOOP_DELAY_P99: readonly ["scaler"];
|
|
235
|
+
readonly NODEJS_EVENTLOOP_DELAY_STDDEV: readonly ["scaler"];
|
|
236
|
+
readonly NODEJS_EVENTLOOP_TIME: readonly ["nodejs.eventloop.state", "scaler"];
|
|
237
|
+
readonly NODEJS_EVENTLOOP_UTILIZATION: readonly ["scaler"];
|
|
238
|
+
readonly V8JS_GC_DURATION: readonly ["v8js.gc.type", "scaler"];
|
|
239
|
+
readonly V8JS_MEMORY_HEAP_LIMIT: readonly ["v8js.heap.space.name", "scaler"];
|
|
240
|
+
readonly V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: readonly ["v8js.heap.space.name", "scaler"];
|
|
241
|
+
readonly V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: readonly ["v8js.heap.space.name", "scaler"];
|
|
242
|
+
readonly V8JS_MEMORY_HEAP_USED: readonly ["v8js.heap.space.name", "scaler"];
|
|
199
243
|
};
|
|
200
244
|
export declare const MetricKind: {
|
|
201
245
|
readonly KICI_AGENT_CLONE_DURATION_SECONDS: "histogram";
|
|
@@ -213,6 +257,7 @@ export declare const MetricKind: {
|
|
|
213
257
|
readonly KICI_CACHE_MISSES_TOTAL: "counter";
|
|
214
258
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "counter";
|
|
215
259
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "histogram";
|
|
260
|
+
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "histogram";
|
|
216
261
|
readonly KICI_ORCH_AGENTS_ACTIVE: "observableGauge";
|
|
217
262
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "histogram";
|
|
218
263
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "counter";
|
|
@@ -235,6 +280,11 @@ export declare const MetricKind: {
|
|
|
235
280
|
readonly KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "counter";
|
|
236
281
|
readonly KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "counter";
|
|
237
282
|
readonly KICI_ORCH_INSTALL_SECRETS_TOKEN_RESOLUTION_DURATION_SECONDS: "histogram";
|
|
283
|
+
readonly KICI_ORCH_JOB_CONSECUTIVE_FAILURES: "observableGauge";
|
|
284
|
+
readonly KICI_ORCH_JOB_DURATION_SECONDS: "histogram";
|
|
285
|
+
readonly KICI_ORCH_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: "observableGauge";
|
|
286
|
+
readonly KICI_ORCH_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: "observableGauge";
|
|
287
|
+
readonly KICI_ORCH_JOB_RUNS_TOTAL: "counter";
|
|
238
288
|
readonly KICI_ORCH_LOG_BYTES_STORED_TOTAL: "counter";
|
|
239
289
|
readonly KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: "counter";
|
|
240
290
|
readonly KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "counter";
|
|
@@ -276,8 +326,10 @@ export declare const MetricKind: {
|
|
|
276
326
|
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: "counter";
|
|
277
327
|
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: "counter";
|
|
278
328
|
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: "counter";
|
|
329
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "counter";
|
|
279
330
|
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: "counter";
|
|
280
331
|
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "counter";
|
|
332
|
+
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "counter";
|
|
281
333
|
readonly KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "counter";
|
|
282
334
|
readonly KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "counter";
|
|
283
335
|
readonly KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "counter";
|
|
@@ -295,6 +347,20 @@ export declare const MetricKind: {
|
|
|
295
347
|
readonly KICI_WS_MESSAGES_SENT_TOTAL: "counter";
|
|
296
348
|
readonly KICI_WS_RELAY_ATTEMPTS_TOTAL: "counter";
|
|
297
349
|
readonly KICI_WS_RELAY_DURATION_SECONDS: "histogram";
|
|
350
|
+
readonly NODEJS_EVENTLOOP_DELAY_MAX: "gauge";
|
|
351
|
+
readonly NODEJS_EVENTLOOP_DELAY_MEAN: "gauge";
|
|
352
|
+
readonly NODEJS_EVENTLOOP_DELAY_MIN: "gauge";
|
|
353
|
+
readonly NODEJS_EVENTLOOP_DELAY_P50: "gauge";
|
|
354
|
+
readonly NODEJS_EVENTLOOP_DELAY_P90: "gauge";
|
|
355
|
+
readonly NODEJS_EVENTLOOP_DELAY_P99: "gauge";
|
|
356
|
+
readonly NODEJS_EVENTLOOP_DELAY_STDDEV: "gauge";
|
|
357
|
+
readonly NODEJS_EVENTLOOP_TIME: "counter";
|
|
358
|
+
readonly NODEJS_EVENTLOOP_UTILIZATION: "gauge";
|
|
359
|
+
readonly V8JS_GC_DURATION: "histogram";
|
|
360
|
+
readonly V8JS_MEMORY_HEAP_LIMIT: "gauge";
|
|
361
|
+
readonly V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "gauge";
|
|
362
|
+
readonly V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "gauge";
|
|
363
|
+
readonly V8JS_MEMORY_HEAP_USED: "gauge";
|
|
298
364
|
};
|
|
299
365
|
export declare const MetricDescription: {
|
|
300
366
|
readonly KICI_AGENT_CLONE_DURATION_SECONDS: "Git clone duration in seconds";
|
|
@@ -312,6 +378,7 @@ export declare const MetricDescription: {
|
|
|
312
378
|
readonly KICI_CACHE_MISSES_TOTAL: "Total cache misses by type";
|
|
313
379
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "Errors encountered during cross-source webhook dispatch";
|
|
314
380
|
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "Number of webhook-trigger registrations matched when an inbound generic webhook fans out across sources in the same org";
|
|
381
|
+
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "Round-trip latency of a cross-instance dashboard relay request";
|
|
315
382
|
readonly KICI_ORCH_AGENTS_ACTIVE: "Current number of active agents connected";
|
|
316
383
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "Duration of build agent operations in seconds";
|
|
317
384
|
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "Total number of config reload operations";
|
|
@@ -334,6 +401,11 @@ export declare const MetricDescription: {
|
|
|
334
401
|
readonly KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "Total install-secrets resolution decisions (pass / reject + reason)";
|
|
335
402
|
readonly KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "Total registry / installEnv entries successfully resolved per channel / provider / scope";
|
|
336
403
|
readonly KICI_ORCH_INSTALL_SECRETS_TOKEN_RESOLUTION_DURATION_SECONDS: "Duration of per-environment secret resolution during install-secrets evaluation";
|
|
404
|
+
readonly KICI_ORCH_JOB_CONSECUTIVE_FAILURES: "Consecutive failures for each scheduled job since its last success";
|
|
405
|
+
readonly KICI_ORCH_JOB_DURATION_SECONDS: "Scheduled job tick duration in seconds";
|
|
406
|
+
readonly KICI_ORCH_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: "Unix timestamp of the most recent failed scheduled job tick";
|
|
407
|
+
readonly KICI_ORCH_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: "Unix timestamp of the most recent successful scheduled job tick";
|
|
408
|
+
readonly KICI_ORCH_JOB_RUNS_TOTAL: "Scheduled job run outcomes, by job and result (success/failure)";
|
|
337
409
|
readonly KICI_ORCH_LOG_BYTES_STORED_TOTAL: "Total bytes of log data written to storage";
|
|
338
410
|
readonly KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: "Total number of log chunks received from agents";
|
|
339
411
|
readonly KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "Total number of scaler config reload operations";
|
|
@@ -375,8 +447,10 @@ export declare const MetricDescription: {
|
|
|
375
447
|
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: "Total log lines forwarded from orchestrators";
|
|
376
448
|
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: "Total dashboard metric-query requests rate-limited (429).";
|
|
377
449
|
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: "Total Mimir push-relay errors (Platform-embedded metrics). Labels: reason.";
|
|
450
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "Orchestrator-pushed metric data points dropped or rewritten by the catalog allow-list. Labels: reason.";
|
|
378
451
|
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: "Total orphan connections swept from platform_connections";
|
|
379
452
|
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "Total orchestrators detected as permanently disconnected";
|
|
453
|
+
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "platform_connections rows evicted by source.register DB dedup (same-instance reconnect path)";
|
|
380
454
|
readonly KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "Total execution runs failed due to orchestrator staleness";
|
|
381
455
|
readonly KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "Total step status forwards received";
|
|
382
456
|
readonly KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "Errors encountered while registering universal-git provider bundles";
|
|
@@ -394,7 +468,150 @@ export declare const MetricDescription: {
|
|
|
394
468
|
readonly KICI_WS_MESSAGES_SENT_TOTAL: "Total messages sent to orchestrators";
|
|
395
469
|
readonly KICI_WS_RELAY_ATTEMPTS_TOTAL: "Total number of webhook relay attempts";
|
|
396
470
|
readonly KICI_WS_RELAY_DURATION_SECONDS: "Duration of webhook relay operations in seconds";
|
|
471
|
+
readonly NODEJS_EVENTLOOP_DELAY_MAX: "Event loop maximum delay";
|
|
472
|
+
readonly NODEJS_EVENTLOOP_DELAY_MEAN: "Event loop mean delay";
|
|
473
|
+
readonly NODEJS_EVENTLOOP_DELAY_MIN: "Event loop minimum delay";
|
|
474
|
+
readonly NODEJS_EVENTLOOP_DELAY_P50: "Event loop 50th-percentile delay";
|
|
475
|
+
readonly NODEJS_EVENTLOOP_DELAY_P90: "Event loop 90th-percentile delay";
|
|
476
|
+
readonly NODEJS_EVENTLOOP_DELAY_P99: "Event loop 99th-percentile delay";
|
|
477
|
+
readonly NODEJS_EVENTLOOP_DELAY_STDDEV: "Event loop delay standard deviation";
|
|
478
|
+
readonly NODEJS_EVENTLOOP_TIME: "Cumulative event loop time by state";
|
|
479
|
+
readonly NODEJS_EVENTLOOP_UTILIZATION: "Event loop utilization ratio";
|
|
480
|
+
readonly V8JS_GC_DURATION: "Garbage-collection pause duration by GC type";
|
|
481
|
+
readonly V8JS_MEMORY_HEAP_LIMIT: "V8 heap size limit by heap space";
|
|
482
|
+
readonly V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "V8 available heap size by heap space";
|
|
483
|
+
readonly V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "V8 physical heap size by heap space";
|
|
484
|
+
readonly V8JS_MEMORY_HEAP_USED: "V8 used heap size by heap space";
|
|
397
485
|
};
|
|
486
|
+
/**
|
|
487
|
+
* Service that owns each metric (the package whose meter created it).
|
|
488
|
+
* Consumed by the Platform's orchestrator-metrics filter to drop
|
|
489
|
+
* `kici_platform_*` (and other Platform-only) series that should never
|
|
490
|
+
* appear on the wire — the orchestrator and forwarded-agent metrics are
|
|
491
|
+
* the only valid push payloads.
|
|
492
|
+
*/
|
|
493
|
+
export declare const MetricService: {
|
|
494
|
+
readonly KICI_AGENT_CLONE_DURATION_SECONDS: "agent";
|
|
495
|
+
readonly KICI_AGENT_CONNECTION_STATUS: "agent";
|
|
496
|
+
readonly KICI_AGENT_JOBS_ACTIVE: "agent";
|
|
497
|
+
readonly KICI_AGENT_JOBS_TOTAL: "agent";
|
|
498
|
+
readonly KICI_AGENT_LOG_BACKPRESSURE_ACTIVE: "agent";
|
|
499
|
+
readonly KICI_AGENT_LOG_BACKPRESSURE_EVENTS_TOTAL: "agent";
|
|
500
|
+
readonly KICI_AGENT_LOG_BYTES_TOTAL: "agent";
|
|
501
|
+
readonly KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "agent";
|
|
502
|
+
readonly KICI_AGENT_STEP_DURATION_SECONDS: "agent";
|
|
503
|
+
readonly KICI_AGENT_STEPS_TOTAL: "agent";
|
|
504
|
+
readonly KICI_BUILD_JOBS_TOTAL: "platform";
|
|
505
|
+
readonly KICI_CACHE_HITS_TOTAL: "platform";
|
|
506
|
+
readonly KICI_CACHE_MISSES_TOTAL: "platform";
|
|
507
|
+
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: "orchestrator";
|
|
508
|
+
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: "orchestrator";
|
|
509
|
+
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "platform";
|
|
510
|
+
readonly KICI_ORCH_AGENTS_ACTIVE: "orchestrator";
|
|
511
|
+
readonly KICI_ORCH_BUILD_DURATION_SECONDS: "orchestrator";
|
|
512
|
+
readonly KICI_ORCH_CONFIG_RELOAD_TOTAL: "orchestrator";
|
|
513
|
+
readonly KICI_ORCH_CONFIG_VERSION: "orchestrator";
|
|
514
|
+
readonly KICI_ORCH_DEDUP_HITS_TOTAL: "orchestrator";
|
|
515
|
+
readonly KICI_ORCH_DEP_CACHE_HITS_TOTAL: "orchestrator";
|
|
516
|
+
readonly KICI_ORCH_DEP_CACHE_MISSES_TOTAL: "orchestrator";
|
|
517
|
+
readonly KICI_ORCH_DISPATCH_QUEUE_DEPTH: "orchestrator";
|
|
518
|
+
readonly KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: "orchestrator";
|
|
519
|
+
readonly KICI_ORCH_EVENT_ATTEMPTS: "orchestrator";
|
|
520
|
+
readonly KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: "orchestrator";
|
|
521
|
+
readonly KICI_ORCH_EVENT_DLQ_DEPTH: "orchestrator";
|
|
522
|
+
readonly KICI_ORCH_EVENT_DLQ_TOTAL: "orchestrator";
|
|
523
|
+
readonly KICI_ORCH_EVENT_LEASE_EXPIRATIONS_TOTAL: "orchestrator";
|
|
524
|
+
readonly KICI_ORCH_EVENT_RETRY_TOTAL: "orchestrator";
|
|
525
|
+
readonly KICI_ORCH_EXECUTION_DURATION_SECONDS: "orchestrator";
|
|
526
|
+
readonly KICI_ORCH_EXECUTIONS_TOTAL: "orchestrator";
|
|
527
|
+
readonly KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: "orchestrator";
|
|
528
|
+
readonly KICI_ORCH_INSTALL_SECRETS_CONTRIBUTOR_STRIPPED_TOTAL: "orchestrator";
|
|
529
|
+
readonly KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "orchestrator";
|
|
530
|
+
readonly KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "orchestrator";
|
|
531
|
+
readonly KICI_ORCH_INSTALL_SECRETS_TOKEN_RESOLUTION_DURATION_SECONDS: "orchestrator";
|
|
532
|
+
readonly KICI_ORCH_JOB_CONSECUTIVE_FAILURES: "orchestrator";
|
|
533
|
+
readonly KICI_ORCH_JOB_DURATION_SECONDS: "orchestrator";
|
|
534
|
+
readonly KICI_ORCH_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: "orchestrator";
|
|
535
|
+
readonly KICI_ORCH_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: "orchestrator";
|
|
536
|
+
readonly KICI_ORCH_JOB_RUNS_TOTAL: "orchestrator";
|
|
537
|
+
readonly KICI_ORCH_LOG_BYTES_STORED_TOTAL: "orchestrator";
|
|
538
|
+
readonly KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: "orchestrator";
|
|
539
|
+
readonly KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "orchestrator";
|
|
540
|
+
readonly KICI_ORCH_SCALER_CPUS_USED: "orchestrator";
|
|
541
|
+
readonly KICI_ORCH_SCALER_MEMORY_BYTES_USED: "orchestrator";
|
|
542
|
+
readonly KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: "orchestrator";
|
|
543
|
+
readonly KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: "orchestrator";
|
|
544
|
+
readonly KICI_ORCH_SOURCE_CACHE_MISSES_TOTAL: "orchestrator";
|
|
545
|
+
readonly KICI_ORCH_STALE_DETECTION_DURATION_SECONDS: "orchestrator";
|
|
546
|
+
readonly KICI_ORCH_STALE_RUNS_CURRENT: "orchestrator";
|
|
547
|
+
readonly KICI_ORCH_STALE_RUNS_DETECTED_TOTAL: "orchestrator";
|
|
548
|
+
readonly KICI_ORCH_STEPS_TOTAL: "orchestrator";
|
|
549
|
+
readonly KICI_ORCH_TRIGGER_MATCH_DURATION_SECONDS: "orchestrator";
|
|
550
|
+
readonly KICI_ORCH_TRUST_MATCH_REFUSED_NO_ID_TOTAL: "orchestrator";
|
|
551
|
+
readonly KICI_ORCH_WEBHOOKS_PROCESSED_TOTAL: "orchestrator";
|
|
552
|
+
readonly KICI_ORCH_WEBHOOKS_RECEIVED_TOTAL: "orchestrator";
|
|
553
|
+
readonly KICI_ORG_AGENT_MINUTES: "platform";
|
|
554
|
+
readonly KICI_ORG_CONNECTIONS: "platform";
|
|
555
|
+
readonly KICI_ORG_EXECUTIONS_COUNT: "platform";
|
|
556
|
+
readonly KICI_ORG_LOG_BYTES: "platform";
|
|
557
|
+
readonly KICI_ORG_STATUS_EVENTS_TOTAL: "platform";
|
|
558
|
+
readonly KICI_ORGS_TOTAL: "platform";
|
|
559
|
+
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: "platform";
|
|
560
|
+
readonly KICI_PLAN_USAGE_RATIO: "platform";
|
|
561
|
+
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "platform";
|
|
562
|
+
readonly KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: "platform";
|
|
563
|
+
readonly KICI_PLATFORM_DASHBOARD_PROXY_PENDING: "platform";
|
|
564
|
+
readonly KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: "platform";
|
|
565
|
+
readonly KICI_PLATFORM_EXECUTION_EVENTS_TOTAL: "platform";
|
|
566
|
+
readonly KICI_PLATFORM_EXECUTION_STATUS_UPDATES_TOTAL: "platform";
|
|
567
|
+
readonly KICI_PLATFORM_IDENTITY_LINKS_MISSING_PROVIDER_USER_ID: "platform";
|
|
568
|
+
readonly KICI_PLATFORM_JOB_CONSECUTIVE_FAILURES: "platform";
|
|
569
|
+
readonly KICI_PLATFORM_JOB_DURATION_SECONDS: "platform";
|
|
570
|
+
readonly KICI_PLATFORM_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: "platform";
|
|
571
|
+
readonly KICI_PLATFORM_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: "platform";
|
|
572
|
+
readonly KICI_PLATFORM_JOB_RUNS_TOTAL: "platform";
|
|
573
|
+
readonly KICI_PLATFORM_JOB_STATUS_FORWARDS_TOTAL: "platform";
|
|
574
|
+
readonly KICI_PLATFORM_LOG_CHUNKS_FORWARDED_TOTAL: "platform";
|
|
575
|
+
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: "platform";
|
|
576
|
+
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: "platform";
|
|
577
|
+
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: "platform";
|
|
578
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "platform";
|
|
579
|
+
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: "platform";
|
|
580
|
+
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "platform";
|
|
581
|
+
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "platform";
|
|
582
|
+
readonly KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "platform";
|
|
583
|
+
readonly KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "platform";
|
|
584
|
+
readonly KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "orchestrator";
|
|
585
|
+
readonly KICI_VALKEY_CONNECTION_STATUS: "platform";
|
|
586
|
+
readonly KICI_VALKEY_PUBLISH_TOTAL: "platform";
|
|
587
|
+
readonly KICI_VALKEY_RELAY_LATENCY_SECONDS: "platform";
|
|
588
|
+
readonly KICI_VALKEY_SUBSCRIBE_RECEIVE_TOTAL: "platform";
|
|
589
|
+
readonly KICI_WEBHOOK_PROCESSING_SECONDS: "platform";
|
|
590
|
+
readonly KICI_WEBHOOK_SIGNATURE_FAILURES_TOTAL: "platform";
|
|
591
|
+
readonly KICI_WEBHOOKS_RECEIVED_TOTAL: "platform";
|
|
592
|
+
readonly KICI_WS_CONNECTIONS_ACTIVE: "platform";
|
|
593
|
+
readonly KICI_WS_CONNECTIONS_TOTAL: "platform";
|
|
594
|
+
readonly KICI_WS_HEARTBEAT_AGE_SECONDS: "platform";
|
|
595
|
+
readonly KICI_WS_MESSAGES_RECEIVED_TOTAL: "platform";
|
|
596
|
+
readonly KICI_WS_MESSAGES_SENT_TOTAL: "platform";
|
|
597
|
+
readonly KICI_WS_RELAY_ATTEMPTS_TOTAL: "platform";
|
|
598
|
+
readonly KICI_WS_RELAY_DURATION_SECONDS: "platform";
|
|
599
|
+
readonly NODEJS_EVENTLOOP_DELAY_MAX: "runtime";
|
|
600
|
+
readonly NODEJS_EVENTLOOP_DELAY_MEAN: "runtime";
|
|
601
|
+
readonly NODEJS_EVENTLOOP_DELAY_MIN: "runtime";
|
|
602
|
+
readonly NODEJS_EVENTLOOP_DELAY_P50: "runtime";
|
|
603
|
+
readonly NODEJS_EVENTLOOP_DELAY_P90: "runtime";
|
|
604
|
+
readonly NODEJS_EVENTLOOP_DELAY_P99: "runtime";
|
|
605
|
+
readonly NODEJS_EVENTLOOP_DELAY_STDDEV: "runtime";
|
|
606
|
+
readonly NODEJS_EVENTLOOP_TIME: "runtime";
|
|
607
|
+
readonly NODEJS_EVENTLOOP_UTILIZATION: "runtime";
|
|
608
|
+
readonly V8JS_GC_DURATION: "runtime";
|
|
609
|
+
readonly V8JS_MEMORY_HEAP_LIMIT: "runtime";
|
|
610
|
+
readonly V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "runtime";
|
|
611
|
+
readonly V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "runtime";
|
|
612
|
+
readonly V8JS_MEMORY_HEAP_USED: "runtime";
|
|
613
|
+
};
|
|
614
|
+
export type MetricService = (typeof MetricService)[keyof typeof MetricService];
|
|
398
615
|
/** Set of every catalog metric name — O(1) membership for lint / filter UI. */
|
|
399
616
|
export declare const ALL_METRIC_NAMES: readonly string[];
|
|
400
617
|
//# sourceMappingURL=metric-catalog.generated.d.ts.map
|