@kici-dev/engine 0.1.11 → 0.1.13
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.
|
@@ -159,16 +159,48 @@ const METRIC_LABEL_POLICY = {
|
|
|
159
159
|
kici_orch_install_secrets_contributor_stripped_total: { trust_tier: { values: ["unknown", "known"] } },
|
|
160
160
|
kici_orch_install_secrets_token_resolution_duration_seconds: { environment: { maxUniqueValues: 50 } },
|
|
161
161
|
kici_cross_source_errors_total: { reason: { values: ["clone_token", "bundle_missing"] } },
|
|
162
|
+
kici_cross_source_fanout_size: { event: { maxUniqueValues: 50 } },
|
|
162
163
|
kici_universal_git_registration_errors_total: { reason: { values: [
|
|
163
164
|
"invalid_config",
|
|
164
165
|
"bundle_build",
|
|
165
|
-
"registration"
|
|
166
|
+
"registration",
|
|
167
|
+
"no_secret_resolver"
|
|
166
168
|
] } },
|
|
167
169
|
kici_orch_trust_match_refused_no_id_total: { reason: { values: [
|
|
168
170
|
"event_missing",
|
|
169
171
|
"link_missing",
|
|
170
172
|
"id_mismatch"
|
|
171
173
|
] } },
|
|
174
|
+
kici_orch_event_dispatch_success_total: { event_name: { maxUniqueValues: 50 } },
|
|
175
|
+
kici_orch_event_retry_total: { event_name: { maxUniqueValues: 50 } },
|
|
176
|
+
kici_orch_event_dlq_total: {
|
|
177
|
+
event_name: { maxUniqueValues: 50 },
|
|
178
|
+
reason: { values: ["exhausted_retries"] }
|
|
179
|
+
},
|
|
180
|
+
kici_orch_event_attempts: {
|
|
181
|
+
event_name: { maxUniqueValues: 50 },
|
|
182
|
+
result: { values: ["success", "dlq"] }
|
|
183
|
+
},
|
|
184
|
+
kici_platform_cross_tenant_rejections_total: { reason: { values: [
|
|
185
|
+
"join_token_org_mismatch",
|
|
186
|
+
"wire_orgid_label_strip",
|
|
187
|
+
"dashboard_relay_source_mismatch",
|
|
188
|
+
"dashboard_relay_org_mismatch",
|
|
189
|
+
"response_source_mismatch",
|
|
190
|
+
"payload_stream_source_mismatch",
|
|
191
|
+
"ack_source_mismatch"
|
|
192
|
+
] } },
|
|
193
|
+
kici_platform_orch_metrics_filtered_total: {
|
|
194
|
+
reason: { values: [
|
|
195
|
+
"unknown_metric",
|
|
196
|
+
"type_mismatch",
|
|
197
|
+
"unexpected_label",
|
|
198
|
+
"bad_label_value",
|
|
199
|
+
"cardinality_cap_overflow"
|
|
200
|
+
] },
|
|
201
|
+
metric: { maxUniqueValues: 200 }
|
|
202
|
+
},
|
|
203
|
+
kici_platform_metrics_query_rate_limited_total: { org_id: { maxUniqueValues: 200 } },
|
|
172
204
|
kici_orch_job_runs_total: {
|
|
173
205
|
job: { values: ORCH_JOB_VALUES },
|
|
174
206
|
result: { values: ["success", "failure"] }
|
|
@@ -136,7 +136,7 @@ export declare const MetricLabels: {
|
|
|
136
136
|
readonly KICI_CACHE_HITS_TOTAL: readonly ["cache_type"];
|
|
137
137
|
readonly KICI_CACHE_MISSES_TOTAL: readonly ["cache_type"];
|
|
138
138
|
readonly KICI_CROSS_SOURCE_ERRORS_TOTAL: readonly ["reason"];
|
|
139
|
-
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: readonly [];
|
|
139
|
+
readonly KICI_CROSS_SOURCE_FANOUT_SIZE: readonly ["event"];
|
|
140
140
|
readonly KICI_DASHBOARD_RELAY_LATENCY_SECONDS: readonly ["outcome"];
|
|
141
141
|
readonly KICI_ORCH_AGENTS_ACTIVE: readonly [];
|
|
142
142
|
readonly KICI_ORCH_BUILD_DURATION_SECONDS: readonly [];
|
|
@@ -147,12 +147,12 @@ export declare const MetricLabels: {
|
|
|
147
147
|
readonly KICI_ORCH_DEP_CACHE_MISSES_TOTAL: readonly [];
|
|
148
148
|
readonly KICI_ORCH_DISPATCH_QUEUE_DEPTH: readonly ["status"];
|
|
149
149
|
readonly KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: readonly ["status", "label"];
|
|
150
|
-
readonly KICI_ORCH_EVENT_ATTEMPTS: readonly [];
|
|
151
|
-
readonly KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: readonly [];
|
|
150
|
+
readonly KICI_ORCH_EVENT_ATTEMPTS: readonly ["event_name", "result"];
|
|
151
|
+
readonly KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: readonly ["event_name"];
|
|
152
152
|
readonly KICI_ORCH_EVENT_DLQ_DEPTH: readonly [];
|
|
153
|
-
readonly KICI_ORCH_EVENT_DLQ_TOTAL: readonly [];
|
|
153
|
+
readonly KICI_ORCH_EVENT_DLQ_TOTAL: readonly ["event_name", "reason"];
|
|
154
154
|
readonly KICI_ORCH_EVENT_LEASE_EXPIRATIONS_TOTAL: readonly [];
|
|
155
|
-
readonly KICI_ORCH_EVENT_RETRY_TOTAL: readonly [];
|
|
155
|
+
readonly KICI_ORCH_EVENT_RETRY_TOTAL: readonly ["event_name"];
|
|
156
156
|
readonly KICI_ORCH_EXECUTION_DURATION_SECONDS: readonly [];
|
|
157
157
|
readonly KICI_ORCH_EXECUTIONS_TOTAL: readonly ["status"];
|
|
158
158
|
readonly KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: readonly ["operation"];
|
|
@@ -190,7 +190,7 @@ export declare const MetricLabels: {
|
|
|
190
190
|
readonly KICI_ORGS_TOTAL: readonly ["plan_type"];
|
|
191
191
|
readonly KICI_PLAN_CAP_EXCEEDED_TOTAL: readonly ["org_id", "dimension"];
|
|
192
192
|
readonly KICI_PLAN_USAGE_RATIO: readonly ["org_id", "dimension"];
|
|
193
|
-
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: readonly [];
|
|
193
|
+
readonly KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: readonly ["reason"];
|
|
194
194
|
readonly KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: readonly ["outcome"];
|
|
195
195
|
readonly KICI_PLATFORM_DASHBOARD_PROXY_PENDING: readonly [];
|
|
196
196
|
readonly KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: readonly ["outcome"];
|
|
@@ -205,9 +205,9 @@ export declare const MetricLabels: {
|
|
|
205
205
|
readonly KICI_PLATFORM_JOB_STATUS_FORWARDS_TOTAL: readonly ["status"];
|
|
206
206
|
readonly KICI_PLATFORM_LOG_CHUNKS_FORWARDED_TOTAL: readonly [];
|
|
207
207
|
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: readonly [];
|
|
208
|
-
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: readonly [];
|
|
208
|
+
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: readonly ["org_id"];
|
|
209
209
|
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: readonly ["reason"];
|
|
210
|
-
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: readonly [];
|
|
210
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: readonly ["reason", "metric"];
|
|
211
211
|
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: readonly [];
|
|
212
212
|
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: readonly [];
|
|
213
213
|
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: readonly ["org_id"];
|
|
@@ -451,7 +451,7 @@ export declare const MetricDescription: {
|
|
|
451
451
|
readonly KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: "Total log lines forwarded from orchestrators";
|
|
452
452
|
readonly KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: "Total dashboard metric-query requests rate-limited (429).";
|
|
453
453
|
readonly KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: "Total Mimir push-relay errors (Platform-embedded metrics). Labels: reason.";
|
|
454
|
-
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "Orchestrator-pushed metric data points dropped or rewritten by the catalog allow-list. Labels: reason.";
|
|
454
|
+
readonly KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "Orchestrator-pushed metric data points dropped or rewritten by the catalog allow-list. Labels: reason, metric.";
|
|
455
455
|
readonly KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: "Total orphan connections swept from platform_connections";
|
|
456
456
|
readonly KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "Total orchestrators detected as permanently disconnected";
|
|
457
457
|
readonly KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "platform_connections rows evicted by source.register DB dedup (same-instance reconnect path)";
|
|
@@ -137,7 +137,7 @@ const MetricLabels = {
|
|
|
137
137
|
KICI_CACHE_HITS_TOTAL: ["cache_type"],
|
|
138
138
|
KICI_CACHE_MISSES_TOTAL: ["cache_type"],
|
|
139
139
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: ["reason"],
|
|
140
|
-
KICI_CROSS_SOURCE_FANOUT_SIZE: [],
|
|
140
|
+
KICI_CROSS_SOURCE_FANOUT_SIZE: ["event"],
|
|
141
141
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: ["outcome"],
|
|
142
142
|
KICI_ORCH_AGENTS_ACTIVE: [],
|
|
143
143
|
KICI_ORCH_BUILD_DURATION_SECONDS: [],
|
|
@@ -148,12 +148,12 @@ const MetricLabels = {
|
|
|
148
148
|
KICI_ORCH_DEP_CACHE_MISSES_TOTAL: [],
|
|
149
149
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH: ["status"],
|
|
150
150
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: ["status", "label"],
|
|
151
|
-
KICI_ORCH_EVENT_ATTEMPTS: [],
|
|
152
|
-
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: [],
|
|
151
|
+
KICI_ORCH_EVENT_ATTEMPTS: ["event_name", "result"],
|
|
152
|
+
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: ["event_name"],
|
|
153
153
|
KICI_ORCH_EVENT_DLQ_DEPTH: [],
|
|
154
|
-
KICI_ORCH_EVENT_DLQ_TOTAL: [],
|
|
154
|
+
KICI_ORCH_EVENT_DLQ_TOTAL: ["event_name", "reason"],
|
|
155
155
|
KICI_ORCH_EVENT_LEASE_EXPIRATIONS_TOTAL: [],
|
|
156
|
-
KICI_ORCH_EVENT_RETRY_TOTAL: [],
|
|
156
|
+
KICI_ORCH_EVENT_RETRY_TOTAL: ["event_name"],
|
|
157
157
|
KICI_ORCH_EXECUTION_DURATION_SECONDS: [],
|
|
158
158
|
KICI_ORCH_EXECUTIONS_TOTAL: ["status"],
|
|
159
159
|
KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: ["operation"],
|
|
@@ -195,7 +195,7 @@ const MetricLabels = {
|
|
|
195
195
|
KICI_ORGS_TOTAL: ["plan_type"],
|
|
196
196
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: ["org_id", "dimension"],
|
|
197
197
|
KICI_PLAN_USAGE_RATIO: ["org_id", "dimension"],
|
|
198
|
-
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: [],
|
|
198
|
+
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: ["reason"],
|
|
199
199
|
KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: ["outcome"],
|
|
200
200
|
KICI_PLATFORM_DASHBOARD_PROXY_PENDING: [],
|
|
201
201
|
KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: ["outcome"],
|
|
@@ -210,9 +210,9 @@ const MetricLabels = {
|
|
|
210
210
|
KICI_PLATFORM_JOB_STATUS_FORWARDS_TOTAL: ["status"],
|
|
211
211
|
KICI_PLATFORM_LOG_CHUNKS_FORWARDED_TOTAL: [],
|
|
212
212
|
KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: [],
|
|
213
|
-
KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: [],
|
|
213
|
+
KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: ["org_id"],
|
|
214
214
|
KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: ["reason"],
|
|
215
|
-
KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: [],
|
|
215
|
+
KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: ["reason", "metric"],
|
|
216
216
|
KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: [],
|
|
217
217
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: [],
|
|
218
218
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: ["org_id"],
|
|
@@ -460,7 +460,7 @@ const MetricDescription = {
|
|
|
460
460
|
KICI_PLATFORM_LOG_LINES_FORWARDED_TOTAL: "Total log lines forwarded from orchestrators",
|
|
461
461
|
KICI_PLATFORM_METRICS_QUERY_RATE_LIMITED_TOTAL: "Total dashboard metric-query requests rate-limited (429).",
|
|
462
462
|
KICI_PLATFORM_MIMIR_RELAY_ERRORS_TOTAL: "Total Mimir push-relay errors (Platform-embedded metrics). Labels: reason.",
|
|
463
|
-
KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "Orchestrator-pushed metric data points dropped or rewritten by the catalog allow-list. Labels: reason.",
|
|
463
|
+
KICI_PLATFORM_ORCH_METRICS_FILTERED_TOTAL: "Orchestrator-pushed metric data points dropped or rewritten by the catalog allow-list. Labels: reason, metric.",
|
|
464
464
|
KICI_PLATFORM_ORPHAN_CONNECTIONS_SWEPT_TOTAL: "Total orphan connections swept from platform_connections",
|
|
465
465
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "Total orchestrators detected as permanently disconnected",
|
|
466
466
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "platform_connections rows evicted by source.register DB dedup (same-instance reconnect path)",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kici-dev/engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Shared business logic for the KiCI CI/CD stack: protocol, triggers, state machine, and provider interfaces used by the Platform relay, orchestrator, and compiler.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kici",
|
package/sbom.spdx.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"spdxVersion": "SPDX-2.3",
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
|
-
"name": "@kici-dev/engine@0.1.
|
|
6
|
-
"documentNamespace": "https://kici.dev/sbom/%40kici-dev%2Fengine/0.1.
|
|
5
|
+
"name": "@kici-dev/engine@0.1.13",
|
|
6
|
+
"documentNamespace": "https://kici.dev/sbom/%40kici-dev%2Fengine/0.1.13/f6e0ae74-b1fb-4c97-aa47-80be5fbb2cda",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-05-
|
|
8
|
+
"created": "2026-05-28T10:37:36Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Tool: kici-sbom-generator"
|
|
11
11
|
]
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{
|
|
55
55
|
"SPDXID": "SPDXRef-RootPackage",
|
|
56
56
|
"name": "@kici-dev/engine",
|
|
57
|
-
"versionInfo": "0.1.
|
|
57
|
+
"versionInfo": "0.1.13",
|
|
58
58
|
"downloadLocation": "NOASSERTION",
|
|
59
59
|
"filesAnalyzed": false,
|
|
60
60
|
"licenseConcluded": "NOASSERTION",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
{
|
|
66
66
|
"referenceCategory": "PACKAGE-MANAGER",
|
|
67
67
|
"referenceType": "purl",
|
|
68
|
-
"referenceLocator": "pkg:npm/%40kici-dev/engine@0.1.
|
|
68
|
+
"referenceLocator": "pkg:npm/%40kici-dev/engine@0.1.13"
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
"description": "Shared business logic for the KiCI CI/CD stack: protocol, triggers, state machine, and provider interfaces used by the Platform relay, orchestrator, and compiler.",
|