Mapping Classic Metrics with Context-Specific PromQL Metrics

Sysdig classic metrics such as cpu.used.percent previously returned values from a process, container, or host depending on the query segmentation or scope. You can now use context-explicit metrics which aligns with the flat model and resource specific semantics of Prometheus naming schema. Your existing dashboards and alerts will be automatically migrated to the new naming convention.

Sysdig Classic MetricsContext-Specific Metrics in Prometheus Notation
cpu.cores.usedsysdig_container_cpu_cores_used
sysdig_host_cpu_cores_used
sysdig_program_cpu_cores_used
cpu.cores.used.percentsysdig_container_cpu_cores_used_percent
sysdig_host_cpu_cores_used_percent
sysdig_program_cpu_cores_used_percent
cpu.used.percentsysdig_container_cpu_used_percent
sysdig_host_cpu_used_percent
sysdig_program_cpu_used_percent
fd.used.percentsysdig_container_fd_used_percent
sysdig_host_fd_used_percent
sysdig_program_fd_used_percent
file.bytes.insysdig_container_file_in_bytes
sysdig_host_file_in_bytes
sysdig_program_file_in_bytes
file.bytes.outsysdig_container_file_out_bytes
sysdig_host_file_out_bytes
sysdig_program_file_out_bytes
file.bytes.totalsysdig_container_file_total_bytes
sysdig_host_file_total_bytes
sysdig_program_file_total_bytes
file.error.open.countsysdig_container_file_error_open_count
sysdig_host_file_error_open_count
sysdig_program_file_error_open_count
file.error.total.countsysdig_container_file_error_total_count
sysdig_host_file_error_total_count
sysdig_program_file_error_total_count
file.iops.insysdig_container_file_in_iops
sysdig_host_file_in_iops
sysdig_program_file_in_iops
file.iops.outsysdig_container_file_out_iops
sysdig_host_file_out_iops
sysdig_program_file_out_iops
file.iops.totalsysdig_container_file_total_iops
sysdig_host_file_total_iops
sysdig_program_file_total_iops
file.open.countsysdig_container_file_open_count
sysdig_host_file_open_count
sysdig_program_file_open_count
file.time.insysdig_container_file_in_time
sysdig_host_file_in_time
sysdig_program_file_in_time
file.time.outsysdig_container_file_out_time
sysdig_host_file_out_time
sysdig_program_file_out_time
file.time.totalsysdig_container_file_total_time
sysdig_host_file_total_time
sysdig_program_file_total_time
fs.bytes.freesysdig_container_fs_free_bytes
sysdig_fs_free_bytes
sysdig_host_fs_free_bytes
fs.bytes.totalsysdig_container_fs_total_bytes
sysdig_fs_total_bytes
sysdig_host_fs_total_bytes
fs.bytes.usedsysdig_container_fs_used_bytes
sysdig_fs_used_bytes
sysdig_host_fs_used_bytes
fs.free.percentsysdig_container_fs_free_percent
sysdig_fs_free_percent
sysdig_host_fs_free_percent
fs.inodes.total.countsysdig_container_fs_inodes_total_count
sysdig_fs_inodes_total_count
sysdig_host_fs_inodes_total_count
fs.inodes.used.countsysdig_container_fs_inodes_used_count
sysdig_fs_inodes_used_count
sysdig_host_fs_inodes_used_count
fs.inodes.used.percentsysdig_container_fs_inodes_used_percent
sysdig_fs_inodes_used_percent
sysdig_host_fs_inodes_used_percent
fs.largest.used.percentsysdig_container_fs_largest_used_percent
sysdig_host_fs_largest_used_percent
fs.root.used.percentsysdig_container_fs_root_used_percent
sysdig_host_fs_root_used_percent
fs.used.percentsysdig_container_fs_used_percent
sysdig_fs_used_percent
sysdig_host_fs_used_percent
host.error.countsysdig_container_syscall_error_count
sysdig_host_syscall_error_count
infosysdig_agent_info
sysdig_container_info
sysdig_host_info
memory.bytes.totalsysdig_host_memory_total_bytes
sysdig_container_memory_used_bytes
sysdig_host_memory_used_bytes
sysdig_program_memory_used_bytes
memory.bytes.virtualsysdig_container_memory_virtual_bytes
sysdig_host_memory_virtual_bytes
memory.swap.bytes.usedsysdig_container_memory_swap_used_bytes
sysdig_host_memory_swap_used_bytes
memory.used.percentsysdig_container_memory_used_percent
sysdig_host_memory_used_percent
net.bytes.insysdig_connection_net_in_bytes
sysdig_container_net_in_bytes
sysdig_host_net_in_bytes
sysdig_program_net_in_bytes
net.bytes.outsysdig_connection_net_out_bytes
sysdig_container_net_out_bytes
sysdig_host_net_out_bytes
sysdig_program_net_out_bytes
net.bytes.totalsysdig_connection_net_total_bytes
sysdig_container_net_total_bytes
sysdig_host_net_total_bytes
sysdig_program_net_total_bytes
net.connection.count.insysdig_connection_net_connection_in_count
sysdig_container_net_connection_in_count
sysdig_host_net_connection_in_count
sysdig_program_net_connection_in_count
net.connection.count.outsysdig_connection_net_connection_out_count
sysdig_container_net_connection_out_count
sysdig_host_net_connection_out_count
sysdig_program_net_connection_out_count
net.connection.count.totalsysdig_connection_net_connection_total_count
sysdig_container_net_connection_total_count
sysdig_host_net_connection_total_count
sysdig_program_net_connection_total_count
net.request.countsysdig_connection_net_request_count
sysdig_container_net_request_count
sysdig_host_net_request_count
sysdig_program_net_request_count
net.error.countsysdig_container_net_error_count
sysdig_host_net_error_count
sysdig_program_net_error_count
net.request.count.insysdig_connection_net_request_in_count
sysdig_container_net_request_in_count
sysdig_host_net_request_in_count
sysdig_program_net_request_in_count
net.request.count.outsysdig_connection_net_request_out_count
sysdig_container_net_request_out_count
sysdig_host_net_request_out_count
sysdig_program_net_request_out_count
net.request.timesysdig_connection_net_request_time
sysdig_container_net_request_time
sysdig_host_net_request_time
sysdig_program_net_request_time
net.request.time.insysdig_connection_net_request_in_time
sysdig_container_net_request_in_time
sysdig_host_net_request_in_time
sysdig_program_net_request_in_time
net.request.time.outsysdig_connection_net_request_out_time
sysdig_container_net_request_out_time
sysdig_host_net_request_out_time
sysdig_program_net_request_out_time
net.server.bytes.insysdig_container_net_server_in_bytes
sysdig_host_net_server_in_bytes
net.server.bytes.outsysdig_container_net_server_out_bytes
sysdig_host_net_server_out_bytes
net.server.bytes.totalsysdig_container_net_server_total_bytes
sysdig_host_net_server_total_bytes
net.sql.error.countsysdig_container_net_sql_error_count
sysdig_host_net_sql_error_count
net.sql.request.countsysdig_container_net_sql_request_count
sysdig_host_net_sql_request_count
net.tcp.queue.lensysdig_container_net_tcp_queue_len
sysdig_host_net_tcp_queue_len
sysdig_program_net_tcp_queue_len
proc.countsysdig_container_proc_count
sysdig_host_proc_count
sysdig_program_proc_count
thread.countsysdig_container_thread_count
sysdig_host_thread_count
sysdig_program_thread_count
uptimesysdig_container_up
sysdig_host_up
sysdig_program_up