@kici-dev/engine 0.1.26 → 0.2.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/approval/types.d.ts +11 -4
- package/dist/approval/types.js +11 -4
- package/dist/artifacts/name.d.ts +60 -0
- package/dist/artifacts/name.js +71 -0
- package/dist/audit/access-log-policy.d.ts +1 -1
- package/dist/audit/access-log-policy.js +20 -11
- package/dist/audit/activity.d.ts +12 -12
- package/dist/audit/retention-policy.js +40 -22
- package/dist/billing/plan-type.d.ts +53 -0
- package/dist/billing/plan-type.js +70 -0
- package/dist/bundler/rolldown-config.d.ts +3 -3
- package/dist/check-mode.d.ts +1 -1
- package/dist/context/concurrency-strategy.d.ts +34 -0
- package/dist/context/concurrency-strategy.js +35 -0
- package/dist/context/held-run-job-id.d.ts +45 -0
- package/dist/context/held-run-job-id.js +56 -0
- package/dist/context/held-run-status.d.ts +33 -0
- package/dist/context/held-run-status.js +37 -0
- package/dist/context/hold-expiry.d.ts +20 -0
- package/dist/context/hold-expiry.js +25 -0
- package/dist/context/hold-reason.d.ts +33 -0
- package/dist/context/hold-reason.js +23 -0
- package/dist/context/hold-type.d.ts +40 -0
- package/dist/context/hold-type.js +61 -0
- package/dist/{environment → context}/host-match.js +1 -1
- package/dist/context/index.d.ts +14 -0
- package/dist/context/index.js +12 -0
- package/dist/context/multi-context.d.ts +30 -0
- package/dist/context/multi-context.js +38 -0
- package/dist/context/scope-name.d.ts +29 -0
- package/dist/context/scope-name.js +49 -0
- package/dist/context/scope-resolver.d.ts +79 -0
- package/dist/{environment → context}/scope-resolver.js +47 -17
- package/dist/{environment → context}/scope-template.js +1 -1
- package/dist/{environment → context}/types.d.ts +25 -22
- package/dist/{environment → context}/types.js +3 -3
- package/dist/dev-ops/operations.d.ts +9 -1
- package/dist/dev-ops/operations.js +37 -20
- package/dist/diagnostics/infra-alert.d.ts +71 -0
- package/dist/diagnostics/infra-alert.js +60 -0
- package/dist/env/environment-allowlist.d.ts +26 -3
- package/dist/env/environment-allowlist.js +35 -1
- package/dist/fanout/materialize.d.ts +16 -0
- package/dist/fanout/materialize.js +34 -5
- package/dist/index.d.ts +16 -7
- package/dist/index.js +38 -23
- package/dist/inputs/descriptor.d.ts +9 -9
- package/dist/inventory.d.ts +4 -4
- package/dist/labels.d.ts +82 -2
- package/dist/labels.js +119 -1
- package/dist/matrix/expand.d.ts +49 -2
- package/dist/matrix/expand.js +102 -13
- package/dist/matrix/format.d.ts +6 -1
- package/dist/matrix/format.js +6 -1
- package/dist/mcp/held-run-resolve.d.ts +7 -10
- package/dist/mcp/held-run-resolve.js +33 -7
- package/dist/metrics/catalog-policy.js +4 -4
- package/dist/metrics/metric-catalog.generated.d.ts +954 -734
- package/dist/metrics/metric-catalog.generated.js +296 -32
- package/dist/metrics/metric-kind-compat.d.ts +26 -0
- package/dist/metrics/metric-kind-compat.js +33 -0
- package/dist/protocol/analytics-events.d.ts +6 -6
- package/dist/protocol/dashboard-api-errors.d.ts +13 -0
- package/dist/protocol/dashboard-api-errors.js +17 -0
- package/dist/protocol/dashboard-write-operations.d.ts +143 -86
- package/dist/protocol/dashboard-write-operations.js +143 -69
- package/dist/protocol/messages/access-log.d.ts +438 -388
- package/dist/protocol/messages/access-log.js +24 -14
- package/dist/protocol/messages/actor.d.ts +2 -2
- package/dist/protocol/messages/agent-dev-ops.d.ts +4 -2
- package/dist/protocol/messages/agent-dev-ops.js +2 -5
- package/dist/protocol/messages/agent-run-result.d.ts +74 -64
- package/dist/protocol/messages/agent-run-result.js +1 -1
- package/dist/protocol/messages/auth.d.ts +35 -23
- package/dist/protocol/messages/browser.d.ts +81 -5
- package/dist/protocol/messages/browser.js +53 -2
- package/dist/protocol/messages/capabilities.d.ts +106 -31
- package/dist/protocol/messages/capabilities.js +94 -10
- package/dist/protocol/messages/common.d.ts +45 -2
- package/dist/protocol/messages/common.js +64 -3
- package/dist/protocol/messages/dashboard-sealed-write.d.ts +52 -0
- package/dist/protocol/messages/dashboard-sealed-write.js +57 -0
- package/dist/protocol/messages/dashboard.d.ts +1232 -706
- package/dist/protocol/messages/dashboard.js +387 -220
- package/dist/protocol/messages/deployment-identity.d.ts +37 -10
- package/dist/protocol/messages/deployment-identity.js +30 -3
- package/dist/protocol/messages/event-log.d.ts +5 -5
- package/dist/protocol/messages/execution-status.d.ts +198 -62
- package/dist/protocol/messages/execution-status.js +114 -46
- package/dist/protocol/messages/heartbeat-health.d.ts +83 -0
- package/dist/protocol/messages/heartbeat-health.js +87 -0
- package/dist/protocol/messages/log-stream.d.ts +18 -0
- package/dist/protocol/messages/log-stream.js +19 -0
- package/dist/protocol/messages/oidc-mint.d.ts +7 -0
- package/dist/protocol/messages/oidc-mint.js +7 -0
- package/dist/protocol/messages/orchestrator-agent.d.ts +264 -67
- package/dist/protocol/messages/orchestrator-agent.js +170 -5
- package/dist/protocol/messages/pat-kind.d.ts +1 -1
- package/dist/protocol/messages/peer.d.ts +122 -58
- package/dist/protocol/messages/peer.js +37 -2
- package/dist/protocol/messages/platform-orchestrator.d.ts +603 -258
- package/dist/protocol/messages/platform-orchestrator.js +131 -21
- package/dist/protocol/messages/run-events.d.ts +5 -5
- package/dist/protocol/messages/scaler-event.d.ts +3 -3
- package/dist/protocol/messages/source-registration.d.ts +56 -13
- package/dist/protocol/messages/source-registration.js +49 -6
- package/dist/protocol/session-policy.d.ts +20 -0
- package/dist/protocol/session-policy.js +25 -0
- package/dist/protocol/source-origin.d.ts +1 -1
- package/dist/provenance/attestation-origin.d.ts +1 -1
- package/dist/provenance/schema.d.ts +11 -11
- package/dist/provenance/verify.js +2 -1
- package/dist/provider/changed-files-fetcher.d.ts +21 -2
- package/dist/provider/check-run-conclusion.d.ts +2 -2
- package/dist/provider/check-status-poster.d.ts +23 -0
- package/dist/provider/index.d.ts +2 -2
- package/dist/registration/registerable-trigger-type.d.ts +14 -13
- package/dist/registration/registerable-trigger-type.js +1 -0
- package/dist/sandbox/capabilities.d.ts +6 -0
- package/dist/sandbox/capabilities.js +57 -0
- package/dist/scaler/scaler-backend-type.d.ts +1 -1
- package/dist/status/presentation.d.ts +89 -0
- package/dist/status/presentation.js +163 -0
- package/dist/trigger/compiled-matchers.d.ts +13 -0
- package/dist/trigger/compiled-matchers.js +44 -0
- package/dist/trigger/event-buckets.d.ts +44 -0
- package/dist/trigger/event-buckets.js +93 -0
- package/dist/trigger/matcher.d.ts +7 -3
- package/dist/trigger/matcher.js +53 -15
- package/dist/trigger/schedule-key.d.ts +14 -0
- package/dist/trigger/schedule-key.js +21 -0
- package/dist/trigger/trigger-event-type.d.ts +1 -1
- package/dist/trigger/trigger-event-type.js +2 -0
- package/dist/trigger/types.d.ts +178 -47
- package/dist/trigger/types.js +82 -24
- package/dist/webhook/event-types.d.ts +56 -0
- package/dist/webhook/event-types.js +59 -0
- package/dist/ws/ws-like.d.ts +13 -0
- package/package.json +26 -10
- package/sbom.spdx.json +10 -10
- package/dist/environment/index.d.ts +0 -6
- package/dist/environment/index.js +0 -5
- package/dist/environment/multi-env.d.ts +0 -30
- package/dist/environment/multi-env.js +0 -38
- package/dist/environment/scope-resolver.d.ts +0 -46
- package/dist/package-manager.d.ts +0 -20
- package/dist/protocol/messages/observe.d.ts +0 -76
- package/dist/protocol/messages/saas-orchestrator.d.ts +0 -2179
- package/dist/protocol/messages/test-run.d.ts +0 -59
- package/dist/state-machine/index.d.ts +0 -2
- package/dist/state-machine/index.js +0 -3
- package/dist/state-machine/machine.d.ts +0 -34
- package/dist/state-machine/machine.js +0 -103
- package/dist/state-machine/types.d.ts +0 -34
- package/dist/state-machine/types.js +0 -15
- /package/dist/{environment → context}/host-match.d.ts +0 -0
- /package/dist/{environment → context}/scope-template.d.ts +0 -0
|
@@ -11,12 +11,14 @@ const MetricNames = {
|
|
|
11
11
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "kici_agent_log_lines_dropped_total",
|
|
12
12
|
KICI_AGENT_STEP_DURATION_SECONDS: "kici_agent_step_duration_seconds",
|
|
13
13
|
KICI_AGENT_STEPS_TOTAL: "kici_agent_steps_total",
|
|
14
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "kici_billing_email_send_total",
|
|
14
15
|
KICI_BUILD_JOBS_TOTAL: "kici_build_jobs_total",
|
|
15
16
|
KICI_CACHE_HITS_TOTAL: "kici_cache_hits_total",
|
|
16
17
|
KICI_CACHE_MISSES_TOTAL: "kici_cache_misses_total",
|
|
17
18
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "kici_cross_source_errors_total",
|
|
18
19
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "kici_cross_source_fanout_size",
|
|
19
20
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "kici_dashboard_relay_latency_seconds",
|
|
21
|
+
KICI_DB_COLLATION_DRIFT: "kici_db_collation_drift",
|
|
20
22
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "kici_mcp_auth_rejections_total",
|
|
21
23
|
KICI_MCP_DB_POOL_CONNECTIONS: "kici_mcp_db_pool_connections",
|
|
22
24
|
KICI_MCP_RATE_LIMITED_TOTAL: "kici_mcp_rate_limited_total",
|
|
@@ -24,14 +26,17 @@ const MetricNames = {
|
|
|
24
26
|
KICI_MCP_TOOL_REQUESTS_TOTAL: "kici_mcp_tool_requests_total",
|
|
25
27
|
KICI_ORCH_AGENTS_ACTIVE: "kici_orch_agents_active",
|
|
26
28
|
KICI_ORCH_BUILD_DURATION_SECONDS: "kici_orch_build_duration_seconds",
|
|
29
|
+
KICI_ORCH_CHECK_RUN_TRACKING_ROWS_PRUNED_TOTAL: "kici_orch_check_run_tracking_rows_pruned_total",
|
|
27
30
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "kici_orch_config_reload_total",
|
|
28
31
|
KICI_ORCH_CONFIG_VERSION: "kici_orch_config_version",
|
|
32
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "kici_orch_db_collation_drift",
|
|
29
33
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "kici_orch_declared_hosts_unreachable",
|
|
30
34
|
KICI_ORCH_DEDUP_HITS_TOTAL: "kici_orch_dedup_hits_total",
|
|
31
35
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "kici_orch_dep_cache_hits_total",
|
|
32
36
|
KICI_ORCH_DEP_CACHE_MISSES_TOTAL: "kici_orch_dep_cache_misses_total",
|
|
33
37
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH: "kici_orch_dispatch_queue_depth",
|
|
34
38
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: "kici_orch_dispatch_queue_depth_by_label",
|
|
39
|
+
KICI_ORCH_DISPATCH_QUEUE_ROWS_PRUNED_TOTAL: "kici_orch_dispatch_queue_rows_pruned_total",
|
|
35
40
|
KICI_ORCH_EVENT_ATTEMPTS: "kici_orch_event_attempts",
|
|
36
41
|
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: "kici_orch_event_dispatch_success_total",
|
|
37
42
|
KICI_ORCH_EVENT_DLQ_DEPTH: "kici_orch_event_dlq_depth",
|
|
@@ -41,6 +46,23 @@ const MetricNames = {
|
|
|
41
46
|
KICI_ORCH_EXECUTION_DURATION_SECONDS: "kici_orch_execution_duration_seconds",
|
|
42
47
|
KICI_ORCH_EXECUTIONS_TOTAL: "kici_orch_executions_total",
|
|
43
48
|
KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: "kici_orch_github_check_run_total",
|
|
49
|
+
KICI_ORCH_INGEST_ADMITTED_TOTAL: "kici_orch_ingest_admitted_total",
|
|
50
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_MAX_MS: "kici_orch_ingest_event_loop_delay_max_ms",
|
|
51
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_P99_MS: "kici_orch_ingest_event_loop_delay_p99_ms",
|
|
52
|
+
KICI_ORCH_INGEST_INFLIGHT: "kici_orch_ingest_inflight",
|
|
53
|
+
KICI_ORCH_INGEST_LOOP_LAG_RESUME_MS: "kici_orch_ingest_loop_lag_resume_ms",
|
|
54
|
+
KICI_ORCH_INGEST_LOOP_LAG_SHED_MS: "kici_orch_ingest_loop_lag_shed_ms",
|
|
55
|
+
KICI_ORCH_INGEST_MAX_CONCURRENCY: "kici_orch_ingest_max_concurrency",
|
|
56
|
+
KICI_ORCH_INGEST_MAX_QUEUE_DEPTH: "kici_orch_ingest_max_queue_depth",
|
|
57
|
+
KICI_ORCH_INGEST_ORG_MAX_CONCURRENCY: "kici_orch_ingest_org_max_concurrency",
|
|
58
|
+
KICI_ORCH_INGEST_OVERFLOW_BUFFERED: "kici_orch_ingest_overflow_buffered",
|
|
59
|
+
KICI_ORCH_INGEST_OVERFLOW_CAPTURED_TOTAL: "kici_orch_ingest_overflow_captured_total",
|
|
60
|
+
KICI_ORCH_INGEST_OVERFLOW_DROPPED_TOTAL: "kici_orch_ingest_overflow_dropped_total",
|
|
61
|
+
KICI_ORCH_INGEST_OVERFLOW_MAX: "kici_orch_ingest_overflow_max",
|
|
62
|
+
KICI_ORCH_INGEST_OVERFLOW_REPLAYED_TOTAL: "kici_orch_ingest_overflow_replayed_total",
|
|
63
|
+
KICI_ORCH_INGEST_QUEUE_DEPTH: "kici_orch_ingest_queue_depth",
|
|
64
|
+
KICI_ORCH_INGEST_SHED_TOTAL: "kici_orch_ingest_shed_total",
|
|
65
|
+
KICI_ORCH_INGEST_SHEDDING_ACTIVE: "kici_orch_ingest_shedding_active",
|
|
44
66
|
KICI_ORCH_INSTALL_SECRETS_CONTRIBUTOR_STRIPPED_TOTAL: "kici_orch_install_secrets_contributor_stripped_total",
|
|
45
67
|
KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "kici_orch_install_secrets_decisions_total",
|
|
46
68
|
KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "kici_orch_install_secrets_npm_registry_used_total",
|
|
@@ -59,6 +81,7 @@ const MetricNames = {
|
|
|
59
81
|
KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "kici_orch_scaler_config_reloads_total",
|
|
60
82
|
KICI_ORCH_SCALER_CPUS_USED: "kici_orch_scaler_cpus_used",
|
|
61
83
|
KICI_ORCH_SCALER_MEMORY_BYTES_USED: "kici_orch_scaler_memory_bytes_used",
|
|
84
|
+
KICI_ORCH_SCALER_REDISPATCH_TOTAL: "kici_orch_scaler_redispatch_total",
|
|
62
85
|
KICI_ORCH_SCALER_SPAWN_FAILURES_TOTAL: "kici_orch_scaler_spawn_failures_total",
|
|
63
86
|
KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: "kici_orch_scaler_spawn_refusals_total",
|
|
64
87
|
KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: "kici_orch_source_cache_hits_total",
|
|
@@ -66,11 +89,18 @@ const MetricNames = {
|
|
|
66
89
|
KICI_ORCH_STALE_DETECTION_DURATION_SECONDS: "kici_orch_stale_detection_duration_seconds",
|
|
67
90
|
KICI_ORCH_STALE_RUNS_CURRENT: "kici_orch_stale_runs_current",
|
|
68
91
|
KICI_ORCH_STALE_RUNS_DETECTED_TOTAL: "kici_orch_stale_runs_detected_total",
|
|
92
|
+
KICI_ORCH_STATE_REPLAY_BREAKER_TRIPS_TOTAL: "kici_orch_state_replay_breaker_trips_total",
|
|
93
|
+
KICI_ORCH_STEP_LOGS_PRUNED_TOTAL: "kici_orch_step_logs_pruned_total",
|
|
69
94
|
KICI_ORCH_STEPS_TOTAL: "kici_orch_steps_total",
|
|
70
95
|
KICI_ORCH_TRIGGER_MATCH_DURATION_SECONDS: "kici_orch_trigger_match_duration_seconds",
|
|
71
96
|
KICI_ORCH_TRUST_MATCH_REFUSED_NO_ID_TOTAL: "kici_orch_trust_match_refused_no_id_total",
|
|
97
|
+
KICI_ORCH_TRUST_POLICY_DECISIONS_TOTAL: "kici_orch_trust_policy_decisions_total",
|
|
72
98
|
KICI_ORCH_WEBHOOKS_PROCESSED_TOTAL: "kici_orch_webhooks_processed_total",
|
|
73
99
|
KICI_ORCH_WEBHOOKS_RECEIVED_TOTAL: "kici_orch_webhooks_received_total",
|
|
100
|
+
KICI_ORCH_WS_NACK_RECEIVED_TOTAL: "kici_orch_ws_nack_received_total",
|
|
101
|
+
KICI_ORCH_WS_PLATFORM_CAPABILITY_GAP_TOTAL: "kici_orch_ws_platform_capability_gap_total",
|
|
102
|
+
KICI_ORCH_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "kici_orch_ws_unsupported_message_sent_total",
|
|
103
|
+
KICI_ORCHESTRATOR_DRAINING: "kici_orchestrator_draining",
|
|
74
104
|
KICI_ORG_AGENT_MINUTES: "kici_org_agent_minutes",
|
|
75
105
|
KICI_ORG_CONNECTIONS: "kici_org_connections",
|
|
76
106
|
KICI_ORG_EXECUTIONS_COUNT: "kici_org_executions_count",
|
|
@@ -80,14 +110,16 @@ const MetricNames = {
|
|
|
80
110
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "kici_plan_cap_exceeded_total",
|
|
81
111
|
KICI_PLAN_USAGE_RATIO: "kici_plan_usage_ratio",
|
|
82
112
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "kici_platform_coordinator_pool_size",
|
|
83
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "kici_platform_coordinator_probe_latency_ms",
|
|
84
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "kici_platform_coordinator_probe_timeouts_total",
|
|
85
113
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "kici_platform_coordinator_stale_entries",
|
|
86
114
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "kici_platform_coordinator_zombie_entries_total",
|
|
87
115
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "kici_platform_cross_tenant_rejections_total",
|
|
88
116
|
KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: "kici_platform_dashboard_proxy_duration_seconds",
|
|
89
117
|
KICI_PLATFORM_DASHBOARD_PROXY_PENDING: "kici_platform_dashboard_proxy_pending",
|
|
90
118
|
KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: "kici_platform_dashboard_proxy_requests_total",
|
|
119
|
+
KICI_PLATFORM_DB_POOL_ACQUIRE_TIMEOUTS_TOTAL: "kici_platform_db_pool_acquire_timeouts_total",
|
|
120
|
+
KICI_PLATFORM_DB_POOL_CONNECTIONS: "kici_platform_db_pool_connections",
|
|
121
|
+
KICI_PLATFORM_DB_POOL_SATURATED: "kici_platform_db_pool_saturated",
|
|
122
|
+
KICI_PLATFORM_DEGRADED_BUFFER_KEYS_GC_TOTAL: "kici_platform_degraded_buffer_keys_gc_total",
|
|
91
123
|
KICI_PLATFORM_EXECUTION_EVENTS_TOTAL: "kici_platform_execution_events_total",
|
|
92
124
|
KICI_PLATFORM_EXECUTION_STATUS_UPDATES_TOTAL: "kici_platform_execution_status_updates_total",
|
|
93
125
|
KICI_PLATFORM_IDENTITY_LINKS_MISSING_PROVIDER_USER_ID: "kici_platform_identity_links_missing_provider_user_id",
|
|
@@ -111,11 +143,19 @@ const MetricNames = {
|
|
|
111
143
|
KICI_PLATFORM_RELAY_BREAKER_TRIPS_TOTAL: "kici_platform_relay_breaker_trips_total",
|
|
112
144
|
KICI_PLATFORM_RELAY_REQUEST_DURATION_MS: "kici_platform_relay_request_duration_ms",
|
|
113
145
|
KICI_PLATFORM_RELAY_REQUEST_OUTCOME_TOTAL: "kici_platform_relay_request_outcome_total",
|
|
146
|
+
KICI_PLATFORM_RUN_RECONCILE_DEFERRED_TOTAL: "kici_platform_run_reconcile_deferred_total",
|
|
147
|
+
KICI_PLATFORM_RUN_RECONCILE_RECONCILED_TOTAL: "kici_platform_run_reconcile_reconciled_total",
|
|
148
|
+
KICI_PLATFORM_RUN_RECONCILE_SKIPPED_TOTAL: "kici_platform_run_reconcile_skipped_total",
|
|
114
149
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "kici_platform_stale_orchestrators_total",
|
|
115
150
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "kici_platform_stale_platform_connections_evicted_total",
|
|
116
151
|
KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "kici_platform_stale_runs_failed_total",
|
|
117
152
|
KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "kici_platform_step_status_forwards_total",
|
|
153
|
+
KICI_PLATFORM_SUPPORT_SESSIONS_SWEPT_TOTAL: "kici_platform_support_sessions_swept_total",
|
|
118
154
|
KICI_PLATFORM_WS_ORG_RATE_LIMITED_TOTAL: "kici_platform_ws_org_rate_limited_total",
|
|
155
|
+
KICI_PLATFORM_WS_SLOW_CONSUMER_TERMINATED_TOTAL: "kici_platform_ws_slow_consumer_terminated_total",
|
|
156
|
+
KICI_RBAC_PERMS_CACHE_HITS_TOTAL: "kici_rbac_perms_cache_hits_total",
|
|
157
|
+
KICI_RBAC_PERMS_CACHE_MISSES_TOTAL: "kici_rbac_perms_cache_misses_total",
|
|
158
|
+
KICI_READ_RATE_LIMIT_REJECTED_TOTAL: "kici_read_rate_limit_rejected_total",
|
|
119
159
|
KICI_REGISTRATIONS_TOTAL: "kici_registrations_total",
|
|
120
160
|
KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "kici_universal_git_registration_errors_total",
|
|
121
161
|
KICI_USER_REGISTRATION_NOTIFY_TOTAL: "kici_user_registration_notify_total",
|
|
@@ -126,9 +166,11 @@ const MetricNames = {
|
|
|
126
166
|
KICI_WEBHOOK_BUFFER_BYTES: "kici_webhook_buffer_bytes",
|
|
127
167
|
KICI_WEBHOOK_BUFFER_DEPTH: "kici_webhook_buffer_depth",
|
|
128
168
|
KICI_WEBHOOK_BUFFER_OLDEST_AGE_SECONDS: "kici_webhook_buffer_oldest_age_seconds",
|
|
169
|
+
KICI_WEBHOOK_NO_ORCH_TOTAL: "kici_webhook_no_orch_total",
|
|
129
170
|
KICI_WEBHOOK_PG_BREAKER_STATE: "kici_webhook_pg_breaker_state",
|
|
130
171
|
KICI_WEBHOOK_PG_BREAKER_TRANSITIONS_TOTAL: "kici_webhook_pg_breaker_transitions_total",
|
|
131
172
|
KICI_WEBHOOK_PG_DEGRADED_TOTAL: "kici_webhook_pg_degraded_total",
|
|
173
|
+
KICI_WEBHOOK_PG_PROBE_TOTAL: "kici_webhook_pg_probe_total",
|
|
132
174
|
KICI_WEBHOOK_PROCESSING_SECONDS: "kici_webhook_processing_seconds",
|
|
133
175
|
KICI_WEBHOOK_REPLAY_DURATION_SECONDS: "kici_webhook_replay_duration_seconds",
|
|
134
176
|
KICI_WEBHOOK_SIGNATURE_FAILURES_TOTAL: "kici_webhook_signature_failures_total",
|
|
@@ -138,8 +180,10 @@ const MetricNames = {
|
|
|
138
180
|
KICI_WS_HEARTBEAT_AGE_SECONDS: "kici_ws_heartbeat_age_seconds",
|
|
139
181
|
KICI_WS_MESSAGES_RECEIVED_TOTAL: "kici_ws_messages_received_total",
|
|
140
182
|
KICI_WS_MESSAGES_SENT_TOTAL: "kici_ws_messages_sent_total",
|
|
183
|
+
KICI_WS_NACK_RECEIVED_TOTAL: "kici_ws_nack_received_total",
|
|
141
184
|
KICI_WS_RELAY_ATTEMPTS_TOTAL: "kici_ws_relay_attempts_total",
|
|
142
185
|
KICI_WS_RELAY_DURATION_SECONDS: "kici_ws_relay_duration_seconds",
|
|
186
|
+
KICI_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "kici_ws_unsupported_message_sent_total",
|
|
143
187
|
NODEJS_EVENTLOOP_DELAY_MAX: "nodejs.eventloop.delay.max",
|
|
144
188
|
NODEJS_EVENTLOOP_DELAY_MEAN: "nodejs.eventloop.delay.mean",
|
|
145
189
|
NODEJS_EVENTLOOP_DELAY_MIN: "nodejs.eventloop.delay.min",
|
|
@@ -150,11 +194,11 @@ const MetricNames = {
|
|
|
150
194
|
NODEJS_EVENTLOOP_TIME: "nodejs.eventloop.time",
|
|
151
195
|
NODEJS_EVENTLOOP_UTILIZATION: "nodejs.eventloop.utilization",
|
|
152
196
|
V8JS_GC_DURATION: "v8js.gc.duration",
|
|
153
|
-
V8JS_MEMORY_HEAP_LIMIT: "v8js.memory.heap.limit",
|
|
154
197
|
V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "v8js.memory.heap.space.available_size",
|
|
155
198
|
V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "v8js.memory.heap.space.physical_size",
|
|
156
199
|
V8JS_MEMORY_HEAP_SPACE_SIZE: "v8js.memory.heap.space.size",
|
|
157
|
-
V8JS_MEMORY_HEAP_USED: "v8js.memory.heap.used"
|
|
200
|
+
V8JS_MEMORY_HEAP_USED: "v8js.memory.heap.used",
|
|
201
|
+
V8JS_RESOURCE_ACTIVE: "v8js.resource.active"
|
|
158
202
|
};
|
|
159
203
|
const MetricLabels = {
|
|
160
204
|
KICI_AGENT_CLONE_DURATION_SECONDS: ["scaler"],
|
|
@@ -167,12 +211,14 @@ const MetricLabels = {
|
|
|
167
211
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: ["scaler"],
|
|
168
212
|
KICI_AGENT_STEP_DURATION_SECONDS: ["scaler"],
|
|
169
213
|
KICI_AGENT_STEPS_TOTAL: ["status", "scaler"],
|
|
214
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: ["kind", "status"],
|
|
170
215
|
KICI_BUILD_JOBS_TOTAL: [],
|
|
171
216
|
KICI_CACHE_HITS_TOTAL: ["cache_type"],
|
|
172
217
|
KICI_CACHE_MISSES_TOTAL: ["cache_type"],
|
|
173
218
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: ["reason"],
|
|
174
219
|
KICI_CROSS_SOURCE_FANOUT_SIZE: ["event"],
|
|
175
220
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: ["outcome"],
|
|
221
|
+
KICI_DB_COLLATION_DRIFT: ["database"],
|
|
176
222
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: ["reason"],
|
|
177
223
|
KICI_MCP_DB_POOL_CONNECTIONS: ["state"],
|
|
178
224
|
KICI_MCP_RATE_LIMITED_TOTAL: ["kind"],
|
|
@@ -180,14 +226,17 @@ const MetricLabels = {
|
|
|
180
226
|
KICI_MCP_TOOL_REQUESTS_TOTAL: ["tool", "outcome"],
|
|
181
227
|
KICI_ORCH_AGENTS_ACTIVE: [],
|
|
182
228
|
KICI_ORCH_BUILD_DURATION_SECONDS: [],
|
|
229
|
+
KICI_ORCH_CHECK_RUN_TRACKING_ROWS_PRUNED_TOTAL: [],
|
|
183
230
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: ["result", "source"],
|
|
184
231
|
KICI_ORCH_CONFIG_VERSION: [],
|
|
232
|
+
KICI_ORCH_DB_COLLATION_DRIFT: ["database"],
|
|
185
233
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: [],
|
|
186
234
|
KICI_ORCH_DEDUP_HITS_TOTAL: [],
|
|
187
235
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: [],
|
|
188
236
|
KICI_ORCH_DEP_CACHE_MISSES_TOTAL: [],
|
|
189
237
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH: ["status"],
|
|
190
238
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: ["status", "label"],
|
|
239
|
+
KICI_ORCH_DISPATCH_QUEUE_ROWS_PRUNED_TOTAL: [],
|
|
191
240
|
KICI_ORCH_EVENT_ATTEMPTS: ["event_name", "result"],
|
|
192
241
|
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: ["event_name"],
|
|
193
242
|
KICI_ORCH_EVENT_DLQ_DEPTH: [],
|
|
@@ -197,6 +246,23 @@ const MetricLabels = {
|
|
|
197
246
|
KICI_ORCH_EXECUTION_DURATION_SECONDS: [],
|
|
198
247
|
KICI_ORCH_EXECUTIONS_TOTAL: ["status"],
|
|
199
248
|
KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: ["operation"],
|
|
249
|
+
KICI_ORCH_INGEST_ADMITTED_TOTAL: [],
|
|
250
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_MAX_MS: [],
|
|
251
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_P99_MS: [],
|
|
252
|
+
KICI_ORCH_INGEST_INFLIGHT: [],
|
|
253
|
+
KICI_ORCH_INGEST_LOOP_LAG_RESUME_MS: [],
|
|
254
|
+
KICI_ORCH_INGEST_LOOP_LAG_SHED_MS: [],
|
|
255
|
+
KICI_ORCH_INGEST_MAX_CONCURRENCY: [],
|
|
256
|
+
KICI_ORCH_INGEST_MAX_QUEUE_DEPTH: [],
|
|
257
|
+
KICI_ORCH_INGEST_ORG_MAX_CONCURRENCY: [],
|
|
258
|
+
KICI_ORCH_INGEST_OVERFLOW_BUFFERED: [],
|
|
259
|
+
KICI_ORCH_INGEST_OVERFLOW_CAPTURED_TOTAL: [],
|
|
260
|
+
KICI_ORCH_INGEST_OVERFLOW_DROPPED_TOTAL: [],
|
|
261
|
+
KICI_ORCH_INGEST_OVERFLOW_MAX: [],
|
|
262
|
+
KICI_ORCH_INGEST_OVERFLOW_REPLAYED_TOTAL: [],
|
|
263
|
+
KICI_ORCH_INGEST_QUEUE_DEPTH: [],
|
|
264
|
+
KICI_ORCH_INGEST_SHED_TOTAL: ["reason"],
|
|
265
|
+
KICI_ORCH_INGEST_SHEDDING_ACTIVE: [],
|
|
200
266
|
KICI_ORCH_INSTALL_SECRETS_CONTRIBUTOR_STRIPPED_TOTAL: ["trust_tier"],
|
|
201
267
|
KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: ["decision", "reason"],
|
|
202
268
|
KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: [
|
|
@@ -210,8 +276,8 @@ const MetricLabels = {
|
|
|
210
276
|
KICI_ORCH_JOB_LAST_FAILURE_TIMESTAMP_SECONDS: ["job"],
|
|
211
277
|
KICI_ORCH_JOB_LAST_SUCCESS_TIMESTAMP_SECONDS: ["job"],
|
|
212
278
|
KICI_ORCH_JOB_RUNS_TOTAL: ["job", "result"],
|
|
213
|
-
KICI_ORCH_LOG_BYTES_STORED_TOTAL: [],
|
|
214
|
-
KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: [],
|
|
279
|
+
KICI_ORCH_LOG_BYTES_STORED_TOTAL: ["source"],
|
|
280
|
+
KICI_ORCH_LOG_CHUNKS_RECEIVED_TOTAL: ["source"],
|
|
215
281
|
KICI_ORCH_PENDING_ATTESTATION_OLDEST_AGE_SECONDS: [],
|
|
216
282
|
KICI_ORCH_PENDING_ATTESTATIONS_CURRENT: [],
|
|
217
283
|
KICI_ORCH_PG_POOL_CLIENT_ERRORS_TOTAL: ["source"],
|
|
@@ -227,6 +293,7 @@ const MetricLabels = {
|
|
|
227
293
|
"scalerType",
|
|
228
294
|
"machinePool"
|
|
229
295
|
],
|
|
296
|
+
KICI_ORCH_SCALER_REDISPATCH_TOTAL: ["trigger"],
|
|
230
297
|
KICI_ORCH_SCALER_SPAWN_FAILURES_TOTAL: ["backend", "bound"],
|
|
231
298
|
KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: [],
|
|
232
299
|
KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: [],
|
|
@@ -234,11 +301,18 @@ const MetricLabels = {
|
|
|
234
301
|
KICI_ORCH_STALE_DETECTION_DURATION_SECONDS: [],
|
|
235
302
|
KICI_ORCH_STALE_RUNS_CURRENT: [],
|
|
236
303
|
KICI_ORCH_STALE_RUNS_DETECTED_TOTAL: [],
|
|
304
|
+
KICI_ORCH_STATE_REPLAY_BREAKER_TRIPS_TOTAL: [],
|
|
305
|
+
KICI_ORCH_STEP_LOGS_PRUNED_TOTAL: [],
|
|
237
306
|
KICI_ORCH_STEPS_TOTAL: ["status"],
|
|
238
307
|
KICI_ORCH_TRIGGER_MATCH_DURATION_SECONDS: [],
|
|
239
308
|
KICI_ORCH_TRUST_MATCH_REFUSED_NO_ID_TOTAL: ["reason"],
|
|
309
|
+
KICI_ORCH_TRUST_POLICY_DECISIONS_TOTAL: ["arm", "action"],
|
|
240
310
|
KICI_ORCH_WEBHOOKS_PROCESSED_TOTAL: ["result"],
|
|
241
311
|
KICI_ORCH_WEBHOOKS_RECEIVED_TOTAL: ["source", "event"],
|
|
312
|
+
KICI_ORCH_WS_NACK_RECEIVED_TOTAL: [],
|
|
313
|
+
KICI_ORCH_WS_PLATFORM_CAPABILITY_GAP_TOTAL: [],
|
|
314
|
+
KICI_ORCH_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: [],
|
|
315
|
+
KICI_ORCHESTRATOR_DRAINING: [],
|
|
242
316
|
KICI_ORG_AGENT_MINUTES: ["org_id", "status"],
|
|
243
317
|
KICI_ORG_CONNECTIONS: ["org_id"],
|
|
244
318
|
KICI_ORG_EXECUTIONS_COUNT: ["org_id", "status"],
|
|
@@ -248,14 +322,16 @@ const MetricLabels = {
|
|
|
248
322
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: ["org_id", "dimension"],
|
|
249
323
|
KICI_PLAN_USAGE_RATIO: ["org_id", "dimension"],
|
|
250
324
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: ["routingKey"],
|
|
251
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: ["clusterName", "connectionId"],
|
|
252
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: ["clusterName", "connectionId"],
|
|
253
325
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: [],
|
|
254
326
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: ["clusterName"],
|
|
255
327
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: ["reason"],
|
|
256
328
|
KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: ["outcome"],
|
|
257
329
|
KICI_PLATFORM_DASHBOARD_PROXY_PENDING: [],
|
|
258
330
|
KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: ["outcome"],
|
|
331
|
+
KICI_PLATFORM_DB_POOL_ACQUIRE_TIMEOUTS_TOTAL: [],
|
|
332
|
+
KICI_PLATFORM_DB_POOL_CONNECTIONS: ["state"],
|
|
333
|
+
KICI_PLATFORM_DB_POOL_SATURATED: [],
|
|
334
|
+
KICI_PLATFORM_DEGRADED_BUFFER_KEYS_GC_TOTAL: ["kind"],
|
|
259
335
|
KICI_PLATFORM_EXECUTION_EVENTS_TOTAL: ["event"],
|
|
260
336
|
KICI_PLATFORM_EXECUTION_STATUS_UPDATES_TOTAL: ["status"],
|
|
261
337
|
KICI_PLATFORM_IDENTITY_LINKS_MISSING_PROVIDER_USER_ID: [],
|
|
@@ -279,11 +355,19 @@ const MetricLabels = {
|
|
|
279
355
|
KICI_PLATFORM_RELAY_BREAKER_TRIPS_TOTAL: ["clusterName", "connectionId"],
|
|
280
356
|
KICI_PLATFORM_RELAY_REQUEST_DURATION_MS: ["kind"],
|
|
281
357
|
KICI_PLATFORM_RELAY_REQUEST_OUTCOME_TOTAL: ["outcome", "kind"],
|
|
358
|
+
KICI_PLATFORM_RUN_RECONCILE_DEFERRED_TOTAL: [],
|
|
359
|
+
KICI_PLATFORM_RUN_RECONCILE_RECONCILED_TOTAL: [],
|
|
360
|
+
KICI_PLATFORM_RUN_RECONCILE_SKIPPED_TOTAL: [],
|
|
282
361
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: [],
|
|
283
362
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: ["org_id"],
|
|
284
363
|
KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: [],
|
|
285
364
|
KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: ["state"],
|
|
365
|
+
KICI_PLATFORM_SUPPORT_SESSIONS_SWEPT_TOTAL: ["close_kind"],
|
|
286
366
|
KICI_PLATFORM_WS_ORG_RATE_LIMITED_TOTAL: ["org_id"],
|
|
367
|
+
KICI_PLATFORM_WS_SLOW_CONSUMER_TERMINATED_TOTAL: [],
|
|
368
|
+
KICI_RBAC_PERMS_CACHE_HITS_TOTAL: [],
|
|
369
|
+
KICI_RBAC_PERMS_CACHE_MISSES_TOTAL: [],
|
|
370
|
+
KICI_READ_RATE_LIMIT_REJECTED_TOTAL: ["scope"],
|
|
287
371
|
KICI_REGISTRATIONS_TOTAL: [],
|
|
288
372
|
KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: ["reason"],
|
|
289
373
|
KICI_USER_REGISTRATION_NOTIFY_TOTAL: ["result"],
|
|
@@ -294,9 +378,11 @@ const MetricLabels = {
|
|
|
294
378
|
KICI_WEBHOOK_BUFFER_BYTES: [],
|
|
295
379
|
KICI_WEBHOOK_BUFFER_DEPTH: [],
|
|
296
380
|
KICI_WEBHOOK_BUFFER_OLDEST_AGE_SECONDS: [],
|
|
381
|
+
KICI_WEBHOOK_NO_ORCH_TOTAL: ["outcome", "org_id"],
|
|
297
382
|
KICI_WEBHOOK_PG_BREAKER_STATE: [],
|
|
298
383
|
KICI_WEBHOOK_PG_BREAKER_TRANSITIONS_TOTAL: [],
|
|
299
384
|
KICI_WEBHOOK_PG_DEGRADED_TOTAL: ["outcome", "org_id"],
|
|
385
|
+
KICI_WEBHOOK_PG_PROBE_TOTAL: ["outcome"],
|
|
300
386
|
KICI_WEBHOOK_PROCESSING_SECONDS: ["event"],
|
|
301
387
|
KICI_WEBHOOK_REPLAY_DURATION_SECONDS: [],
|
|
302
388
|
KICI_WEBHOOK_SIGNATURE_FAILURES_TOTAL: ["source", "org_id"],
|
|
@@ -310,8 +396,10 @@ const MetricLabels = {
|
|
|
310
396
|
KICI_WS_HEARTBEAT_AGE_SECONDS: ["routing_key"],
|
|
311
397
|
KICI_WS_MESSAGES_RECEIVED_TOTAL: ["type"],
|
|
312
398
|
KICI_WS_MESSAGES_SENT_TOTAL: ["type"],
|
|
399
|
+
KICI_WS_NACK_RECEIVED_TOTAL: [],
|
|
313
400
|
KICI_WS_RELAY_ATTEMPTS_TOTAL: ["status"],
|
|
314
401
|
KICI_WS_RELAY_DURATION_SECONDS: ["status"],
|
|
402
|
+
KICI_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: [],
|
|
315
403
|
NODEJS_EVENTLOOP_DELAY_MAX: ["scaler"],
|
|
316
404
|
NODEJS_EVENTLOOP_DELAY_MEAN: ["scaler"],
|
|
317
405
|
NODEJS_EVENTLOOP_DELAY_MIN: ["scaler"],
|
|
@@ -322,11 +410,11 @@ const MetricLabels = {
|
|
|
322
410
|
NODEJS_EVENTLOOP_TIME: ["nodejs.eventloop.state", "scaler"],
|
|
323
411
|
NODEJS_EVENTLOOP_UTILIZATION: ["scaler"],
|
|
324
412
|
V8JS_GC_DURATION: ["v8js.gc.type", "scaler"],
|
|
325
|
-
V8JS_MEMORY_HEAP_LIMIT: ["v8js.heap.space.name", "scaler"],
|
|
326
413
|
V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: ["v8js.heap.space.name", "scaler"],
|
|
327
414
|
V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: ["v8js.heap.space.name", "scaler"],
|
|
328
415
|
V8JS_MEMORY_HEAP_SPACE_SIZE: ["v8js.heap.space.name", "scaler"],
|
|
329
|
-
V8JS_MEMORY_HEAP_USED: ["v8js.heap.space.name", "scaler"]
|
|
416
|
+
V8JS_MEMORY_HEAP_USED: ["v8js.heap.space.name", "scaler"],
|
|
417
|
+
V8JS_RESOURCE_ACTIVE: ["v8js.resource.type", "scaler"]
|
|
330
418
|
};
|
|
331
419
|
const MetricKind = {
|
|
332
420
|
KICI_AGENT_CLONE_DURATION_SECONDS: "histogram",
|
|
@@ -339,12 +427,14 @@ const MetricKind = {
|
|
|
339
427
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "counter",
|
|
340
428
|
KICI_AGENT_STEP_DURATION_SECONDS: "histogram",
|
|
341
429
|
KICI_AGENT_STEPS_TOTAL: "counter",
|
|
430
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "counter",
|
|
342
431
|
KICI_BUILD_JOBS_TOTAL: "counter",
|
|
343
432
|
KICI_CACHE_HITS_TOTAL: "counter",
|
|
344
433
|
KICI_CACHE_MISSES_TOTAL: "counter",
|
|
345
434
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "counter",
|
|
346
435
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "histogram",
|
|
347
436
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "histogram",
|
|
437
|
+
KICI_DB_COLLATION_DRIFT: "observableGauge",
|
|
348
438
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "counter",
|
|
349
439
|
KICI_MCP_DB_POOL_CONNECTIONS: "observableGauge",
|
|
350
440
|
KICI_MCP_RATE_LIMITED_TOTAL: "counter",
|
|
@@ -352,14 +442,17 @@ const MetricKind = {
|
|
|
352
442
|
KICI_MCP_TOOL_REQUESTS_TOTAL: "counter",
|
|
353
443
|
KICI_ORCH_AGENTS_ACTIVE: "observableGauge",
|
|
354
444
|
KICI_ORCH_BUILD_DURATION_SECONDS: "histogram",
|
|
445
|
+
KICI_ORCH_CHECK_RUN_TRACKING_ROWS_PRUNED_TOTAL: "counter",
|
|
355
446
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "counter",
|
|
356
447
|
KICI_ORCH_CONFIG_VERSION: "observableGauge",
|
|
448
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "observableGauge",
|
|
357
449
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "observableGauge",
|
|
358
450
|
KICI_ORCH_DEDUP_HITS_TOTAL: "counter",
|
|
359
451
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "counter",
|
|
360
452
|
KICI_ORCH_DEP_CACHE_MISSES_TOTAL: "counter",
|
|
361
453
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH: "observableGauge",
|
|
362
454
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: "observableGauge",
|
|
455
|
+
KICI_ORCH_DISPATCH_QUEUE_ROWS_PRUNED_TOTAL: "counter",
|
|
363
456
|
KICI_ORCH_EVENT_ATTEMPTS: "histogram",
|
|
364
457
|
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: "counter",
|
|
365
458
|
KICI_ORCH_EVENT_DLQ_DEPTH: "observableGauge",
|
|
@@ -369,6 +462,23 @@ const MetricKind = {
|
|
|
369
462
|
KICI_ORCH_EXECUTION_DURATION_SECONDS: "histogram",
|
|
370
463
|
KICI_ORCH_EXECUTIONS_TOTAL: "counter",
|
|
371
464
|
KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: "counter",
|
|
465
|
+
KICI_ORCH_INGEST_ADMITTED_TOTAL: "counter",
|
|
466
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_MAX_MS: "observableGauge",
|
|
467
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_P99_MS: "observableGauge",
|
|
468
|
+
KICI_ORCH_INGEST_INFLIGHT: "observableGauge",
|
|
469
|
+
KICI_ORCH_INGEST_LOOP_LAG_RESUME_MS: "observableGauge",
|
|
470
|
+
KICI_ORCH_INGEST_LOOP_LAG_SHED_MS: "observableGauge",
|
|
471
|
+
KICI_ORCH_INGEST_MAX_CONCURRENCY: "observableGauge",
|
|
472
|
+
KICI_ORCH_INGEST_MAX_QUEUE_DEPTH: "observableGauge",
|
|
473
|
+
KICI_ORCH_INGEST_ORG_MAX_CONCURRENCY: "observableGauge",
|
|
474
|
+
KICI_ORCH_INGEST_OVERFLOW_BUFFERED: "observableGauge",
|
|
475
|
+
KICI_ORCH_INGEST_OVERFLOW_CAPTURED_TOTAL: "counter",
|
|
476
|
+
KICI_ORCH_INGEST_OVERFLOW_DROPPED_TOTAL: "counter",
|
|
477
|
+
KICI_ORCH_INGEST_OVERFLOW_MAX: "observableGauge",
|
|
478
|
+
KICI_ORCH_INGEST_OVERFLOW_REPLAYED_TOTAL: "counter",
|
|
479
|
+
KICI_ORCH_INGEST_QUEUE_DEPTH: "observableGauge",
|
|
480
|
+
KICI_ORCH_INGEST_SHED_TOTAL: "counter",
|
|
481
|
+
KICI_ORCH_INGEST_SHEDDING_ACTIVE: "observableGauge",
|
|
372
482
|
KICI_ORCH_INSTALL_SECRETS_CONTRIBUTOR_STRIPPED_TOTAL: "counter",
|
|
373
483
|
KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "counter",
|
|
374
484
|
KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "counter",
|
|
@@ -387,6 +497,7 @@ const MetricKind = {
|
|
|
387
497
|
KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "counter",
|
|
388
498
|
KICI_ORCH_SCALER_CPUS_USED: "observableGauge",
|
|
389
499
|
KICI_ORCH_SCALER_MEMORY_BYTES_USED: "observableGauge",
|
|
500
|
+
KICI_ORCH_SCALER_REDISPATCH_TOTAL: "counter",
|
|
390
501
|
KICI_ORCH_SCALER_SPAWN_FAILURES_TOTAL: "counter",
|
|
391
502
|
KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: "observableGauge",
|
|
392
503
|
KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: "counter",
|
|
@@ -394,11 +505,18 @@ const MetricKind = {
|
|
|
394
505
|
KICI_ORCH_STALE_DETECTION_DURATION_SECONDS: "histogram",
|
|
395
506
|
KICI_ORCH_STALE_RUNS_CURRENT: "observableGauge",
|
|
396
507
|
KICI_ORCH_STALE_RUNS_DETECTED_TOTAL: "counter",
|
|
508
|
+
KICI_ORCH_STATE_REPLAY_BREAKER_TRIPS_TOTAL: "counter",
|
|
509
|
+
KICI_ORCH_STEP_LOGS_PRUNED_TOTAL: "counter",
|
|
397
510
|
KICI_ORCH_STEPS_TOTAL: "counter",
|
|
398
511
|
KICI_ORCH_TRIGGER_MATCH_DURATION_SECONDS: "histogram",
|
|
399
512
|
KICI_ORCH_TRUST_MATCH_REFUSED_NO_ID_TOTAL: "counter",
|
|
513
|
+
KICI_ORCH_TRUST_POLICY_DECISIONS_TOTAL: "counter",
|
|
400
514
|
KICI_ORCH_WEBHOOKS_PROCESSED_TOTAL: "counter",
|
|
401
515
|
KICI_ORCH_WEBHOOKS_RECEIVED_TOTAL: "counter",
|
|
516
|
+
KICI_ORCH_WS_NACK_RECEIVED_TOTAL: "counter",
|
|
517
|
+
KICI_ORCH_WS_PLATFORM_CAPABILITY_GAP_TOTAL: "counter",
|
|
518
|
+
KICI_ORCH_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "counter",
|
|
519
|
+
KICI_ORCHESTRATOR_DRAINING: "observableGauge",
|
|
402
520
|
KICI_ORG_AGENT_MINUTES: "observableGauge",
|
|
403
521
|
KICI_ORG_CONNECTIONS: "observableGauge",
|
|
404
522
|
KICI_ORG_EXECUTIONS_COUNT: "observableGauge",
|
|
@@ -408,14 +526,16 @@ const MetricKind = {
|
|
|
408
526
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "counter",
|
|
409
527
|
KICI_PLAN_USAGE_RATIO: "observableGauge",
|
|
410
528
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "observableGauge",
|
|
411
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "histogram",
|
|
412
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "counter",
|
|
413
529
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "observableGauge",
|
|
414
530
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "counter",
|
|
415
531
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "counter",
|
|
416
532
|
KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: "histogram",
|
|
417
533
|
KICI_PLATFORM_DASHBOARD_PROXY_PENDING: "observableGauge",
|
|
418
534
|
KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: "counter",
|
|
535
|
+
KICI_PLATFORM_DB_POOL_ACQUIRE_TIMEOUTS_TOTAL: "counter",
|
|
536
|
+
KICI_PLATFORM_DB_POOL_CONNECTIONS: "observableGauge",
|
|
537
|
+
KICI_PLATFORM_DB_POOL_SATURATED: "observableGauge",
|
|
538
|
+
KICI_PLATFORM_DEGRADED_BUFFER_KEYS_GC_TOTAL: "counter",
|
|
419
539
|
KICI_PLATFORM_EXECUTION_EVENTS_TOTAL: "counter",
|
|
420
540
|
KICI_PLATFORM_EXECUTION_STATUS_UPDATES_TOTAL: "counter",
|
|
421
541
|
KICI_PLATFORM_IDENTITY_LINKS_MISSING_PROVIDER_USER_ID: "observableGauge",
|
|
@@ -439,11 +559,19 @@ const MetricKind = {
|
|
|
439
559
|
KICI_PLATFORM_RELAY_BREAKER_TRIPS_TOTAL: "counter",
|
|
440
560
|
KICI_PLATFORM_RELAY_REQUEST_DURATION_MS: "histogram",
|
|
441
561
|
KICI_PLATFORM_RELAY_REQUEST_OUTCOME_TOTAL: "counter",
|
|
562
|
+
KICI_PLATFORM_RUN_RECONCILE_DEFERRED_TOTAL: "counter",
|
|
563
|
+
KICI_PLATFORM_RUN_RECONCILE_RECONCILED_TOTAL: "counter",
|
|
564
|
+
KICI_PLATFORM_RUN_RECONCILE_SKIPPED_TOTAL: "counter",
|
|
442
565
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "counter",
|
|
443
566
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "counter",
|
|
444
567
|
KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "counter",
|
|
445
568
|
KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "counter",
|
|
569
|
+
KICI_PLATFORM_SUPPORT_SESSIONS_SWEPT_TOTAL: "counter",
|
|
446
570
|
KICI_PLATFORM_WS_ORG_RATE_LIMITED_TOTAL: "counter",
|
|
571
|
+
KICI_PLATFORM_WS_SLOW_CONSUMER_TERMINATED_TOTAL: "counter",
|
|
572
|
+
KICI_RBAC_PERMS_CACHE_HITS_TOTAL: "counter",
|
|
573
|
+
KICI_RBAC_PERMS_CACHE_MISSES_TOTAL: "counter",
|
|
574
|
+
KICI_READ_RATE_LIMIT_REJECTED_TOTAL: "counter",
|
|
447
575
|
KICI_REGISTRATIONS_TOTAL: "counter",
|
|
448
576
|
KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "counter",
|
|
449
577
|
KICI_USER_REGISTRATION_NOTIFY_TOTAL: "counter",
|
|
@@ -454,9 +582,11 @@ const MetricKind = {
|
|
|
454
582
|
KICI_WEBHOOK_BUFFER_BYTES: "observableGauge",
|
|
455
583
|
KICI_WEBHOOK_BUFFER_DEPTH: "observableGauge",
|
|
456
584
|
KICI_WEBHOOK_BUFFER_OLDEST_AGE_SECONDS: "observableGauge",
|
|
585
|
+
KICI_WEBHOOK_NO_ORCH_TOTAL: "counter",
|
|
457
586
|
KICI_WEBHOOK_PG_BREAKER_STATE: "observableGauge",
|
|
458
587
|
KICI_WEBHOOK_PG_BREAKER_TRANSITIONS_TOTAL: "counter",
|
|
459
588
|
KICI_WEBHOOK_PG_DEGRADED_TOTAL: "counter",
|
|
589
|
+
KICI_WEBHOOK_PG_PROBE_TOTAL: "counter",
|
|
460
590
|
KICI_WEBHOOK_PROCESSING_SECONDS: "histogram",
|
|
461
591
|
KICI_WEBHOOK_REPLAY_DURATION_SECONDS: "histogram",
|
|
462
592
|
KICI_WEBHOOK_SIGNATURE_FAILURES_TOTAL: "counter",
|
|
@@ -466,8 +596,10 @@ const MetricKind = {
|
|
|
466
596
|
KICI_WS_HEARTBEAT_AGE_SECONDS: "observableGauge",
|
|
467
597
|
KICI_WS_MESSAGES_RECEIVED_TOTAL: "counter",
|
|
468
598
|
KICI_WS_MESSAGES_SENT_TOTAL: "counter",
|
|
599
|
+
KICI_WS_NACK_RECEIVED_TOTAL: "counter",
|
|
469
600
|
KICI_WS_RELAY_ATTEMPTS_TOTAL: "counter",
|
|
470
601
|
KICI_WS_RELAY_DURATION_SECONDS: "histogram",
|
|
602
|
+
KICI_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "counter",
|
|
471
603
|
NODEJS_EVENTLOOP_DELAY_MAX: "gauge",
|
|
472
604
|
NODEJS_EVENTLOOP_DELAY_MEAN: "gauge",
|
|
473
605
|
NODEJS_EVENTLOOP_DELAY_MIN: "gauge",
|
|
@@ -478,11 +610,11 @@ const MetricKind = {
|
|
|
478
610
|
NODEJS_EVENTLOOP_TIME: "counter",
|
|
479
611
|
NODEJS_EVENTLOOP_UTILIZATION: "gauge",
|
|
480
612
|
V8JS_GC_DURATION: "histogram",
|
|
481
|
-
V8JS_MEMORY_HEAP_LIMIT: "gauge",
|
|
482
613
|
V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "gauge",
|
|
483
614
|
V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "gauge",
|
|
484
|
-
V8JS_MEMORY_HEAP_SPACE_SIZE: "
|
|
485
|
-
V8JS_MEMORY_HEAP_USED: "gauge"
|
|
615
|
+
V8JS_MEMORY_HEAP_SPACE_SIZE: "upDownCounter",
|
|
616
|
+
V8JS_MEMORY_HEAP_USED: "gauge",
|
|
617
|
+
V8JS_RESOURCE_ACTIVE: "gauge"
|
|
486
618
|
};
|
|
487
619
|
const MetricDescription = {
|
|
488
620
|
KICI_AGENT_CLONE_DURATION_SECONDS: "Git clone duration in seconds",
|
|
@@ -495,12 +627,14 @@ const MetricDescription = {
|
|
|
495
627
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "Total log lines dropped due to backpressure",
|
|
496
628
|
KICI_AGENT_STEP_DURATION_SECONDS: "Step execution duration in seconds",
|
|
497
629
|
KICI_AGENT_STEPS_TOTAL: "Total number of completed steps",
|
|
630
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "Billing emails sent, by kind and status",
|
|
498
631
|
KICI_BUILD_JOBS_TOTAL: "Total build jobs dispatched",
|
|
499
632
|
KICI_CACHE_HITS_TOTAL: "Total cache hits by type",
|
|
500
633
|
KICI_CACHE_MISSES_TOTAL: "Total cache misses by type",
|
|
501
634
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "Errors encountered during cross-source webhook dispatch",
|
|
502
635
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "Number of webhook-trigger registrations matched when an inbound generic webhook fans out across sources in the same org",
|
|
503
636
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "Round-trip latency of a cross-instance dashboard relay request",
|
|
637
|
+
KICI_DB_COLLATION_DRIFT: "1 when the database stamped collation version differs from the running libc (text indexes may silently miss present rows); 0 when consistent.",
|
|
504
638
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "Developer-MCP requests rejected by the agent-credential gate",
|
|
505
639
|
KICI_MCP_DB_POOL_CONNECTIONS: "MCP-dedicated Postgres pool connection counts",
|
|
506
640
|
KICI_MCP_RATE_LIMITED_TOTAL: "Developer-MCP requests rejected by the per-credential rate limiter",
|
|
@@ -508,14 +642,17 @@ const MetricDescription = {
|
|
|
508
642
|
KICI_MCP_TOOL_REQUESTS_TOTAL: "Total developer-MCP tool invocations by tool and outcome",
|
|
509
643
|
KICI_ORCH_AGENTS_ACTIVE: "Current number of active agents connected",
|
|
510
644
|
KICI_ORCH_BUILD_DURATION_SECONDS: "Duration of build agent operations in seconds",
|
|
645
|
+
KICI_ORCH_CHECK_RUN_TRACKING_ROWS_PRUNED_TOTAL: "check_run_tracking rows deleted by the retention sweep",
|
|
511
646
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "Total number of config reload operations",
|
|
512
647
|
KICI_ORCH_CONFIG_VERSION: "Current shared config version number",
|
|
648
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "1 when the orchestrator DB stamped collation version differs from the running libc (text indexes may silently miss present rows); 0 when consistent.",
|
|
513
649
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "Number of declared (static) roster hosts currently unreachable",
|
|
514
650
|
KICI_ORCH_DEDUP_HITS_TOTAL: "Total number of deduplication cache hits",
|
|
515
651
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "Total number of dep cache hits",
|
|
516
652
|
KICI_ORCH_DEP_CACHE_MISSES_TOTAL: "Total number of dep cache misses",
|
|
517
653
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH: "Current dispatch_queue depth per status (pending, dispatched)",
|
|
518
654
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: "Current pending dispatch_queue depth per runs_on label (multi-label jobs fan out)",
|
|
655
|
+
KICI_ORCH_DISPATCH_QUEUE_ROWS_PRUNED_TOTAL: "Terminal dispatch_queue rows deleted by the retention sweep",
|
|
519
656
|
KICI_ORCH_EVENT_ATTEMPTS: "Distribution of dispatch attempts at terminal outcome (success or DLQ)",
|
|
520
657
|
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: "Internal events delivered to all matching workflows successfully (after the lease commits processed=true)",
|
|
521
658
|
KICI_ORCH_EVENT_DLQ_DEPTH: "Current count of events sitting in the DLQ awaiting operator triage",
|
|
@@ -525,6 +662,23 @@ const MetricDescription = {
|
|
|
525
662
|
KICI_ORCH_EXECUTION_DURATION_SECONDS: "Duration of execution runs in seconds",
|
|
526
663
|
KICI_ORCH_EXECUTIONS_TOTAL: "Total number of execution runs",
|
|
527
664
|
KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: "Total number of GitHub check run API calls",
|
|
665
|
+
KICI_ORCH_INGEST_ADMITTED_TOTAL: "Total webhook ingest admissions granted by the admission controller",
|
|
666
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_MAX_MS: "Event-loop delay max (ms) observed by the ingest admission sampler",
|
|
667
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_P99_MS: "Event-loop delay p99 (ms) observed by the ingest admission sampler",
|
|
668
|
+
KICI_ORCH_INGEST_INFLIGHT: "Current in-flight webhook ingest pipelines",
|
|
669
|
+
KICI_ORCH_INGEST_LOOP_LAG_RESUME_MS: "Configured loop-lag hysteresis resume threshold L_resume (KICI_INGEST_LOOP_LAG_RESUME_MS)",
|
|
670
|
+
KICI_ORCH_INGEST_LOOP_LAG_SHED_MS: "Configured loop-lag shed threshold L_shed (KICI_INGEST_LOOP_LAG_SHED_MS)",
|
|
671
|
+
KICI_ORCH_INGEST_MAX_CONCURRENCY: "Configured global in-flight concurrency cap G (KICI_INGEST_MAX_CONCURRENCY)",
|
|
672
|
+
KICI_ORCH_INGEST_MAX_QUEUE_DEPTH: "Configured CoDel queue depth cap Q (KICI_INGEST_MAX_QUEUE_DEPTH)",
|
|
673
|
+
KICI_ORCH_INGEST_ORG_MAX_CONCURRENCY: "Configured per-org fairness cap cluster default P (KICI_INGEST_ORG_MAX_CONCURRENCY)",
|
|
674
|
+
KICI_ORCH_INGEST_OVERFLOW_BUFFERED: "Current webhook-ingest overflow buffer depth (buffered rows awaiting replay)",
|
|
675
|
+
KICI_ORCH_INGEST_OVERFLOW_CAPTURED_TOTAL: "Total shed webhook-ingest deliveries captured into the durable overflow buffer",
|
|
676
|
+
KICI_ORCH_INGEST_OVERFLOW_DROPPED_TOTAL: "Total overflow-buffered deliveries permanently dropped. Labels: reason (cap_full|max_attempts)",
|
|
677
|
+
KICI_ORCH_INGEST_OVERFLOW_MAX: "Configured overflow buffer row cap (KICI_INGEST_OVERFLOW_MAX)",
|
|
678
|
+
KICI_ORCH_INGEST_OVERFLOW_REPLAYED_TOTAL: "Total overflow-buffered deliveries successfully replayed through normal ingest",
|
|
679
|
+
KICI_ORCH_INGEST_QUEUE_DEPTH: "Current webhook ingest admission queue depth (HTTP direct ingress)",
|
|
680
|
+
KICI_ORCH_INGEST_SHED_TOTAL: "Webhook ingest admissions shed by the admission controller. Labels: reason (loop_overload|codel_drop|queue_full|max_sojourn)",
|
|
681
|
+
KICI_ORCH_INGEST_SHEDDING_ACTIVE: "Delay circuit breaker engaged (1) — loop-lag gate open or CoDel dropping",
|
|
528
682
|
KICI_ORCH_INSTALL_SECRETS_CONTRIBUTOR_STRIPPED_TOTAL: "Dispatches where registry tokens were stripped because the contributor tier was not `trusted`",
|
|
529
683
|
KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "Total install-secrets resolution decisions (pass / reject / hold + reason)",
|
|
530
684
|
KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "Total registry / installEnv entries successfully resolved per channel / provider / scope",
|
|
@@ -543,6 +697,7 @@ const MetricDescription = {
|
|
|
543
697
|
KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "Total number of scaler config reload operations",
|
|
544
698
|
KICI_ORCH_SCALER_CPUS_USED: "Current CPU reservations summed by scaler / pool. scaler=\"__global__\" is the orchestrator-wide total; machinePool=\"<name>\" rows reflect the on-disk ledger.",
|
|
545
699
|
KICI_ORCH_SCALER_MEMORY_BYTES_USED: "Current memory reservations (bytes) summed by scaler / pool. scaler=\"__global__\" is the orchestrator-wide total; machinePool=\"<name>\" rows reflect the on-disk ledger.",
|
|
700
|
+
KICI_ORCH_SCALER_REDISPATCH_TOTAL: "Cumulative count of pending jobs re-offered to the scaler after capacity freed, labeled by trigger (hook | sweep).",
|
|
546
701
|
KICI_ORCH_SCALER_SPAWN_FAILURES_TOTAL: "Total scaler agent spawn failures (job-bound and warm-pool)",
|
|
547
702
|
KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: "Cumulative count of scaler spawn requests refused due to resource caps (maxAgents, resourceCap, globalResourceCap, machinePool).",
|
|
548
703
|
KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: "Total number of source tarball cache hits",
|
|
@@ -550,28 +705,37 @@ const MetricDescription = {
|
|
|
550
705
|
KICI_ORCH_STALE_DETECTION_DURATION_SECONDS: "Time between job becoming stale and detection (seconds)",
|
|
551
706
|
KICI_ORCH_STALE_RUNS_CURRENT: "Current number of stale runs detected in last scan",
|
|
552
707
|
KICI_ORCH_STALE_RUNS_DETECTED_TOTAL: "Total number of stale runs detected and marked as failed",
|
|
708
|
+
KICI_ORCH_STATE_REPLAY_BREAKER_TRIPS_TOTAL: "Times the state.replay circuit breaker opened after consecutive replay-attributed disconnects, causing the orchestrator to connect without a replay (Platform run mirror knowingly stale)",
|
|
709
|
+
KICI_ORCH_STEP_LOGS_PRUNED_TOTAL: "Step-log objects deleted by the retention sweep",
|
|
553
710
|
KICI_ORCH_STEPS_TOTAL: "Total number of steps executed",
|
|
554
711
|
KICI_ORCH_TRIGGER_MATCH_DURATION_SECONDS: "Duration of trigger matching operations in seconds",
|
|
555
712
|
KICI_ORCH_TRUST_MATCH_REFUSED_NO_ID_TOTAL: "Trust-resolution attempts refused because the provider numeric id was missing or did not match",
|
|
713
|
+
KICI_ORCH_TRUST_POLICY_DECISIONS_TOTAL: "Total org trust-policy gate decisions by arm and action",
|
|
556
714
|
KICI_ORCH_WEBHOOKS_PROCESSED_TOTAL: "Total number of webhooks processed",
|
|
557
715
|
KICI_ORCH_WEBHOOKS_RECEIVED_TOTAL: "Total number of webhooks received",
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
716
|
+
KICI_ORCH_WS_NACK_RECEIVED_TOTAL: "NACKs received from the Platform for a message it could not process (version skew)",
|
|
717
|
+
KICI_ORCH_WS_PLATFORM_CAPABILITY_GAP_TOTAL: "Feature-gated sends suppressed because the Platform does not advertise the capability",
|
|
718
|
+
KICI_ORCH_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "NACKs sent to the Platform for an unrecognized inbound message type (version skew)",
|
|
719
|
+
KICI_ORCHESTRATOR_DRAINING: "Whether this coordinator is draining (1) or accepting new jobs (0)",
|
|
720
|
+
KICI_ORG_AGENT_MINUTES: "Per-org total agent runtime in minutes, by terminal status over a rolling window (DB-derived, top-N active orgs, leader-only, operator-side capacity-planning aggregate)",
|
|
721
|
+
KICI_ORG_CONNECTIONS: "Active orchestrator connections per org (top-N active orgs, leader-only)",
|
|
722
|
+
KICI_ORG_EXECUTIONS_COUNT: "Per-org count of execution_runs in each terminal status over a rolling window (DB-derived, top-N active orgs, leader-only, operator-side capacity-planning aggregate)",
|
|
723
|
+
KICI_ORG_LOG_BYTES: "Per-org total raw log bytes streamed by agents, by terminal status over a rolling window (DB-derived, top-N active orgs, leader-only, operator-side capacity-planning aggregate)",
|
|
562
724
|
KICI_ORG_STATUS_EVENTS_TOTAL: "Total execution.status WS messages received per org/status (observability)",
|
|
563
|
-
KICI_ORGS_TOTAL: "Total organizations by plan type",
|
|
725
|
+
KICI_ORGS_TOTAL: "Total organizations by plan type (leader-only)",
|
|
564
726
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "Total times an org hit a plan cap (per dimension)",
|
|
565
727
|
KICI_PLAN_USAGE_RATIO: "Per-org per-dimension usage ratio (current / cap)",
|
|
566
728
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "Coordinator pool size per routing key",
|
|
567
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "Active coordinator liveness-probe round-trip latency in ms",
|
|
568
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "Active coordinator liveness-probe timeouts",
|
|
569
729
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "Stale (non-OPEN socket) coordinator entries in the pool per routing key",
|
|
570
730
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "Zombie (non-OPEN) coordinator entries encountered during relay selection",
|
|
571
731
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "Total cross-tenant WS messages rejected by the Platform (security invariant). Labels: reason.",
|
|
572
732
|
KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: "Dashboard proxy request round-trip duration in seconds",
|
|
573
733
|
KICI_PLATFORM_DASHBOARD_PROXY_PENDING: "In-flight dashboard proxy requests (Platform → orchestrator)",
|
|
574
734
|
KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: "Total dashboard proxy requests by terminal outcome",
|
|
735
|
+
KICI_PLATFORM_DB_POOL_ACQUIRE_TIMEOUTS_TOTAL: "Main-pool acquires refused because the Postgres pool acquire timed out",
|
|
736
|
+
KICI_PLATFORM_DB_POOL_CONNECTIONS: "Main Platform Postgres pool connection counts",
|
|
737
|
+
KICI_PLATFORM_DB_POOL_SATURATED: "Whether this instance is shedding webhook ingress on Postgres pool saturation (1=saturated)",
|
|
738
|
+
KICI_PLATFORM_DEGRADED_BUFFER_KEYS_GC_TOTAL: "Degraded webhook-buffer Valkey keys garbage-collected",
|
|
575
739
|
KICI_PLATFORM_EXECUTION_EVENTS_TOTAL: "Total execution events received from orchestrators",
|
|
576
740
|
KICI_PLATFORM_EXECUTION_STATUS_UPDATES_TOTAL: "Total execution status updates received",
|
|
577
741
|
KICI_PLATFORM_IDENTITY_LINKS_MISSING_PROVIDER_USER_ID: "identity_links rows where provider_user_id is still NULL after reconcile",
|
|
@@ -595,11 +759,19 @@ const MetricDescription = {
|
|
|
595
759
|
KICI_PLATFORM_RELAY_BREAKER_TRIPS_TOTAL: "Relay circuit-breaker open transitions per coordinator",
|
|
596
760
|
KICI_PLATFORM_RELAY_REQUEST_DURATION_MS: "End-to-end dashboard-proxy relay latency incl. failover, in ms",
|
|
597
761
|
KICI_PLATFORM_RELAY_REQUEST_OUTCOME_TOTAL: "Dashboard-proxy relay request outcomes (incl. sibling failover)",
|
|
762
|
+
KICI_PLATFORM_RUN_RECONCILE_DEFERRED_TOTAL: "Total run-mirror reconcile rows placed into backoff cooldown this cycle (unchanged status, or unreachable/null — deferred so they neither starve the batch nor are re-pulled every tick)",
|
|
763
|
+
KICI_PLATFORM_RUN_RECONCILE_RECONCILED_TOTAL: "Total stuck non-terminal run mirrors whose status actually changed when pulled from an alive orchestrator (recovered drops), not merely re-polled",
|
|
764
|
+
KICI_PLATFORM_RUN_RECONCILE_SKIPPED_TOTAL: "Total run-mirror reconcile attempts skipped (orchestrator unreachable or no run state returned)",
|
|
598
765
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "Total orchestrators detected as permanently disconnected",
|
|
599
766
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "platform_connections rows evicted by source.register DB dedup (same-instance reconnect path)",
|
|
600
767
|
KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "Total execution runs failed due to orchestrator staleness",
|
|
601
768
|
KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "Total step status forwards received",
|
|
769
|
+
KICI_PLATFORM_SUPPORT_SESSIONS_SWEPT_TOTAL: "Total support-session activations closed by the janitor sweep",
|
|
602
770
|
KICI_PLATFORM_WS_ORG_RATE_LIMITED_TOTAL: "Inbound orchestrator messages dropped by the per-org aggregate WS rate limit",
|
|
771
|
+
KICI_PLATFORM_WS_SLOW_CONSUMER_TERMINATED_TOTAL: "Total browser WS connections terminated for exceeding the send-buffer watermark",
|
|
772
|
+
KICI_RBAC_PERMS_CACHE_HITS_TOTAL: "Effective-permissions cache hits",
|
|
773
|
+
KICI_RBAC_PERMS_CACHE_MISSES_TOTAL: "Effective-permissions cache misses (recomputed from Postgres)",
|
|
774
|
+
KICI_READ_RATE_LIMIT_REJECTED_TOTAL: "Read-route requests rejected by the protective token bucket, by scope",
|
|
603
775
|
KICI_REGISTRATIONS_TOTAL: "Total user registrations (new personal orgs created on first login)",
|
|
604
776
|
KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "Errors encountered while registering universal-git provider bundles",
|
|
605
777
|
KICI_USER_REGISTRATION_NOTIFY_TOTAL: "New-user Telegram notifications by result (sent|failed)",
|
|
@@ -610,9 +782,11 @@ const MetricDescription = {
|
|
|
610
782
|
KICI_WEBHOOK_BUFFER_BYTES: "Total buffered webhook bytes (global Valkey counter)",
|
|
611
783
|
KICI_WEBHOOK_BUFFER_DEPTH: "Buffered webhook count per org",
|
|
612
784
|
KICI_WEBHOOK_BUFFER_OLDEST_AGE_SECONDS: "Age of the oldest buffered webhook per org, in seconds",
|
|
785
|
+
KICI_WEBHOOK_NO_ORCH_TOTAL: "Webhooks handled by the no-orchestrator buffer, by outcome",
|
|
613
786
|
KICI_WEBHOOK_PG_BREAKER_STATE: "PG circuit-breaker state on this instance (0=closed,1=degraded,2=open)",
|
|
614
787
|
KICI_WEBHOOK_PG_BREAKER_TRANSITIONS_TOTAL: "PG circuit-breaker state transitions",
|
|
615
788
|
KICI_WEBHOOK_PG_DEGRADED_TOTAL: "Webhooks handled in PG-degraded mode, by outcome",
|
|
789
|
+
KICI_WEBHOOK_PG_PROBE_TOTAL: "PG-reachability probe outcomes, by outcome",
|
|
616
790
|
KICI_WEBHOOK_PROCESSING_SECONDS: "Webhook processing duration in seconds",
|
|
617
791
|
KICI_WEBHOOK_REPLAY_DURATION_SECONDS: "Buffered-webhook replay latency (enqueue → delivered) in seconds",
|
|
618
792
|
KICI_WEBHOOK_SIGNATURE_FAILURES_TOTAL: "Total number of webhooks rejected at orchestrator signature verification",
|
|
@@ -622,8 +796,10 @@ const MetricDescription = {
|
|
|
622
796
|
KICI_WS_HEARTBEAT_AGE_SECONDS: "Seconds since last heartbeat per routing key",
|
|
623
797
|
KICI_WS_MESSAGES_RECEIVED_TOTAL: "Total messages received from orchestrators",
|
|
624
798
|
KICI_WS_MESSAGES_SENT_TOTAL: "Total messages sent to orchestrators",
|
|
799
|
+
KICI_WS_NACK_RECEIVED_TOTAL: "NACKs received from an orchestrator for a message it could not process (version skew)",
|
|
625
800
|
KICI_WS_RELAY_ATTEMPTS_TOTAL: "Total number of webhook relay attempts",
|
|
626
801
|
KICI_WS_RELAY_DURATION_SECONDS: "Duration of webhook relay operations in seconds",
|
|
802
|
+
KICI_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "NACKs sent to an orchestrator for an unrecognized inbound message type (version skew)",
|
|
627
803
|
NODEJS_EVENTLOOP_DELAY_MAX: "Event loop maximum delay",
|
|
628
804
|
NODEJS_EVENTLOOP_DELAY_MEAN: "Event loop mean delay",
|
|
629
805
|
NODEJS_EVENTLOOP_DELAY_MIN: "Event loop minimum delay",
|
|
@@ -634,11 +810,11 @@ const MetricDescription = {
|
|
|
634
810
|
NODEJS_EVENTLOOP_TIME: "Cumulative event loop time by state",
|
|
635
811
|
NODEJS_EVENTLOOP_UTILIZATION: "Event loop utilization ratio",
|
|
636
812
|
V8JS_GC_DURATION: "Garbage-collection pause duration by GC type",
|
|
637
|
-
V8JS_MEMORY_HEAP_LIMIT: "V8 heap size limit by heap space",
|
|
638
813
|
V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "V8 available heap size by heap space",
|
|
639
814
|
V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "V8 physical heap size by heap space",
|
|
640
815
|
V8JS_MEMORY_HEAP_SPACE_SIZE: "V8 total heap size by heap space",
|
|
641
|
-
V8JS_MEMORY_HEAP_USED: "V8 used heap size by heap space"
|
|
816
|
+
V8JS_MEMORY_HEAP_USED: "V8 used heap size by heap space",
|
|
817
|
+
V8JS_RESOURCE_ACTIVE: "Active resources currently keeping the event loop alive, by libuv handle type"
|
|
642
818
|
};
|
|
643
819
|
/**
|
|
644
820
|
* Service that owns each metric (the package whose meter created it).
|
|
@@ -658,12 +834,14 @@ const MetricService = {
|
|
|
658
834
|
KICI_AGENT_LOG_LINES_DROPPED_TOTAL: "agent",
|
|
659
835
|
KICI_AGENT_STEP_DURATION_SECONDS: "agent",
|
|
660
836
|
KICI_AGENT_STEPS_TOTAL: "agent",
|
|
837
|
+
KICI_BILLING_EMAIL_SEND_TOTAL: "platform",
|
|
661
838
|
KICI_BUILD_JOBS_TOTAL: "platform",
|
|
662
839
|
KICI_CACHE_HITS_TOTAL: "platform",
|
|
663
840
|
KICI_CACHE_MISSES_TOTAL: "platform",
|
|
664
841
|
KICI_CROSS_SOURCE_ERRORS_TOTAL: "orchestrator",
|
|
665
842
|
KICI_CROSS_SOURCE_FANOUT_SIZE: "orchestrator",
|
|
666
843
|
KICI_DASHBOARD_RELAY_LATENCY_SECONDS: "platform",
|
|
844
|
+
KICI_DB_COLLATION_DRIFT: "platform",
|
|
667
845
|
KICI_MCP_AUTH_REJECTIONS_TOTAL: "platform",
|
|
668
846
|
KICI_MCP_DB_POOL_CONNECTIONS: "platform",
|
|
669
847
|
KICI_MCP_RATE_LIMITED_TOTAL: "platform",
|
|
@@ -671,14 +849,17 @@ const MetricService = {
|
|
|
671
849
|
KICI_MCP_TOOL_REQUESTS_TOTAL: "platform",
|
|
672
850
|
KICI_ORCH_AGENTS_ACTIVE: "orchestrator",
|
|
673
851
|
KICI_ORCH_BUILD_DURATION_SECONDS: "orchestrator",
|
|
852
|
+
KICI_ORCH_CHECK_RUN_TRACKING_ROWS_PRUNED_TOTAL: "orchestrator",
|
|
674
853
|
KICI_ORCH_CONFIG_RELOAD_TOTAL: "orchestrator",
|
|
675
854
|
KICI_ORCH_CONFIG_VERSION: "orchestrator",
|
|
855
|
+
KICI_ORCH_DB_COLLATION_DRIFT: "orchestrator",
|
|
676
856
|
KICI_ORCH_DECLARED_HOSTS_UNREACHABLE: "orchestrator",
|
|
677
857
|
KICI_ORCH_DEDUP_HITS_TOTAL: "orchestrator",
|
|
678
858
|
KICI_ORCH_DEP_CACHE_HITS_TOTAL: "orchestrator",
|
|
679
859
|
KICI_ORCH_DEP_CACHE_MISSES_TOTAL: "orchestrator",
|
|
680
860
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH: "orchestrator",
|
|
681
861
|
KICI_ORCH_DISPATCH_QUEUE_DEPTH_BY_LABEL: "orchestrator",
|
|
862
|
+
KICI_ORCH_DISPATCH_QUEUE_ROWS_PRUNED_TOTAL: "orchestrator",
|
|
682
863
|
KICI_ORCH_EVENT_ATTEMPTS: "orchestrator",
|
|
683
864
|
KICI_ORCH_EVENT_DISPATCH_SUCCESS_TOTAL: "orchestrator",
|
|
684
865
|
KICI_ORCH_EVENT_DLQ_DEPTH: "orchestrator",
|
|
@@ -688,6 +869,23 @@ const MetricService = {
|
|
|
688
869
|
KICI_ORCH_EXECUTION_DURATION_SECONDS: "orchestrator",
|
|
689
870
|
KICI_ORCH_EXECUTIONS_TOTAL: "orchestrator",
|
|
690
871
|
KICI_ORCH_GITHUB_CHECK_RUN_TOTAL: "orchestrator",
|
|
872
|
+
KICI_ORCH_INGEST_ADMITTED_TOTAL: "orchestrator",
|
|
873
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_MAX_MS: "orchestrator",
|
|
874
|
+
KICI_ORCH_INGEST_EVENT_LOOP_DELAY_P99_MS: "orchestrator",
|
|
875
|
+
KICI_ORCH_INGEST_INFLIGHT: "orchestrator",
|
|
876
|
+
KICI_ORCH_INGEST_LOOP_LAG_RESUME_MS: "orchestrator",
|
|
877
|
+
KICI_ORCH_INGEST_LOOP_LAG_SHED_MS: "orchestrator",
|
|
878
|
+
KICI_ORCH_INGEST_MAX_CONCURRENCY: "orchestrator",
|
|
879
|
+
KICI_ORCH_INGEST_MAX_QUEUE_DEPTH: "orchestrator",
|
|
880
|
+
KICI_ORCH_INGEST_ORG_MAX_CONCURRENCY: "orchestrator",
|
|
881
|
+
KICI_ORCH_INGEST_OVERFLOW_BUFFERED: "orchestrator",
|
|
882
|
+
KICI_ORCH_INGEST_OVERFLOW_CAPTURED_TOTAL: "orchestrator",
|
|
883
|
+
KICI_ORCH_INGEST_OVERFLOW_DROPPED_TOTAL: "orchestrator",
|
|
884
|
+
KICI_ORCH_INGEST_OVERFLOW_MAX: "orchestrator",
|
|
885
|
+
KICI_ORCH_INGEST_OVERFLOW_REPLAYED_TOTAL: "orchestrator",
|
|
886
|
+
KICI_ORCH_INGEST_QUEUE_DEPTH: "orchestrator",
|
|
887
|
+
KICI_ORCH_INGEST_SHED_TOTAL: "orchestrator",
|
|
888
|
+
KICI_ORCH_INGEST_SHEDDING_ACTIVE: "orchestrator",
|
|
691
889
|
KICI_ORCH_INSTALL_SECRETS_CONTRIBUTOR_STRIPPED_TOTAL: "orchestrator",
|
|
692
890
|
KICI_ORCH_INSTALL_SECRETS_DECISIONS_TOTAL: "orchestrator",
|
|
693
891
|
KICI_ORCH_INSTALL_SECRETS_NPM_REGISTRY_USED_TOTAL: "orchestrator",
|
|
@@ -706,6 +904,7 @@ const MetricService = {
|
|
|
706
904
|
KICI_ORCH_SCALER_CONFIG_RELOADS_TOTAL: "orchestrator",
|
|
707
905
|
KICI_ORCH_SCALER_CPUS_USED: "orchestrator",
|
|
708
906
|
KICI_ORCH_SCALER_MEMORY_BYTES_USED: "orchestrator",
|
|
907
|
+
KICI_ORCH_SCALER_REDISPATCH_TOTAL: "orchestrator",
|
|
709
908
|
KICI_ORCH_SCALER_SPAWN_FAILURES_TOTAL: "orchestrator",
|
|
710
909
|
KICI_ORCH_SCALER_SPAWN_REFUSALS_TOTAL: "orchestrator",
|
|
711
910
|
KICI_ORCH_SOURCE_CACHE_HITS_TOTAL: "orchestrator",
|
|
@@ -713,11 +912,18 @@ const MetricService = {
|
|
|
713
912
|
KICI_ORCH_STALE_DETECTION_DURATION_SECONDS: "orchestrator",
|
|
714
913
|
KICI_ORCH_STALE_RUNS_CURRENT: "orchestrator",
|
|
715
914
|
KICI_ORCH_STALE_RUNS_DETECTED_TOTAL: "orchestrator",
|
|
915
|
+
KICI_ORCH_STATE_REPLAY_BREAKER_TRIPS_TOTAL: "orchestrator",
|
|
916
|
+
KICI_ORCH_STEP_LOGS_PRUNED_TOTAL: "orchestrator",
|
|
716
917
|
KICI_ORCH_STEPS_TOTAL: "orchestrator",
|
|
717
918
|
KICI_ORCH_TRIGGER_MATCH_DURATION_SECONDS: "orchestrator",
|
|
718
919
|
KICI_ORCH_TRUST_MATCH_REFUSED_NO_ID_TOTAL: "orchestrator",
|
|
920
|
+
KICI_ORCH_TRUST_POLICY_DECISIONS_TOTAL: "orchestrator",
|
|
719
921
|
KICI_ORCH_WEBHOOKS_PROCESSED_TOTAL: "orchestrator",
|
|
720
922
|
KICI_ORCH_WEBHOOKS_RECEIVED_TOTAL: "orchestrator",
|
|
923
|
+
KICI_ORCH_WS_NACK_RECEIVED_TOTAL: "orchestrator",
|
|
924
|
+
KICI_ORCH_WS_PLATFORM_CAPABILITY_GAP_TOTAL: "orchestrator",
|
|
925
|
+
KICI_ORCH_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "orchestrator",
|
|
926
|
+
KICI_ORCHESTRATOR_DRAINING: "orchestrator",
|
|
721
927
|
KICI_ORG_AGENT_MINUTES: "platform",
|
|
722
928
|
KICI_ORG_CONNECTIONS: "platform",
|
|
723
929
|
KICI_ORG_EXECUTIONS_COUNT: "platform",
|
|
@@ -727,14 +933,16 @@ const MetricService = {
|
|
|
727
933
|
KICI_PLAN_CAP_EXCEEDED_TOTAL: "platform",
|
|
728
934
|
KICI_PLAN_USAGE_RATIO: "platform",
|
|
729
935
|
KICI_PLATFORM_COORDINATOR_POOL_SIZE: "platform",
|
|
730
|
-
KICI_PLATFORM_COORDINATOR_PROBE_LATENCY_MS: "platform",
|
|
731
|
-
KICI_PLATFORM_COORDINATOR_PROBE_TIMEOUTS_TOTAL: "platform",
|
|
732
936
|
KICI_PLATFORM_COORDINATOR_STALE_ENTRIES: "platform",
|
|
733
937
|
KICI_PLATFORM_COORDINATOR_ZOMBIE_ENTRIES_TOTAL: "platform",
|
|
734
938
|
KICI_PLATFORM_CROSS_TENANT_REJECTIONS_TOTAL: "platform",
|
|
735
939
|
KICI_PLATFORM_DASHBOARD_PROXY_DURATION_SECONDS: "platform",
|
|
736
940
|
KICI_PLATFORM_DASHBOARD_PROXY_PENDING: "platform",
|
|
737
941
|
KICI_PLATFORM_DASHBOARD_PROXY_REQUESTS_TOTAL: "platform",
|
|
942
|
+
KICI_PLATFORM_DB_POOL_ACQUIRE_TIMEOUTS_TOTAL: "platform",
|
|
943
|
+
KICI_PLATFORM_DB_POOL_CONNECTIONS: "platform",
|
|
944
|
+
KICI_PLATFORM_DB_POOL_SATURATED: "platform",
|
|
945
|
+
KICI_PLATFORM_DEGRADED_BUFFER_KEYS_GC_TOTAL: "platform",
|
|
738
946
|
KICI_PLATFORM_EXECUTION_EVENTS_TOTAL: "platform",
|
|
739
947
|
KICI_PLATFORM_EXECUTION_STATUS_UPDATES_TOTAL: "platform",
|
|
740
948
|
KICI_PLATFORM_IDENTITY_LINKS_MISSING_PROVIDER_USER_ID: "platform",
|
|
@@ -758,11 +966,19 @@ const MetricService = {
|
|
|
758
966
|
KICI_PLATFORM_RELAY_BREAKER_TRIPS_TOTAL: "platform",
|
|
759
967
|
KICI_PLATFORM_RELAY_REQUEST_DURATION_MS: "platform",
|
|
760
968
|
KICI_PLATFORM_RELAY_REQUEST_OUTCOME_TOTAL: "platform",
|
|
969
|
+
KICI_PLATFORM_RUN_RECONCILE_DEFERRED_TOTAL: "platform",
|
|
970
|
+
KICI_PLATFORM_RUN_RECONCILE_RECONCILED_TOTAL: "platform",
|
|
971
|
+
KICI_PLATFORM_RUN_RECONCILE_SKIPPED_TOTAL: "platform",
|
|
761
972
|
KICI_PLATFORM_STALE_ORCHESTRATORS_TOTAL: "platform",
|
|
762
973
|
KICI_PLATFORM_STALE_PLATFORM_CONNECTIONS_EVICTED_TOTAL: "platform",
|
|
763
974
|
KICI_PLATFORM_STALE_RUNS_FAILED_TOTAL: "platform",
|
|
764
975
|
KICI_PLATFORM_STEP_STATUS_FORWARDS_TOTAL: "platform",
|
|
976
|
+
KICI_PLATFORM_SUPPORT_SESSIONS_SWEPT_TOTAL: "platform",
|
|
765
977
|
KICI_PLATFORM_WS_ORG_RATE_LIMITED_TOTAL: "platform",
|
|
978
|
+
KICI_PLATFORM_WS_SLOW_CONSUMER_TERMINATED_TOTAL: "platform",
|
|
979
|
+
KICI_RBAC_PERMS_CACHE_HITS_TOTAL: "platform",
|
|
980
|
+
KICI_RBAC_PERMS_CACHE_MISSES_TOTAL: "platform",
|
|
981
|
+
KICI_READ_RATE_LIMIT_REJECTED_TOTAL: "platform",
|
|
766
982
|
KICI_REGISTRATIONS_TOTAL: "platform",
|
|
767
983
|
KICI_UNIVERSAL_GIT_REGISTRATION_ERRORS_TOTAL: "orchestrator",
|
|
768
984
|
KICI_USER_REGISTRATION_NOTIFY_TOTAL: "platform",
|
|
@@ -773,9 +989,11 @@ const MetricService = {
|
|
|
773
989
|
KICI_WEBHOOK_BUFFER_BYTES: "platform",
|
|
774
990
|
KICI_WEBHOOK_BUFFER_DEPTH: "platform",
|
|
775
991
|
KICI_WEBHOOK_BUFFER_OLDEST_AGE_SECONDS: "platform",
|
|
992
|
+
KICI_WEBHOOK_NO_ORCH_TOTAL: "platform",
|
|
776
993
|
KICI_WEBHOOK_PG_BREAKER_STATE: "platform",
|
|
777
994
|
KICI_WEBHOOK_PG_BREAKER_TRANSITIONS_TOTAL: "platform",
|
|
778
995
|
KICI_WEBHOOK_PG_DEGRADED_TOTAL: "platform",
|
|
996
|
+
KICI_WEBHOOK_PG_PROBE_TOTAL: "platform",
|
|
779
997
|
KICI_WEBHOOK_PROCESSING_SECONDS: "platform",
|
|
780
998
|
KICI_WEBHOOK_REPLAY_DURATION_SECONDS: "platform",
|
|
781
999
|
KICI_WEBHOOK_SIGNATURE_FAILURES_TOTAL: "platform",
|
|
@@ -785,8 +1003,10 @@ const MetricService = {
|
|
|
785
1003
|
KICI_WS_HEARTBEAT_AGE_SECONDS: "platform",
|
|
786
1004
|
KICI_WS_MESSAGES_RECEIVED_TOTAL: "platform",
|
|
787
1005
|
KICI_WS_MESSAGES_SENT_TOTAL: "platform",
|
|
1006
|
+
KICI_WS_NACK_RECEIVED_TOTAL: "platform",
|
|
788
1007
|
KICI_WS_RELAY_ATTEMPTS_TOTAL: "platform",
|
|
789
1008
|
KICI_WS_RELAY_DURATION_SECONDS: "platform",
|
|
1009
|
+
KICI_WS_UNSUPPORTED_MESSAGE_SENT_TOTAL: "platform",
|
|
790
1010
|
NODEJS_EVENTLOOP_DELAY_MAX: "runtime",
|
|
791
1011
|
NODEJS_EVENTLOOP_DELAY_MEAN: "runtime",
|
|
792
1012
|
NODEJS_EVENTLOOP_DELAY_MIN: "runtime",
|
|
@@ -797,11 +1017,11 @@ const MetricService = {
|
|
|
797
1017
|
NODEJS_EVENTLOOP_TIME: "runtime",
|
|
798
1018
|
NODEJS_EVENTLOOP_UTILIZATION: "runtime",
|
|
799
1019
|
V8JS_GC_DURATION: "runtime",
|
|
800
|
-
V8JS_MEMORY_HEAP_LIMIT: "runtime",
|
|
801
1020
|
V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE: "runtime",
|
|
802
1021
|
V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE: "runtime",
|
|
803
1022
|
V8JS_MEMORY_HEAP_SPACE_SIZE: "runtime",
|
|
804
|
-
V8JS_MEMORY_HEAP_USED: "runtime"
|
|
1023
|
+
V8JS_MEMORY_HEAP_USED: "runtime",
|
|
1024
|
+
V8JS_RESOURCE_ACTIVE: "runtime"
|
|
805
1025
|
};
|
|
806
1026
|
/** Set of every catalog metric name — O(1) membership for lint / filter UI. */
|
|
807
1027
|
const ALL_METRIC_NAMES = [
|
|
@@ -815,12 +1035,14 @@ const ALL_METRIC_NAMES = [
|
|
|
815
1035
|
"kici_agent_log_lines_dropped_total",
|
|
816
1036
|
"kici_agent_step_duration_seconds",
|
|
817
1037
|
"kici_agent_steps_total",
|
|
1038
|
+
"kici_billing_email_send_total",
|
|
818
1039
|
"kici_build_jobs_total",
|
|
819
1040
|
"kici_cache_hits_total",
|
|
820
1041
|
"kici_cache_misses_total",
|
|
821
1042
|
"kici_cross_source_errors_total",
|
|
822
1043
|
"kici_cross_source_fanout_size",
|
|
823
1044
|
"kici_dashboard_relay_latency_seconds",
|
|
1045
|
+
"kici_db_collation_drift",
|
|
824
1046
|
"kici_mcp_auth_rejections_total",
|
|
825
1047
|
"kici_mcp_db_pool_connections",
|
|
826
1048
|
"kici_mcp_rate_limited_total",
|
|
@@ -828,14 +1050,17 @@ const ALL_METRIC_NAMES = [
|
|
|
828
1050
|
"kici_mcp_tool_requests_total",
|
|
829
1051
|
"kici_orch_agents_active",
|
|
830
1052
|
"kici_orch_build_duration_seconds",
|
|
1053
|
+
"kici_orch_check_run_tracking_rows_pruned_total",
|
|
831
1054
|
"kici_orch_config_reload_total",
|
|
832
1055
|
"kici_orch_config_version",
|
|
1056
|
+
"kici_orch_db_collation_drift",
|
|
833
1057
|
"kici_orch_declared_hosts_unreachable",
|
|
834
1058
|
"kici_orch_dedup_hits_total",
|
|
835
1059
|
"kici_orch_dep_cache_hits_total",
|
|
836
1060
|
"kici_orch_dep_cache_misses_total",
|
|
837
1061
|
"kici_orch_dispatch_queue_depth",
|
|
838
1062
|
"kici_orch_dispatch_queue_depth_by_label",
|
|
1063
|
+
"kici_orch_dispatch_queue_rows_pruned_total",
|
|
839
1064
|
"kici_orch_event_attempts",
|
|
840
1065
|
"kici_orch_event_dispatch_success_total",
|
|
841
1066
|
"kici_orch_event_dlq_depth",
|
|
@@ -845,6 +1070,23 @@ const ALL_METRIC_NAMES = [
|
|
|
845
1070
|
"kici_orch_execution_duration_seconds",
|
|
846
1071
|
"kici_orch_executions_total",
|
|
847
1072
|
"kici_orch_github_check_run_total",
|
|
1073
|
+
"kici_orch_ingest_admitted_total",
|
|
1074
|
+
"kici_orch_ingest_event_loop_delay_max_ms",
|
|
1075
|
+
"kici_orch_ingest_event_loop_delay_p99_ms",
|
|
1076
|
+
"kici_orch_ingest_inflight",
|
|
1077
|
+
"kici_orch_ingest_loop_lag_resume_ms",
|
|
1078
|
+
"kici_orch_ingest_loop_lag_shed_ms",
|
|
1079
|
+
"kici_orch_ingest_max_concurrency",
|
|
1080
|
+
"kici_orch_ingest_max_queue_depth",
|
|
1081
|
+
"kici_orch_ingest_org_max_concurrency",
|
|
1082
|
+
"kici_orch_ingest_overflow_buffered",
|
|
1083
|
+
"kici_orch_ingest_overflow_captured_total",
|
|
1084
|
+
"kici_orch_ingest_overflow_dropped_total",
|
|
1085
|
+
"kici_orch_ingest_overflow_max",
|
|
1086
|
+
"kici_orch_ingest_overflow_replayed_total",
|
|
1087
|
+
"kici_orch_ingest_queue_depth",
|
|
1088
|
+
"kici_orch_ingest_shed_total",
|
|
1089
|
+
"kici_orch_ingest_shedding_active",
|
|
848
1090
|
"kici_orch_install_secrets_contributor_stripped_total",
|
|
849
1091
|
"kici_orch_install_secrets_decisions_total",
|
|
850
1092
|
"kici_orch_install_secrets_npm_registry_used_total",
|
|
@@ -863,6 +1105,7 @@ const ALL_METRIC_NAMES = [
|
|
|
863
1105
|
"kici_orch_scaler_config_reloads_total",
|
|
864
1106
|
"kici_orch_scaler_cpus_used",
|
|
865
1107
|
"kici_orch_scaler_memory_bytes_used",
|
|
1108
|
+
"kici_orch_scaler_redispatch_total",
|
|
866
1109
|
"kici_orch_scaler_spawn_failures_total",
|
|
867
1110
|
"kici_orch_scaler_spawn_refusals_total",
|
|
868
1111
|
"kici_orch_source_cache_hits_total",
|
|
@@ -870,11 +1113,18 @@ const ALL_METRIC_NAMES = [
|
|
|
870
1113
|
"kici_orch_stale_detection_duration_seconds",
|
|
871
1114
|
"kici_orch_stale_runs_current",
|
|
872
1115
|
"kici_orch_stale_runs_detected_total",
|
|
1116
|
+
"kici_orch_state_replay_breaker_trips_total",
|
|
1117
|
+
"kici_orch_step_logs_pruned_total",
|
|
873
1118
|
"kici_orch_steps_total",
|
|
874
1119
|
"kici_orch_trigger_match_duration_seconds",
|
|
875
1120
|
"kici_orch_trust_match_refused_no_id_total",
|
|
1121
|
+
"kici_orch_trust_policy_decisions_total",
|
|
876
1122
|
"kici_orch_webhooks_processed_total",
|
|
877
1123
|
"kici_orch_webhooks_received_total",
|
|
1124
|
+
"kici_orch_ws_nack_received_total",
|
|
1125
|
+
"kici_orch_ws_platform_capability_gap_total",
|
|
1126
|
+
"kici_orch_ws_unsupported_message_sent_total",
|
|
1127
|
+
"kici_orchestrator_draining",
|
|
878
1128
|
"kici_org_agent_minutes",
|
|
879
1129
|
"kici_org_connections",
|
|
880
1130
|
"kici_org_executions_count",
|
|
@@ -884,14 +1134,16 @@ const ALL_METRIC_NAMES = [
|
|
|
884
1134
|
"kici_plan_cap_exceeded_total",
|
|
885
1135
|
"kici_plan_usage_ratio",
|
|
886
1136
|
"kici_platform_coordinator_pool_size",
|
|
887
|
-
"kici_platform_coordinator_probe_latency_ms",
|
|
888
|
-
"kici_platform_coordinator_probe_timeouts_total",
|
|
889
1137
|
"kici_platform_coordinator_stale_entries",
|
|
890
1138
|
"kici_platform_coordinator_zombie_entries_total",
|
|
891
1139
|
"kici_platform_cross_tenant_rejections_total",
|
|
892
1140
|
"kici_platform_dashboard_proxy_duration_seconds",
|
|
893
1141
|
"kici_platform_dashboard_proxy_pending",
|
|
894
1142
|
"kici_platform_dashboard_proxy_requests_total",
|
|
1143
|
+
"kici_platform_db_pool_acquire_timeouts_total",
|
|
1144
|
+
"kici_platform_db_pool_connections",
|
|
1145
|
+
"kici_platform_db_pool_saturated",
|
|
1146
|
+
"kici_platform_degraded_buffer_keys_gc_total",
|
|
895
1147
|
"kici_platform_execution_events_total",
|
|
896
1148
|
"kici_platform_execution_status_updates_total",
|
|
897
1149
|
"kici_platform_identity_links_missing_provider_user_id",
|
|
@@ -915,11 +1167,19 @@ const ALL_METRIC_NAMES = [
|
|
|
915
1167
|
"kici_platform_relay_breaker_trips_total",
|
|
916
1168
|
"kici_platform_relay_request_duration_ms",
|
|
917
1169
|
"kici_platform_relay_request_outcome_total",
|
|
1170
|
+
"kici_platform_run_reconcile_deferred_total",
|
|
1171
|
+
"kici_platform_run_reconcile_reconciled_total",
|
|
1172
|
+
"kici_platform_run_reconcile_skipped_total",
|
|
918
1173
|
"kici_platform_stale_orchestrators_total",
|
|
919
1174
|
"kici_platform_stale_platform_connections_evicted_total",
|
|
920
1175
|
"kici_platform_stale_runs_failed_total",
|
|
921
1176
|
"kici_platform_step_status_forwards_total",
|
|
1177
|
+
"kici_platform_support_sessions_swept_total",
|
|
922
1178
|
"kici_platform_ws_org_rate_limited_total",
|
|
1179
|
+
"kici_platform_ws_slow_consumer_terminated_total",
|
|
1180
|
+
"kici_rbac_perms_cache_hits_total",
|
|
1181
|
+
"kici_rbac_perms_cache_misses_total",
|
|
1182
|
+
"kici_read_rate_limit_rejected_total",
|
|
923
1183
|
"kici_registrations_total",
|
|
924
1184
|
"kici_universal_git_registration_errors_total",
|
|
925
1185
|
"kici_user_registration_notify_total",
|
|
@@ -930,9 +1190,11 @@ const ALL_METRIC_NAMES = [
|
|
|
930
1190
|
"kici_webhook_buffer_bytes",
|
|
931
1191
|
"kici_webhook_buffer_depth",
|
|
932
1192
|
"kici_webhook_buffer_oldest_age_seconds",
|
|
1193
|
+
"kici_webhook_no_orch_total",
|
|
933
1194
|
"kici_webhook_pg_breaker_state",
|
|
934
1195
|
"kici_webhook_pg_breaker_transitions_total",
|
|
935
1196
|
"kici_webhook_pg_degraded_total",
|
|
1197
|
+
"kici_webhook_pg_probe_total",
|
|
936
1198
|
"kici_webhook_processing_seconds",
|
|
937
1199
|
"kici_webhook_replay_duration_seconds",
|
|
938
1200
|
"kici_webhook_signature_failures_total",
|
|
@@ -942,8 +1204,10 @@ const ALL_METRIC_NAMES = [
|
|
|
942
1204
|
"kici_ws_heartbeat_age_seconds",
|
|
943
1205
|
"kici_ws_messages_received_total",
|
|
944
1206
|
"kici_ws_messages_sent_total",
|
|
1207
|
+
"kici_ws_nack_received_total",
|
|
945
1208
|
"kici_ws_relay_attempts_total",
|
|
946
1209
|
"kici_ws_relay_duration_seconds",
|
|
1210
|
+
"kici_ws_unsupported_message_sent_total",
|
|
947
1211
|
"nodejs.eventloop.delay.max",
|
|
948
1212
|
"nodejs.eventloop.delay.mean",
|
|
949
1213
|
"nodejs.eventloop.delay.min",
|
|
@@ -954,11 +1218,11 @@ const ALL_METRIC_NAMES = [
|
|
|
954
1218
|
"nodejs.eventloop.time",
|
|
955
1219
|
"nodejs.eventloop.utilization",
|
|
956
1220
|
"v8js.gc.duration",
|
|
957
|
-
"v8js.memory.heap.limit",
|
|
958
1221
|
"v8js.memory.heap.space.available_size",
|
|
959
1222
|
"v8js.memory.heap.space.physical_size",
|
|
960
1223
|
"v8js.memory.heap.space.size",
|
|
961
|
-
"v8js.memory.heap.used"
|
|
1224
|
+
"v8js.memory.heap.used",
|
|
1225
|
+
"v8js.resource.active"
|
|
962
1226
|
];
|
|
963
1227
|
//#endregion
|
|
964
1228
|
export { ALL_METRIC_NAMES, MetricDescription, MetricKind, MetricLabels, MetricNames, MetricService };
|