Application Container

Mount Directory: /boot, /home, /opt, /dev/shm, /data, and /app, etc.

Replace slash (/) with dot (.) in the mount directory for metrics below

Example: If the original mount directory is /dev/shm, then the mount directory in metrics shall be dev.shm

Physical Disk: sda, sdb, and sdc, etc.

Metric name Illustration Unit Example value
os.cpu.load Load of system CPU % 3%
os.cpu.load Average load of system CPU % 11%
os.cpu.freemem Free memory of system Byte 167190528 bytes
os.conn.cur Service connection count of system Piece 22 pieces
os.io.disk. Mount directory.free
Example: os.io.disk.home.free
Free disk of mount directory KB 4748844 KB
os.io.disk. Mount directory.use
Example: os.io.disk.home.use
Disk use of mount directory KB 10196 KB
os.io.disk. Mount directory.useRate
Example: os.io.disk.home.useRate
Disk use rate of mount directory % 1%
os.io.disk. Mount directory.freeInode
Example: os.io.disk.home.freeInode
Free Inode count on the disk (Linux) of mount directory Piece 4646864 pieces
os.io.disk. Mount directory.useInode
Example: os.io.disk.home.useInode
Used Inode count on the disk (Linux) of mount directory Piece 10293 pieces
os.io.disk. Mount directory.useRateInode
Example: os.io.disk.home.useRateInode
Use rate of Inode on the disk (Linux) of mount directory % 1%
os.io.disk. Physical disk.disk_read
Example: os.io.disk.sda.disk_read
Read speed of the physical disk of system KB/s 42.14 KB/s
os.io.disk. Physical disk.disk_write
Example: os.io.disk.sda.disk_write
Write speed of the physical disk of system KB/s 3.46 KB/s

OpenTSDB Storage Metric

The container data are stored in OpenTSDB in the metric format of ‘hostState.metricName’, wherein for metrics whose names are prefixed with os.io.disk.*, the metric format shall be hostState.os.io.disk. Query tags to add ptag. The value shall be the name of specific metric (such as os.io.disk.home.useRate).

Value of instid and pgid in tags shall be container IP, e.g. 10.10.37.44

Tips: Values of all tags are required to be escaped into the valid characters of OpenTSDB. For instance, ':’ should be escaped into ' \u003a '

results matching ""

    No results matching ""