Kibotos
Metrics

Metrics

This page lists every metric the Kibotos processes serve at GET /metrics, generated from the source code that creates them. For which process serves which metrics and how to collect them, see Metrics.

kibotos_build_*

MetricTypeLabelsDescription
kibotos_build_infogaugecomponent, version, revisionAlways 1; the labels identify the running executable.

kibotos_cluster_*

MetricTypeLabelsDescription
kibotos_cluster_command_oldest_processing_secondsgaugemethodAge on ctrl's clock of the oldest command of the method that has not completed.
kibotos_cluster_commands_processinggaugemethodCommands of the method that have not completed; absent for a method with none.
kibotos_cluster_node_allocated_cpu_coresgaugenode_idCPUs allocated to Instances as of the node's latest inventory.
kibotos_cluster_node_allocated_memory_bytesgaugenode_idMemory allocated to Instances as of the node's latest inventory.
kibotos_cluster_node_certificate_expiry_timestamp_secondsgaugenode_id, purposeUnix time the node's control or data-plane certificate expires.
kibotos_cluster_node_clock_offset_secondsgaugenode_idThe node's clock minus ctrl's, as ctrl last measured it on the live session.
kibotos_cluster_node_cpu_idle_ratiogaugenode_idShare of the node host's CPU time spent idle over its last sampling interval, 0 to 1.
kibotos_cluster_node_instancesgaugenode_idInstances in the node's latest inventory.
kibotos_cluster_node_memory_available_bytesgaugenode_idThe node host's available memory.
kibotos_cluster_node_memory_tightgaugenode_id1 while the node's live session reports its host memory too tight for new Instances, 0 otherwise.
kibotos_cluster_node_pressure_ratiogaugenode_id, resource, kindThe node host's 60-second pressure stall average, 0 to 1.
kibotos_cluster_node_schedulable_cpu_coresgaugenode_idCPUs placement admits against on the node: its allocatable CPUs times the overcommit ratio.
kibotos_cluster_node_schedulable_memory_bytesgaugenode_idMemory placement admits against on the node: its allocatable memory times the overcommit ratio.
kibotos_cluster_node_statusgaugenode_id, status1 for the node's current status: syncing, ready, draining, drained, unavailable, revoked or retired.
kibotos_cluster_node_unreadygaugenode_id, reason1 with the reason ctrl does not place on an admitted node now; absent while the node takes placement.
kibotos_cluster_node_vm_cpu_coresgaugenode_idCPUs every VM on the node used over the node's last sampling interval.
kibotos_cluster_node_vm_memory_bytesgaugenode_idGuest memory every VM on the node holds.
kibotos_cluster_node_volumesgaugenode_idVolumes in the node's latest inventory.
kibotos_cluster_storage_pool_capacity_bytesgaugepool_idCapacity the operator set on the storage pool; absent while it has none.
kibotos_cluster_storage_pool_reserved_bytesgaugepool_idDeclared capacity of the live Volumes and retained layers in the storage pool.
kibotos_cluster_storage_pool_retained_layersgaugepool_idRetained layers in the storage pool.
kibotos_cluster_storage_pool_volumesgaugepool_idLive Volumes in the storage pool.
kibotos_cluster_volumesgaugestateVolumes in each state; deleted ones are not counted.
kibotos_cluster_workspacesgaugestateWorkspaces in each state; deleted ones are not counted.

kibotos_ctrl_*

MetricTypeLabelsDescription
kibotos_ctrl_cluster_read_failures_totalcounterReads of the cluster state for its metrics that failed or timed out; the scrapes such a read answers have no kibotos_cluster_ series.
kibotos_ctrl_command_attempt_failures_totalcountermethodAttempts of an accepted command that the executor ran and that failed; the command is attempted again.
kibotos_ctrl_command_exhaustions_totalcountermethod, reasonCommands the executor gave up on because their execution budget ran out, by which budget.
kibotos_ctrl_command_settlements_totalcountermethod, codeBackground commands settled, by method and by the code of the result every caller gets: ok or a Connect code name.
kibotos_ctrl_db_acquire_seconds_totalcounterTime spent acquiring connections from the ctrl PostgreSQL pool.
kibotos_ctrl_db_acquire_waits_totalcounterConnection acquisitions that found no idle connection and waited for one to be released or opened.
kibotos_ctrl_db_connectionsgaugestateConnections in the ctrl PostgreSQL pool, by whether a caller holds them.
kibotos_ctrl_db_max_connectionsgaugeThe most connections the ctrl PostgreSQL pool opens.
kibotos_ctrl_node_session_ends_totalcountercauseNode control sessions that ended, by why they ended.
kibotos_ctrl_nonconforming_command_ids_totalcounterCommand IDs on write requests that break the rule ctrl enforces from v0.4.0.

kibotos_gateway_*

MetricTypeLabelsDescription
kibotos_gateway_auth_rejections_totalcountersurface, reasonAPI keys, envd tokens and traffic tokens the gateway refused.
kibotos_gateway_proxy_stream_aborts_totalcounterreasonProxied connections that ended before the exchange on them completed.
kibotos_gateway_upstream_failures_totalcounteroperation, codeCalls to ctrl or a node that failed for a reason other than the caller's own request.

kibotos_gw_*

MetricTypeLabelsDescription
kibotos_gw_active_streamsgaugeProxied connections in progress.
kibotos_gw_stream_bytes_totalcounterdirectionBytes proxied connections carried to and from Workspaces.
kibotos_gw_stream_refusals_totalcounterscopeConnections refused because a concurrency budget was used up.

kibotos_http_*

MetricTypeLabelsDescription
kibotos_http_server_duration_secondshistogramrouteTime from receiving an HTTP request to its handler returning; an upgraded or proxied stream counts its whole life.
kibotos_http_server_requests_totalcounterroute, codeHTTP requests served, counted when the handler returns.

kibotos_instance_*

MetricTypeLabelsDescription
kibotos_instance_metrics_dropped_samples_totalcounterreasonInstance metric samples lost before the metrics store accepted them, by reason.
kibotos_instance_metrics_queued_samplesgaugeInstance metric samples waiting to be sent to the metrics store.

kibotos_node_*

MetricTypeLabelsDescription
kibotos_node_control_connectedgauge1 while ctrl has admitted the node's control session, otherwise 0.
kibotos_node_control_connection_failures_totalcounterphaseControl connections that failed or ended, by the phase they reached.
kibotos_node_dataplane_credential_rejections_totalcounterreasonData-plane requests whose credential the node refused, by reason.
kibotos_node_dataplane_streamsgaugekindData-plane streams open now, by what they carry: process output, a file transfer, a directory watch, or a service connection.
kibotos_node_guest_log_dropped_records_totalcounterreasonGuest agent records that never reached the node's log: dropped from the guest's buffer before the node read them, or over the Instance's rate.
kibotos_node_guest_memory_saturated_instancesgaugeRunning Instances whose guest reports its managed processes held at their memory limit.
kibotos_node_guest_probe_failures_totalcounterGuest probes that timed out or found no connection to the guest.
kibotos_node_guest_rpc_duration_secondshistogramprocedureTime a unary Connect call to the guest agent took to return.
kibotos_node_guest_rpc_requests_totalcounterprocedure, codeUnary Connect calls made to the guest agent, counted when the call returns.
kibotos_node_guest_samples_skipped_totalcounterreasonReadings of a ready guest's resource counters, or of one host-side source of its Instance, that produced no samples, by reason.
kibotos_node_guest_unresponsive_instancesgaugeRunning Instances whose guest agent stopped answering probes.
kibotos_node_infogaugenode_idAlways 1; node_id names the node that exports these metrics.
kibotos_node_instancesgaugestateInstances this node holds, by state.
kibotos_node_pending_cleanupsgaugeInstances whose release could not finish and waits to be tried again.
kibotos_node_storage_pool_availablegaugepool_id1 when the storage pool's marker verified the last time the node checked it, otherwise 0.
kibotos_node_template_cache_entriesgaugePrepared launches the Template cache holds.
kibotos_node_template_cache_max_bytesgaugeBytes the Template cache may hold.
kibotos_node_template_cache_used_bytesgaugeBytes the Template cache holds.

kibotos_rpc_*

MetricTypeLabelsDescription
kibotos_rpc_server_duration_secondshistogramprocedureTime from receiving a unary Connect call to returning it. Streams are not observed.
kibotos_rpc_server_requests_totalcounterprocedure, codeConnect calls served, counted when the call ends; a stream counts when it closes.

kibotos_traces_*

MetricTypeLabelsDescription
kibotos_traces_dropped_totalcounterreasonEnded spans that were not pushed to the trace store, by reason.

On this page