Process
| Metric name | Illustration | Unit | Example value |
|---|---|---|---|
| cpu | CPU use rate of process | % | 0.30% |
| mem | Memory use of process | KB | 878592.00 KB |
| memRate | Memory use rate of process | % | 22.4% |
| conn | Connection count of process | Piece | 783 pieces |
| conn_port No. Example: conn_8070 |
Connection count of specified port of process | Piece | 154 pieces |
| in | Inlet traffic of process | KB/s | 10.4 KB/s |
| out | Outlet traffic of process | KB/s | 5.7 KB/s |
| in_port number Example: conn_8070 |
Inlet traffic of specified port of process | KB/s | 21.6 KB/s |
| out_port number Example: conn_8070 |
Outlet traffic of specified port of process | KB/s | 1.2 KB/s |
| disk_read | Read speed of disk of process | KB/s | 0.1 KB/s |
| disk_write | Write speed of disk of process | KB/s | 0.82 KB/s |
OpenTSDB Storage Metric
The container data are stored in OpenTSDB in the metric format of ‘procState.metric name’, wherein for metrics whose names are prefixed with conn/in/out_*, the metric format shall be procState.conn/in/out_. Query tags to add ptag. The value shall be the name of specific metric (such as conn_8080).
Value of instid in tags shall be ip_processName_processID. pgid represents a process, e.g. intsid:10.10.37.44_mongo_32342; pgid:mongo
Tips: Values of all tags are required to be escaped into the valid characters of opensdb. For instance, ':’ should be escaped into ' \u003a '