webrec

Specifications

  • Parameters: 10
  • Data Source: HTTP Response time
  • API: WWW::Curl
  • Programming Language: Perl 5
  • Library of Monitoring Objects: IT/Computer Performance

Functions

webrec reports TTFB (time to first byte) for one or many HTTP workloads, applications, as an indication of the responsiveness. TTFB measures the duration from the virtual user making an HTTP request to the first byte of the page being received by the browser. This time is made up of the socket connection time, the time taken to send the HTTP request, and the time taken to get the first byte of the page.

Data Message

webrec records HTTP response times for one or many requests, supporting HTTP, HTTPS, GET, POST methods. These are the metrics reported by webrec:

id name type description
1 timestamp time seconds since Epoch
2 workload string the name of the workload
3 reqid string the name, id of the request
4 ttime numeric total time, in seconds, that the full operation lasted
5 ctime numeric connect time, in seconds, it took from the start, until the TCP connect to the remote host (or proxy) was completed
6 dnstime numeric namelookup time, in seconds, it took from the start until the name resolving was completed
7 ptime numeric protocol time, in seconds, it took from the start until the file transfer was just about to begin. Includes all pre-transfer commands and negotiations that are specific to the particular protocol(s) involved percentage, gauge
8 fpktime numeric first packet time, in seconds, it took from the start, until the first byte was just about to be transferred. This includes time_pretransfer and also the time the server needed to calculate the result.
9 psize numeric page size, the total amount of bytes that were downloaded
10 status numeric response status code, the numerical response code that was found in the last retrieved HTTP(S) transfer