Application Instance
Metric name | Illustration | Unit | Example value |
---|---|---|---|
tavg | Average response time | ms | 8 ms |
tmax | Longest response time | ms | 8 ms |
tmin | Shortest response time | ms | 8 ms |
tsum | Total response time | ms | 8 ms |
err | Error count, over 400 responses | Piece | 1 piece |
warn | Warning count | Piece | 1 piece |
RC+HTTP response state code Example: RC500 and RC502 |
Frequency of response code | Time | 1 time |
count | Access count, total access | time | 12 times |
OpenTSDB Storage Metric
The application instance data are stored in OpenTSDB in the metric format of ‘appResp.metric name’, wherein for metrics whose names are prefixed with RC*, the metric format shall be appResp.RC. Retrieve tags to add ptag. The value shall be the name of specific metric (such as RC400).
Value of instid in tags shall be appurl---appid. pgid represents AppBase path---AppHome path, e.g. intsid:http://10.10.37.44:8080/myapp and pgid:/app/tomcat7---/app/tomcat7
Tips: Values of all tags are required to be escaped into the valid characters of opensdb. For instance, ':’ should be escaped into ' \u003a '