import type { Long } from '@grpc/proto-loader'; export interface GetSystemMetricsResponse { 'active_timers'?: (number | string | Long); 'activity_timeout_redeliveries'?: (number | string | Long); 'workflow_task_redeliveries'?: (number | string | Long); 'dispatch_total'?: (number | string | Long); 'dispatch_sync_matched'?: (number | string | Long); 'sync_match_rate'?: (number | string); 'invalid_pending_tasks'?: (number | string | Long); 'version_mismatch_dispatches'?: (number | string | Long); 'queue_readers'?: (number | string | Long); 'dispatcher_shutting_down'?: (boolean); 'task_hints_received'?: (number | string | Long); 'task_hints_lagged'?: (number | string | Long); 'outbox_metrics_available'?: (boolean); 'outbox_pending'?: (number | string | Long); 'outbox_leased'?: (number | string | Long); 'outbox_delivered'?: (number | string | Long); 'outbox_dead'?: (number | string | Long); 'outbox_oldest_pending_age_seconds'?: (number | string | Long); 'outbox_claimed_total'?: (number | string | Long); 'outbox_delivered_total'?: (number | string | Long); 'outbox_retried_total'?: (number | string | Long); 'outbox_dead_total'?: (number | string | Long); 'outbox_publish_failed_total'?: (number | string | Long); 'outbox_stale_settlements_total'?: (number | string | Long); 'outbox_store_errors_total'?: (number | string | Long); 'storage_backend'?: (string); 'sqlite_durability_profile'?: (string); 'sqlite_schema_version'?: (number); 'sqlite_runtime_version'?: (string); 'sqlite_last_commit_seq'?: (number | string | Long); 'sqlite_wal_bytes'?: (number | string | Long); 'sqlite_wal_runaway'?: (boolean); 'sqlite_checkpoint_failures'?: (number | string | Long); 'sqlite_last_backup_age_seconds'?: (number | string | Long); 'data_protection_enabled'?: (boolean); 'data_protection_active_key_id'?: (string); 'data_protection_active_key_version'?: (number); 'postgres_data_protection_live_replicas'?: (number | string | Long); 'postgres_data_protection_incompatible_replicas'?: (number | string | Long); 'ai_budget_reconcile_scanned_total'?: (number | string | Long); 'ai_budget_reconciled_total'?: (number | string | Long); 'ai_budget_reconcile_races_total'?: (number | string | Long); 'ai_budget_reconcile_failures_total'?: (number | string | Long); 'postgres_pool_max_connections'?: (number); 'postgres_pool_open_connections'?: (number); 'postgres_pool_idle_connections'?: (number); 'postgres_pool_in_use_connections'?: (number); 'postgres_pool_utilization'?: (number | string); 'task_delivery_metrics_available'?: (boolean); 'task_delivery_available'?: (number | string | Long); 'task_delivery_leased'?: (number | string | Long); 'task_delivery_retrying'?: (number | string | Long); 'task_delivery_dead'?: (number | string | Long); 'task_delivery_expired_leases'?: (number | string | Long); 'task_delivery_oldest_available_age_seconds'?: (number | string | Long); 'worker_session_metrics_available'?: (boolean); 'worker_sessions_connected'?: (number | string | Long); 'worker_sessions_draining'?: (number | string | Long); 'worker_builds_connected'?: (number | string | Long); 'worker_workflow_credit_limit'?: (number | string | Long); 'worker_workflow_in_flight'?: (number | string | Long); 'worker_workflow_credit_available'?: (number | string | Long); 'worker_activity_credit_limit'?: (number | string | Long); 'worker_activity_in_flight'?: (number | string | Long); 'worker_activity_credit_available'?: (number | string | Long); 'worker_sessions_supporting_server_drain'?: (number | string | Long); 'sqlite_writer_ready'?: (boolean); 'sqlite_checkpoint_busy'?: (number); 'sqlite_wal_log_frames'?: (number); 'sqlite_wal_checkpointed_frames'?: (number); 'sqlite_wal_uncheckpointed_frames'?: (number); 'sqlite_writer_queue_capacity'?: (number | string | Long); 'sqlite_writer_queue_depth'?: (number | string | Long); 'sqlite_writer_queue_available'?: (number | string | Long); 'approval_metrics_available'?: (boolean); 'approval_pending'?: (number | string | Long); 'approval_claimed'?: (number | string | Long); 'approval_oldest_unresolved_age_seconds'?: (number | string | Long); 'ai_metrics_available'?: (boolean); 'ai_invocations_in_flight'?: (number | string | Long); 'ai_invocations_outcome_unknown'?: (number | string | Long); 'ai_retained_terminal_invocations'?: (number | string | Long); 'ai_retained_terminal_tokens'?: (number | string | Long); 'ai_budget_open_reservations'?: (number | string | Long); 'ai_budget_reconcile_reservations'?: (number | string | Long); 'ai_budget_expired_open_reservations'?: (number | string | Long); 'ai_budget_unknown_price_open_reservations'?: (number | string | Long); 'ai_budget_open_reserved_tokens'?: (number | string | Long); 'ai_budget_open_reserved_wall_clock_ms'?: (number | string | Long); 'ai_budget_open_reserved_model_calls'?: (number | string | Long); 'ai_budget_open_reserved_tool_calls'?: (number | string | Long); 'ai_cost_currency_count'?: (number); 'ai_cost_metrics_available'?: (boolean); 'ai_cost_currency'?: (string); 'ai_retained_settled_cost_nanos'?: (number | string | Long); 'ai_budget_open_reserved_cost_nanos'?: (number | string | Long); 'event_metrics_available'?: (boolean); 'event_retained_streams'?: (number | string | Long); 'event_retained_events'?: (number | string | Long); 'event_empty_sequence_streams'?: (number | string | Long); 'event_sequence_mismatch_streams'?: (number | string | Long); 'event_runs_without_stream'?: (number | string | Long); 'projection_verifications_total'?: (number | string | Long); 'projection_drift_detected_total'?: (number | string | Long); 'projection_monitor_running'?: (boolean); 'projection_monitor_verified_total'?: (number | string | Long); 'projection_monitor_errors_total'?: (number | string | Long); 'projection_monitor_cycles_completed_total'?: (number | string | Long); 'projection_monitor_clean_cycles_completed_total'?: (number | string | Long); 'projection_monitor_current_cycle_scanned'?: (number | string | Long); 'projection_monitor_last_cycle_age_seconds'?: (number | string | Long); 'projection_monitor_last_clean_cycle_age_seconds'?: (number | string | Long); 'output_stream_metrics_available'?: (boolean); 'output_stream_retained_streams'?: (number | string | Long); 'output_stream_retained_chunks'?: (number | string | Long); 'output_stream_open_streams'?: (number | string | Long); 'output_stream_terminal_streams'?: (number | string | Long); 'output_stream_terminal_error_streams'?: (number | string | Long); 'output_stream_offset_mismatch_streams'?: (number | string | Long); 'output_stream_open_streams_on_terminal_runs'?: (number | string | Long); 'output_stream_oldest_open_age_seconds'?: (number | string | Long); 'output_stream_max_committed_offset'?: (number | string | Long); 'output_stream_readers_active'?: (number | string | Long); 'output_stream_tail_readers_active'?: (number | string | Long); 'output_stream_read_requests_total'?: (number | string | Long); 'output_stream_chunks_delivered_total'?: (number | string | Long); 'output_stream_heartbeats_total'?: (number | string | Long); 'output_stream_read_errors_total'?: (number | string | Long); 'output_stream_authorization_failures_total'?: (number | string | Long); 'coordinator_metrics_available'?: (boolean); 'coordinators_expected'?: (number | string | Long); 'coordinators_running'?: (number | string | Long); 'coordinators_unhealthy'?: (number | string | Long); '_outbox_oldest_pending_age_seconds'?: "outbox_oldest_pending_age_seconds"; '_sqlite_durability_profile'?: "sqlite_durability_profile"; '_sqlite_schema_version'?: "sqlite_schema_version"; '_sqlite_runtime_version'?: "sqlite_runtime_version"; '_sqlite_last_commit_seq'?: "sqlite_last_commit_seq"; '_sqlite_wal_bytes'?: "sqlite_wal_bytes"; '_sqlite_wal_runaway'?: "sqlite_wal_runaway"; '_sqlite_checkpoint_failures'?: "sqlite_checkpoint_failures"; '_sqlite_last_backup_age_seconds'?: "sqlite_last_backup_age_seconds"; '_data_protection_enabled'?: "data_protection_enabled"; '_data_protection_active_key_id'?: "data_protection_active_key_id"; '_data_protection_active_key_version'?: "data_protection_active_key_version"; '_postgres_data_protection_live_replicas'?: "postgres_data_protection_live_replicas"; '_postgres_data_protection_incompatible_replicas'?: "postgres_data_protection_incompatible_replicas"; '_postgres_pool_max_connections'?: "postgres_pool_max_connections"; '_postgres_pool_open_connections'?: "postgres_pool_open_connections"; '_postgres_pool_idle_connections'?: "postgres_pool_idle_connections"; '_postgres_pool_in_use_connections'?: "postgres_pool_in_use_connections"; '_postgres_pool_utilization'?: "postgres_pool_utilization"; '_task_delivery_oldest_available_age_seconds'?: "task_delivery_oldest_available_age_seconds"; '_sqlite_writer_ready'?: "sqlite_writer_ready"; '_sqlite_checkpoint_busy'?: "sqlite_checkpoint_busy"; '_sqlite_wal_log_frames'?: "sqlite_wal_log_frames"; '_sqlite_wal_checkpointed_frames'?: "sqlite_wal_checkpointed_frames"; '_sqlite_wal_uncheckpointed_frames'?: "sqlite_wal_uncheckpointed_frames"; '_sqlite_writer_queue_capacity'?: "sqlite_writer_queue_capacity"; '_sqlite_writer_queue_depth'?: "sqlite_writer_queue_depth"; '_sqlite_writer_queue_available'?: "sqlite_writer_queue_available"; '_approval_oldest_unresolved_age_seconds'?: "approval_oldest_unresolved_age_seconds"; '_ai_cost_currency'?: "ai_cost_currency"; '_ai_retained_settled_cost_nanos'?: "ai_retained_settled_cost_nanos"; '_ai_budget_open_reserved_cost_nanos'?: "ai_budget_open_reserved_cost_nanos"; '_projection_monitor_last_cycle_age_seconds'?: "projection_monitor_last_cycle_age_seconds"; '_projection_monitor_last_clean_cycle_age_seconds'?: "projection_monitor_last_clean_cycle_age_seconds"; '_output_stream_oldest_open_age_seconds'?: "output_stream_oldest_open_age_seconds"; '_output_stream_max_committed_offset'?: "output_stream_max_committed_offset"; } export interface GetSystemMetricsResponse__Output { 'active_timers': (string); 'activity_timeout_redeliveries': (string); 'workflow_task_redeliveries': (string); 'dispatch_total': (string); 'dispatch_sync_matched': (string); 'sync_match_rate': (number); 'invalid_pending_tasks': (string); 'version_mismatch_dispatches': (string); 'queue_readers': (string); 'dispatcher_shutting_down': (boolean); 'task_hints_received': (string); 'task_hints_lagged': (string); 'outbox_metrics_available': (boolean); 'outbox_pending': (string); 'outbox_leased': (string); 'outbox_delivered': (string); 'outbox_dead': (string); 'outbox_oldest_pending_age_seconds'?: (string); 'outbox_claimed_total': (string); 'outbox_delivered_total': (string); 'outbox_retried_total': (string); 'outbox_dead_total': (string); 'outbox_publish_failed_total': (string); 'outbox_stale_settlements_total': (string); 'outbox_store_errors_total': (string); 'storage_backend': (string); 'sqlite_durability_profile'?: (string); 'sqlite_schema_version'?: (number); 'sqlite_runtime_version'?: (string); 'sqlite_last_commit_seq'?: (string); 'sqlite_wal_bytes'?: (string); 'sqlite_wal_runaway'?: (boolean); 'sqlite_checkpoint_failures'?: (string); 'sqlite_last_backup_age_seconds'?: (string); 'data_protection_enabled'?: (boolean); 'data_protection_active_key_id'?: (string); 'data_protection_active_key_version'?: (number); 'postgres_data_protection_live_replicas'?: (string); 'postgres_data_protection_incompatible_replicas'?: (string); 'ai_budget_reconcile_scanned_total': (string); 'ai_budget_reconciled_total': (string); 'ai_budget_reconcile_races_total': (string); 'ai_budget_reconcile_failures_total': (string); 'postgres_pool_max_connections'?: (number); 'postgres_pool_open_connections'?: (number); 'postgres_pool_idle_connections'?: (number); 'postgres_pool_in_use_connections'?: (number); 'postgres_pool_utilization'?: (number); 'task_delivery_metrics_available': (boolean); 'task_delivery_available': (string); 'task_delivery_leased': (string); 'task_delivery_retrying': (string); 'task_delivery_dead': (string); 'task_delivery_expired_leases': (string); 'task_delivery_oldest_available_age_seconds'?: (string); 'worker_session_metrics_available': (boolean); 'worker_sessions_connected': (string); 'worker_sessions_draining': (string); 'worker_builds_connected': (string); 'worker_workflow_credit_limit': (string); 'worker_workflow_in_flight': (string); 'worker_workflow_credit_available': (string); 'worker_activity_credit_limit': (string); 'worker_activity_in_flight': (string); 'worker_activity_credit_available': (string); 'worker_sessions_supporting_server_drain': (string); 'sqlite_writer_ready'?: (boolean); 'sqlite_checkpoint_busy'?: (number); 'sqlite_wal_log_frames'?: (number); 'sqlite_wal_checkpointed_frames'?: (number); 'sqlite_wal_uncheckpointed_frames'?: (number); 'sqlite_writer_queue_capacity'?: (string); 'sqlite_writer_queue_depth'?: (string); 'sqlite_writer_queue_available'?: (string); 'approval_metrics_available': (boolean); 'approval_pending': (string); 'approval_claimed': (string); 'approval_oldest_unresolved_age_seconds'?: (string); 'ai_metrics_available': (boolean); 'ai_invocations_in_flight': (string); 'ai_invocations_outcome_unknown': (string); 'ai_retained_terminal_invocations': (string); 'ai_retained_terminal_tokens': (string); 'ai_budget_open_reservations': (string); 'ai_budget_reconcile_reservations': (string); 'ai_budget_expired_open_reservations': (string); 'ai_budget_unknown_price_open_reservations': (string); 'ai_budget_open_reserved_tokens': (string); 'ai_budget_open_reserved_wall_clock_ms': (string); 'ai_budget_open_reserved_model_calls': (string); 'ai_budget_open_reserved_tool_calls': (string); 'ai_cost_currency_count': (number); 'ai_cost_metrics_available': (boolean); 'ai_cost_currency'?: (string); 'ai_retained_settled_cost_nanos'?: (string); 'ai_budget_open_reserved_cost_nanos'?: (string); 'event_metrics_available': (boolean); 'event_retained_streams': (string); 'event_retained_events': (string); 'event_empty_sequence_streams': (string); 'event_sequence_mismatch_streams': (string); 'event_runs_without_stream': (string); 'projection_verifications_total': (string); 'projection_drift_detected_total': (string); 'projection_monitor_running': (boolean); 'projection_monitor_verified_total': (string); 'projection_monitor_errors_total': (string); 'projection_monitor_cycles_completed_total': (string); 'projection_monitor_clean_cycles_completed_total': (string); 'projection_monitor_current_cycle_scanned': (string); 'projection_monitor_last_cycle_age_seconds'?: (string); 'projection_monitor_last_clean_cycle_age_seconds'?: (string); 'output_stream_metrics_available': (boolean); 'output_stream_retained_streams': (string); 'output_stream_retained_chunks': (string); 'output_stream_open_streams': (string); 'output_stream_terminal_streams': (string); 'output_stream_terminal_error_streams': (string); 'output_stream_offset_mismatch_streams': (string); 'output_stream_open_streams_on_terminal_runs': (string); 'output_stream_oldest_open_age_seconds'?: (string); 'output_stream_max_committed_offset'?: (string); 'output_stream_readers_active': (string); 'output_stream_tail_readers_active': (string); 'output_stream_read_requests_total': (string); 'output_stream_chunks_delivered_total': (string); 'output_stream_heartbeats_total': (string); 'output_stream_read_errors_total': (string); 'output_stream_authorization_failures_total': (string); 'coordinator_metrics_available': (boolean); 'coordinators_expected': (string); 'coordinators_running': (string); 'coordinators_unhealthy': (string); '_outbox_oldest_pending_age_seconds'?: "outbox_oldest_pending_age_seconds"; '_sqlite_durability_profile'?: "sqlite_durability_profile"; '_sqlite_schema_version'?: "sqlite_schema_version"; '_sqlite_runtime_version'?: "sqlite_runtime_version"; '_sqlite_last_commit_seq'?: "sqlite_last_commit_seq"; '_sqlite_wal_bytes'?: "sqlite_wal_bytes"; '_sqlite_wal_runaway'?: "sqlite_wal_runaway"; '_sqlite_checkpoint_failures'?: "sqlite_checkpoint_failures"; '_sqlite_last_backup_age_seconds'?: "sqlite_last_backup_age_seconds"; '_data_protection_enabled'?: "data_protection_enabled"; '_data_protection_active_key_id'?: "data_protection_active_key_id"; '_data_protection_active_key_version'?: "data_protection_active_key_version"; '_postgres_data_protection_live_replicas'?: "postgres_data_protection_live_replicas"; '_postgres_data_protection_incompatible_replicas'?: "postgres_data_protection_incompatible_replicas"; '_postgres_pool_max_connections'?: "postgres_pool_max_connections"; '_postgres_pool_open_connections'?: "postgres_pool_open_connections"; '_postgres_pool_idle_connections'?: "postgres_pool_idle_connections"; '_postgres_pool_in_use_connections'?: "postgres_pool_in_use_connections"; '_postgres_pool_utilization'?: "postgres_pool_utilization"; '_task_delivery_oldest_available_age_seconds'?: "task_delivery_oldest_available_age_seconds"; '_sqlite_writer_ready'?: "sqlite_writer_ready"; '_sqlite_checkpoint_busy'?: "sqlite_checkpoint_busy"; '_sqlite_wal_log_frames'?: "sqlite_wal_log_frames"; '_sqlite_wal_checkpointed_frames'?: "sqlite_wal_checkpointed_frames"; '_sqlite_wal_uncheckpointed_frames'?: "sqlite_wal_uncheckpointed_frames"; '_sqlite_writer_queue_capacity'?: "sqlite_writer_queue_capacity"; '_sqlite_writer_queue_depth'?: "sqlite_writer_queue_depth"; '_sqlite_writer_queue_available'?: "sqlite_writer_queue_available"; '_approval_oldest_unresolved_age_seconds'?: "approval_oldest_unresolved_age_seconds"; '_ai_cost_currency'?: "ai_cost_currency"; '_ai_retained_settled_cost_nanos'?: "ai_retained_settled_cost_nanos"; '_ai_budget_open_reserved_cost_nanos'?: "ai_budget_open_reserved_cost_nanos"; '_projection_monitor_last_cycle_age_seconds'?: "projection_monitor_last_cycle_age_seconds"; '_projection_monitor_last_clean_cycle_age_seconds'?: "projection_monitor_last_clean_cycle_age_seconds"; '_output_stream_oldest_open_age_seconds'?: "output_stream_oldest_open_age_seconds"; '_output_stream_max_committed_offset'?: "output_stream_max_committed_offset"; }