exporter 설치하기

‍한승운·2022년 1월 29일
0
  • prometheus 로 관측할 대상에 대한 설치를 먼저 진행해보자

exporter 설치

모니터링 대상의 metric을 수집하고 prometheus가 접속했을 때 정보를 알려주는 역할

  • 종류
  • 해야할 설정
    • Exporter를 실행하면 데이터를 수집하는 동시에 HTTP 엔드 포인트를 열어서(node exporter의 기본은 9100포트) prometheus 서버가 데이터를 수집해 갈 수 있도록 한다. ( prometheus Server는 Exporter가 열어놓은 HTTP 엔드포인트에 접속해서 Metric을 수집하는 Pull 방식)

node exporter

https://github.com/prometheus/node_exporter

  • node exporter의 경우 호스트 시스템을 모니터링 하도록 설계되어 있기 떄문에, 호스트 시스템에 액세스 해야함.
    • Docker 컨테이너로 배포하는 것은 권장하는 바가 아니지만, docker 로 사용했을 때랑 그냥 서비스로 설치했을 때랑 플래그 조정만 한다면 개인적으론 차이를 느끼지 못했음
    • 배포의 편의성과 나중에 때어내거나 수정할 때 용의성을 위해 나는 docker-compose 로 작업했음.
  • Docker로 배포할 경우 주의 사항
    • 모니터링 하려는 루트가 아닌 마운트 지점은 컨테이너에 바인드 마운트해야함
  • node exporter 의 기본적으로 9100 포트에서 수신대기
  • node exporter 의 metrics 내용

docker 로 설치할 경우

# 그냥 docker 명령어로 실행할 경우
docker run -d \
  --net="host" \
  --pid="host" \
  -v "/:/host:ro,rslave" \
  quay.io/prometheus/node-exporter:latest \
  --path.rootfs=/host

docker-compose 로 설치할 경우

# docker-compose.yml 로 구성할 경우
version: '3.8'

services:
  node_exporter:
    image: quay.io/prometheus/node-exporter:latest
    container_name: node_exporter
    command:
      - '--path.rootfs=/host'
    network_mode: host
    pid: host
    restart: unless-stopped
    volumes:
      - '/:/host:ro,rslave'

테스트 하기

# node exporter 에 prometheus 가 와서 가져갈 metrics 확인하기
curl localhost:9100/metrics

데이터 검증하기

# cpu 관련
## node exporter 자료 - cpu 로드율
100 - (avg by(instance) (rate(node_cpu_seconds_total{mode="idle"}[2m])) * 100)
## top 의 자료 -> cmd 에 top 치고 세번쨰줄(cpu) 의 id % 부분 확인
## id 는 유휴 상태의 cpu 비중을 의미하기 때문에 100 -id 값이 위의 node exporter값과 같은지 확인

# hdd 사용량 관련
## node exporter 자료 - hdd 사용량(퍼센트)
(node_filesystem_avail_bytes * 100) / node_filesystem_size_bytes and ON (instance, device, mountpoint) node_filesystem_readonly == 0
## df -P 에서 루트 디렉토리의 사용량을 읽고 node-exporter의 자료와 같은지 확인
df -P

# memory 관련
## node-exporter의 자료 - 메모리 사용량(퍼센트)
node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100
## 방법1 ) top에서 memeory 사용량 보기
## 방법2 ) free 를 치고 memeory 사용량 보기 

cadvisor

  • 도커 호스트에 컨테이너로서 실행되는 모니터링 툴로, 도커 엔진 및 컨테이너, 이미지 등에 대한 데이터등을 수집해준다.
  • 설치가 완료되면 아래와 같은 페이지를 열 수 있다.
    • prometheus 페이지처럼 간단하게 정보를 볼 수 있다.

docker로 설치하기

https://github.com/google/cadvisor

VERSION=v0.36.0 # use the latest release version from https://github.com/google/cadvisor/releases
sudo docker run \
  --volume=/:/rootfs:ro \
  --volume=/var/run:/var/run:ro \
  --volume=/sys:/sys:ro \
  --volume=/var/lib/docker/:/var/lib/docker:ro \
  --volume=/dev/disk/:/dev/disk:ro \
  --publish=열기원하는포트:8080 \
  --detach=true \
  --name=cadvisor \
  --privileged \
  --device=/dev/kmsg \
  gcr.io/cadvisor/cadvisor:$VERSION

docker-compose 로 설치할 경우

  cadvisor:
    image: gcr.io/cadvisor/cadvisor:latest
    container_name: cadvisor 
    ports: 
      - 열기원하는포트:8080 
    volumes: 
      - /:/rootfs:ro 
      - /var/run:/var/run:rw 
      - /sys:/sys:ro 
      - /var/lib/docker/:/var/lib/docker:ro 
      - /dev/disk/:/dev/disk:ro 
    restart: always 
    devices:
      - "/dev/kmsg:/dev/kmsg"
    privileged: true 

테스트하기

# cadvisor 에 prometheus 가 와서 가져갈 metrics 확인하기
curl localhost:열었던포트/metrics

참고자료

node-exporter metrics

출처 : https://docs.splunk.com/observability/gdi/prometheus-node/prometheus-node.html

NameDescriptionType
node_arp_entriesARP entries by devicegauge
node_boot_time_secondsNode boot time, in unixtimegauge
node_context_switches_totalTotal number of context switchescumulative
node_cpu_guest_seconds_totalSeconds the cpus spent in guests (VMs) for each modecumulative
node_cpu_seconds_totalSeconds the cpus spent in each modecumulative
node_disk_io_nowThe number of I/Os currently in progressgauge
node_disk_io_time_seconds_totalTotal seconds spent doing I/Oscumulative
node_disk_io_time_weighted_seconds_totalThe weighted number of seconds spent doing I/Os. See https://www.kernel.org/doc/Documentation/iostats.txtcumulative
node_disk_read_bytes_totalThe total number of bytes read successfullycumulative
node_disk_read_time_seconds_totalThe total number of milliseconds spent by all readscumulative
node_disk_reads_completed_totalThe total number of reads completed successfullycumulative
node_disk_reads_merged_totalThe total number of reads merged. See https://www.kernel.org/doc/Documentation/iostats.txtcumulative
node_disk_write_time_seconds_totalThis is the total number of seconds spent by all writescumulative
node_disk_writes_completed_totalThe total number of writes completed successfullycumulative
node_disk_writes_merged_totalThe number of writes merged. See https://www.kernel.org/doc/Documentation/iostats.txtcumulative
node_disk_written_bytes_totalThe total number of bytes written successfullycumulative
node_entropy_available_bitsBits of available entropygauge
node_exporter_build_infoA metric with a constant '1' value labeled by version, revision, branch, and goversion from which node_exporter was builtgauge
node_filefd_allocatedFile descriptor statistics: allocatedgauge
node_filefd_maximumFile descriptor statistics: maximumgauge
node_filesystem_avail_bytesFilesystem space available to non-root users in bytesgauge
node_filesystem_device_errorWhether an error occurred while getting statistics for the given devicegauge
node_filesystem_filesFilesystem total file nodesgauge
node_filesystem_files_freeFilesystem total free file nodesgauge
node_filesystem_free_bytesFilesystem free space in bytesgauge
node_filesystem_readonlyFilesystem read-only statusgauge
node_filesystem_size_bytesFilesystem size in bytesgauge
node_forks_totalTotal number of forkscumulative
node_intr_totalTotal number of interrupts servicedcumulative
node_ipvs_connections_totalThe total number of connections madecumulative
node_ipvs_incoming_bytes_totalThe total amount of incoming datacumulative
node_ipvs_incoming_packets_totalThe total number of incoming packetscumulative
node_ipvs_outgoing_bytes_totalThe total amount of outgoing datacumulative
node_ipvs_outgoing_packets_totalThe total number of outgoing packetscumulative
node_load11m load averagegauge
node_load1515m load averagegauge
node_load55m load averagegauge
node_memory_Active_anon_bytesMemory information field Active_anon_bytesgauge
node_memory_Active_bytesMemory information field Active_bytesgauge
node_memory_Active_file_bytesMemory information field Active_file_bytesgauge
node_memory_AnonHugePages_bytesMemory information field AnonHugePages_bytesgauge
node_memory_AnonPages_bytesMemory information field AnonPages_bytesgauge
node_memory_Bounce_bytesMemory information field Bounce_bytesgauge
node_memory_Buffers_bytesMemory information field Buffers_bytesgauge
node_memory_Cached_bytesMemory information field Cached_bytesgauge
node_memory_CommitLimit_bytesMemory information field CommitLimit_bytesgauge
node_memory_Committed_AS_bytesMemory information field Committed_AS_bytesgauge
node_memory_DirectMap1G_bytesMemory information field DirectMap1G_bytesgauge
node_memory_DirectMap2M_bytesMemory information field DirectMap2M_bytesgauge
node_memory_DirectMap4k_bytesMemory information field DirectMap4k_bytesgauge
node_memory_Dirty_bytesMemory information field Dirty_bytesgauge
node_memory_HugePages_FreeMemory information field HugePages_Freegauge
node_memory_HugePages_RsvdMemory information field HugePages_Rsvdgauge
node_memory_HugePages_SurpMemory information field HugePages_Surpgauge
node_memory_HugePages_TotalMemory information field HugePages_Totalgauge
node_memory_Hugepagesize_bytesMemory information field Hugepagesize_bytesgauge
node_memory_Inactive_anon_bytesMemory information field Inactive_anon_bytesgauge
node_memory_Inactive_bytesMemory information field Inactive_bytesgauge
node_memory_Inactive_file_bytesMemory information field Inactive_file_bytesgauge
node_memory_KernelStack_bytesMemory information field KernelStack_bytesgauge
node_memory_Mapped_bytesMemory information field Mapped_bytesgauge
node_memory_MemAvailable_bytesMemory information field MemAvailable_bytesgauge
node_memory_MemFree_bytesMemory information field MemFree_bytesgauge
node_memory_MemTotal_bytesMemory information field MemTotal_bytesgauge
node_memory_Mlocked_bytesMemory information field Mlocked_bytesgauge
node_memory_NFS_Unstable_bytesMemory information field NFS_Unstable_bytesgauge
node_memory_PageTables_bytesMemory information field PageTables_bytesgauge
node_memory_SReclaimable_bytesMemory information field SReclaimable_bytesgauge
node_memory_SUnreclaim_bytesMemory information field SUnreclaim_bytesgauge
node_memory_ShmemHugePages_bytesMemory information field ShmemHugePages_bytesgauge
node_memory_ShmemPmdMapped_bytesMemory information field ShmemPmdMapped_bytesgauge
node_memory_Shmem_bytesMemory information field Shmem_bytesgauge
node_memory_Slab_bytesMemory information field Slab_bytesgauge
node_memory_SwapCached_bytesMemory information field SwapCached_bytesgauge
node_memory_SwapFree_bytesMemory information field SwapFree_bytesgauge
node_memory_SwapTotal_bytesMemory information field SwapTotal_bytesgauge
node_memory_Unevictable_bytesMemory information field Unevictable_bytesgauge
node_memory_VmallocChunk_bytesMemory information field VmallocChunk_bytesgauge
node_memory_VmallocTotal_bytesMemory information field VmallocTotal_bytesgauge
node_memory_VmallocUsed_bytesMemory information field VmallocUsed_bytesgauge
node_memory_WritebackTmp_bytesMemory information field WritebackTmp_bytesgauge
node_memory_Writeback_bytesMemory information field Writeback_bytesgauge
node_netstat_Icmp6_InErrorsStatistic Icmp6InErrorsgauge
node_netstat_Icmp6_InMsgsStatistic Icmp6InMsgsgauge
node_netstat_Icmp6_OutMsgsStatistic Icmp6OutMsgsgauge
node_netstat_Icmp_InErrorsStatistic IcmpInErrorsgauge
node_netstat_Icmp_InMsgsStatistic IcmpInMsgsgauge
node_netstat_Icmp_OutMsgsStatistic IcmpOutMsgsgauge
node_netstat_Ip6_InOctetsStatistic Ip6InOctetsgauge
node_netstat_Ip6_OutOctetsStatistic Ip6OutOctetsgauge
node_netstat_IpExt_InOctetsStatistic IpExtInOctetsgauge
node_netstat_IpExt_OutOctetsStatistic IpExtOutOctetsgauge
node_netstat_Ip_ForwardingStatistic IpForwardinggauge
node_netstat_TcpExt_ListenDropsStatistic TcpExtListenDropsgauge
node_netstat_TcpExt_ListenOverflowsStatistic TcpExtListenOverflowsgauge
node_netstat_TcpExt_SyncookiesFailedStatistic TcpExtSyncookiesFailedgauge
node_netstat_TcpExt_SyncookiesRecvStatistic TcpExtSyncookiesRecvgauge
node_netstat_TcpExt_SyncookiesSentStatistic TcpExtSyncookiesSentgauge
node_netstat_Tcp_ActiveOpensStatistic TcpActiveOpensgauge
node_netstat_Tcp_CurrEstabStatistic TcpCurrEstabgauge
node_netstat_Tcp_InErrsStatistic TcpInErrsgauge
node_netstat_Tcp_PassiveOpensStatistic TcpPassiveOpensgauge
node_netstat_Tcp_RetransSegsStatistic TcpRetransSegsgauge
node_netstat_Udp6_InDatagramsStatistic Udp6InDatagramsgauge
node_netstat_Udp6_InErrorsStatistic Udp6InErrorsgauge
node_netstat_Udp6_NoPortsStatistic Udp6NoPortsgauge
node_netstat_Udp6_OutDatagramsStatistic Udp6OutDatagramsgauge
node_netstat_UdpLite6_InErrorsStatistic UdpLite6InErrorsgauge
node_netstat_UdpLite_InErrorsStatistic UdpLiteInErrorsgauge
node_netstat_Udp_InDatagramsStatistic UdpInDatagramsgauge
node_netstat_Udp_InErrorsStatistic UdpInErrorsgauge
node_netstat_Udp_NoPortsStatistic UdpNoPortsgauge
node_netstat_Udp_OutDatagramsStatistic UdpOutDatagramsgauge
node_network_receive_bytes_totalNetwork device statistic receive_bytescumulative
node_network_receive_compressed_totalNetwork device statistic receive_compressedcumulative
node_network_receive_drop_totalNetwork device statistic receive_dropcumulative
node_network_receive_errs_totalNetwork device statistic receive_errscumulative
node_network_receive_fifo_totalNetwork device statistic receive_fifocumulative
node_network_receive_frame_totalNetwork device statistic receive_framecumulative
node_network_receive_multicast_totalNetwork device statistic receive_multicastcumulative
node_network_receive_packets_totalNetwork device statistic receive_packetscumulative
node_network_transmit_bytes_totalNetwork device statistic transmit_bytescumulative
node_network_transmit_carrier_totalNetwork device statistic transmit_carriercumulative
node_network_transmit_colls_totalNetwork device statistic transmit_collscumulative
node_network_transmit_compressed_totalNetwork device statistic transmit_compressedcumulative
node_network_transmit_drop_totalNetwork device statistic transmit_dropcumulative
node_network_transmit_errs_totalNetwork device statistic transmit_errscumulative
node_network_transmit_fifo_totalNetwork device statistic transmit_fifocumulative
node_network_transmit_packets_totalNetwork device statistic transmit_packetscumulative
node_nf_conntrack_entriesNumber of currently allocated flow entries for connection trackinggauge
node_nf_conntrack_entries_limitMaximum size of connection tracking tablegauge
node_procs_blockedNumber of processes blocked waiting for I/O to completegauge
node_procs_runningNumber of processes in runnable stategauge
node_scrape_collector_duration_secondsDuration of a collector scrapegauge
node_scrape_collector_successWhether a collector succeededgauge
node_sockstat_FRAG_inuseNumber of FRAG sockets in state inusegauge
node_sockstat_FRAG_memoryNumber of FRAG sockets in state memorygauge
node_sockstat_RAW_inuseNumber of RAW sockets in state inusegauge
node_sockstat_TCP_allocNumber of TCP sockets in state allocgauge
node_sockstat_TCP_inuseNumber of TCP sockets in state inusegauge
node_sockstat_TCP_memNumber of TCP sockets in state memgauge
node_sockstat_TCP_mem_bytesNumber of TCP sockets in state mem_bytesgauge
node_sockstat_TCP_orphanNumber of TCP sockets in state orphangauge
node_sockstat_TCP_twNumber of TCP sockets in state twgauge
node_sockstat_UDPLITE_inuseNumber of UDPLITE sockets in state inusegauge
node_sockstat_UDP_inuseNumber of UDP sockets in state inusegauge
node_sockstat_UDP_memNumber of UDP sockets in state memgauge
node_sockstat_UDP_mem_bytesNumber of UDP sockets in state mem_bytesgauge
node_sockstat_sockets_usedNumber of sockets sockets in state usedgauge
node_textfile_scrape_error1 if there was an error opening or reading a file, 0 otherwisegauge
node_time_secondsSystem time in seconds since epoch (1970)gauge
node_uname_infoLabeled system information as provided by the uname system callgauge
node_vmstat_pgfault/proc/vmstat information field pgfaultgauge
node_vmstat_pgmajfault/proc/vmstat information field pgmajfaultgauge
node_vmstat_pgpgin/proc/vmstat information field pgpgingauge
node_vmstat_pgpgout/proc/vmstat information field pgpgoutgauge
node_vmstat_pswpin/proc/vmstat information field pswpingauge
node_vmstat_pswpout/proc/vmstat information field pswpoutgauge

cAdvisor metrics

출처 : https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md

Metric nameTypeDescriptionUnit (where applicable)option parameteradditional build flag
container_accelerator_duty_cycleGaugePercent of time over the past sample period during which the accelerator was actively processingpercentageaccelerator
container_accelerator_memory_total_bytesGaugeTotal accelerator memorybytesaccelerator
container_accelerator_memory_used_bytesGaugeTotal accelerator memory allocatedbytesaccelerator
container_blkio_device_usage_totalCounterBlkio device bytes usagebytesdiskIO
container_cpu_cfs_periods_totalCounterNumber of elapsed enforcement period intervalscpu
container_cpu_cfs_throttled_periods_totalCounterNumber of throttled period intervalscpu
container_cpu_cfs_throttled_seconds_totalCounterTotal time duration the container has been throttledsecondscpu
container_cpu_load_average_10sGaugeValue of container cpu load average over the last 10 secondscpuLoad
container_cpu_schedstat_run_periods_totalCounterNumber of times processes of the cgroup have run on the cpusched
container_cpu_schedstat_runqueue_seconds_totalCounterTime duration processes of the container have been waiting on a runqueuesecondssched
container_cpu_schedstat_run_seconds_totalCounterTime duration the processes of the container have run on the CPUsecondssched
container_cpu_system_seconds_totalCounterCumulative system cpu time consumedsecondscpu
container_cpu_usage_seconds_totalCounterCumulative cpu time consumedsecondscpu
container_cpu_user_seconds_totalCounterCumulative user cpu time consumedsecondscpu
container_file_descriptorsGaugeNumber of open file descriptors for the containerprocess
container_fs_inodes_freeGaugeNumber of available Inodesdisk
container_fs_inodes_totalGaugeTotal number of Inodesdisk
container_fs_io_currentGaugeNumber of I/Os currently in progressdiskIO
container_fs_io_time_seconds_totalCounterCumulative count of seconds spent doing I/OssecondsdiskIO
container_fs_io_time_weighted_seconds_totalCounterCumulative weighted I/O timesecondsdiskIO
container_fs_limit_bytesGaugeNumber of bytes that can be consumed by the container on this filesystembytesdisk
container_fs_reads_bytes_totalCounterCumulative count of bytes readbytesdiskIO
container_fs_read_seconds_totalCounterCumulative count of seconds spent readingdiskIO
container_fs_reads_merged_totalCounterCumulative count of reads mergeddiskIO
container_fs_reads_totalCounterCumulative count of reads completeddiskIO
container_fs_sector_reads_totalCounterCumulative count of sector reads completeddiskIO
container_fs_sector_writes_totalCounterCumulative count of sector writes completeddiskIO
container_fs_usage_bytesGaugeNumber of bytes that are consumed by the container on this filesystembytesdisk
container_fs_writes_bytes_totalCounterCumulative count of bytes writtenbytesdiskIO
container_fs_write_seconds_totalCounterCumulative count of seconds spent writingsecondsdiskIO
container_fs_writes_merged_totalCounterCumulative count of writes mergeddiskIO
container_fs_writes_totalCounterCumulative count of writes completeddiskIO
container_hugetlb_failcntCounterNumber of hugepage usage hits limitshugetlb
container_hugetlb_max_usage_bytesGaugeMaximum hugepage usages recordedbyteshugetlb
container_hugetlb_usage_bytesGaugeCurrent hugepage usagebyteshugetlb
container_last_seenGaugeLast time a container was seen by the exportertimestamp-
container_llc_occupancy_bytesGaugeLast level cache usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM).bytesresctrl
container_memory_bandwidth_bytesGaugeTotal memory bandwidth usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM).bytesresctrl
container_memory_bandwidth_local_bytesGaugeLocal memory bandwidth usage statistics for container counted with RDT Memory Bandwidth Monitoring (MBM).bytesresctrl
container_memory_cacheGaugeTotal page cache memorybytesmemory
container_memory_failcntCounterNumber of memory usage hits limitsmemory
container_memory_failures_totalCounterCumulative count of memory allocation failuresmemory
container_memory_mapped_fileGaugeSize of memory mapped filesbytesmemory
container_memory_max_usage_bytesGaugeMaximum memory usage recordedbytesmemory
container_memory_migrateGaugeMemory migrate statuscpuset
container_memory_numa_pagesGaugeNumber of used pages per NUMA nodememory_numa
container_memory_rssGaugeSize of RSSbytesmemory
container_memory_swapGaugeContainer swap usagebytesmemory
container_memory_usage_bytesGaugeCurrent memory usage, including all memory regardless of when it was accessedbytesmemory
container_memory_working_set_bytesGaugeCurrent working setbytesmemory
container_network_advance_tcp_stats_totalGaugeadvanced tcp connections statistic for containeradvtcp
container_network_receive_bytes_totalCounterCumulative count of bytes receivedbytesnetwork
container_network_receive_errors_totalCounterCumulative count of errors encountered while receivingnetwork
container_network_receive_packets_dropped_totalCounterCumulative count of packets dropped while receivingnetwork
container_network_receive_packets_totalCounterCumulative count of packets receivednetwork
container_network_tcp6_usage_totalGaugetcp6 connection usage statistic for containertcp
container_network_tcp_usage_totalGaugetcp connection usage statistic for containertcp
container_network_transmit_bytes_totalCounterCumulative count of bytes transmittedbytesnetwork
container_network_transmit_errors_totalCounterCumulative count of errors encountered while transmittingnetwork
container_network_transmit_packets_dropped_totalCounterCumulative count of packets dropped while transmittingnetwork
container_network_transmit_packets_totalCounterCumulative count of packets transmittednetwork
container_network_udp6_usage_totalGaugeudp6 connection usage statistic for containerudp
container_network_udp_usage_totalGaugeudp connection usage statistic for containerudp
container_oom_events_totalCounterCount of out of memory events observed for the containeroom_event
container_perf_events_scaling_ratioGaugeScaling ratio for perf event counter (event can be identified by event label and cpu indicates the core for which event was measured). See perf event configuration.perf_eventlibpfm
container_perf_events_totalCounterScaled counter of perf core event (event can be identified by event label and cpu indicates the core for which event was measured). See perf event configuration.perf_eventlibpfm
container_perf_uncore_events_scaling_ratioGaugeScaling ratio for perf uncore event counter (event can be identified by event label, pmu and socket lables indicate the PMU and the CPU socket for which event was measured). See perf event configuration. Metric exists only for main cgroup (id="/").perf_eventlibpfm
container_perf_uncore_events_totalCounterScaled counter of perf uncore event (event can be identified by event label, pmu and socket lables indicate the PMU and the CPU socket for which event was measured). See perf event configuration). Metric exists only for main cgroup (id="/").perf_eventlibpfm
container_processesGaugeNumber of processes running inside the containerprocess
container_referenced_bytesGaugeContainer referenced bytes during last measurements cycle based on Referenced field in /proc/smaps file, with /proc/PIDs/clear_refs set to 1 after defined number of cycles configured through referenced_reset_interval cAdvisor parameter. Warning: this is intrusive collection because can influence kernel page reclaim policy and add latency. Refer to https://github.com/brendangregg/wss#wsspl-referenced-page-flag for more details.bytesreferenced_memory
container_socketsGaugeNumber of open sockets for the containerprocess
container_spec_cpu_periodGaugeCPU period of the container-
container_spec_cpu_quotaGaugeCPU quota of the container-
container_spec_cpu_sharesGaugeCPU share of the container-
container_spec_memory_limit_bytesGaugeMemory limit for the containerbytes-
container_spec_memory_reservation_limit_bytesGaugeMemory reservation limit for the containerbytes
container_spec_memory_swap_limit_bytesGaugeMemory swap limit for the containerbytes
container_start_time_secondsGaugeStart time of the container since unix epochseconds
container_tasks_stateGaugeNumber of tasks in given state (sleeping, running, stopped, uninterruptible, or ioawaiting)cpuLoad
container_threadsGaugeNumber of threads running inside the containerprocess
container_threads_maxGaugeMaximum number of threads allowed inside the containerprocess
container_ulimits_softGaugeSoft ulimit values for the container root process. Unlimited if -1, except priority and niceprocess
profile
함께 성장하고 싶은 백엔드 개발자

0개의 댓글