Changeset c69d4c


Ignore:
Timestamp:
2011-10-03 08:49:09 (3 years ago)
Author:
Per Buer <perbu@…>
Branches:
master, 4.0, experimental-ims
Children:
b4fee2
Parents:
6d50fb
git-author:
Per Buer <perbu@…> (2011-10-03 08:49:09)
git-committer:
Per Buer <perbu@…> (2011-10-03 08:49:09)
Message:

Described some of the counters based on notes in the wiki.
Please let me know if any of them are way off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/vsc_fields.h

    rac393c rc69d4c  
    8282/*---------------------------------------------------------------------*/ 
    8383 
    84 VSC_F(client_req,               uint64_t, 1, 'a', "Client requests received", "") 
    85  
    86 VSC_F(cache_hit,                uint64_t, 1, 'a', "Cache hits", "") 
    87 VSC_F(cache_hitpass,    uint64_t, 1, 'a', "Cache hits for pass", "") 
    88 VSC_F(cache_miss,               uint64_t, 1, 'a', "Cache misses", "") 
    89  
    90 VSC_F(backend_conn,     uint64_t, 0, 'a', "Backend conn. success", "") 
    91 VSC_F(backend_unhealthy,        uint64_t, 0, 'a', "Backend conn. not attempted", "") 
     84VSC_F(client_req,               uint64_t, 1, 'a',  
     85      "Client requests received",  
     86      "") 
     87 
     88VSC_F(cache_hit,                uint64_t, 1, 'a',  
     89      "Cache hits",  
     90      "Count of cache hits. " 
     91      "  A cache hit indicates that an object has been delivered to a" 
     92      "  client without fetching it from a backend server." 
     93) 
     94 
     95VSC_F(cache_hitpass,    uint64_t, 1, 'a',  
     96      "Cache hits for pass",  
     97      "Count of hits for pass" 
     98      "  A cache hit for pass indicates that Varnish is going to" 
     99      "  pass the request to the backend and this decision has been " 
     100      "  cached in it self. This counts how many times the cached " 
     101      "  decision is being used." 
     102) 
     103VSC_F(cache_miss,               uint64_t, 1, 'a',  
     104      "Cache misses",  
     105      "Count of misses" 
     106      "  A cache miss indicates the object was fetched from the" 
     107      "  backend before delivering it to the backend.") 
     108 
     109VSC_F(backend_conn,     uint64_t, 0, 'a',  
     110      "Backend conn. success",  
     111      "") 
     112 
     113VSC_F(backend_unhealthy,        uint64_t, 0, 'a',  
     114      "Backend conn. not attempted",  
     115      "" 
     116) 
    92117VSC_F(backend_busy,     uint64_t, 0, 'a', "Backend conn. too many", "") 
    93118VSC_F(backend_fail,     uint64_t, 0, 'a', "Backend conn. failures", "") 
    94 VSC_F(backend_reuse,    uint64_t, 0, 'a', "Backend conn. reuses", "") 
     119VSC_F(backend_reuse,    uint64_t, 0, 'a',  
     120      "Backend conn. reuses",  
     121      "Count of backend connection reuses" 
     122      "  This counter is increased whenever we reuse a recycled connection.") 
    95123VSC_F(backend_toolate,  uint64_t, 0, 'a', "Backend conn. was closed", "") 
    96 VSC_F(backend_recycle,  uint64_t, 0, 'a', "Backend conn. recycles", "") 
     124VSC_F(backend_recycle,  uint64_t, 0, 'a',  
     125      "Backend conn. recycles",  
     126      "Count of backend connection recycles" 
     127      "  This counter is increased whenever we have a keep-alive" 
     128      "  connection that is put back into the pool of connections." 
     129      "  It has not yet been used, but it might be, unless the backend" 
     130      "  closes it.") 
    97131VSC_F(backend_retry,    uint64_t, 0, 'a', "Backend conn. retry", "") 
    98132 
     
    222256VSC_F(losthdr,          uint64_t, 0, 'a', "HTTP header overflows", "") 
    223257 
    224 VSC_F(n_objsendfile,    uint64_t, 0, 'a', "Objects sent with sendfile", "") 
    225 VSC_F(n_objwrite,               uint64_t, 0, 'a', "Objects sent with write", "") 
     258VSC_F(n_objsendfile,    uint64_t, 0, 'a', "Objects sent with sendfile",  
     259      "The number of objects sent with the sendfile system call. If enabled " 
     260      "sendfile will be used on object larger than a certain size.") 
     261VSC_F(n_objwrite,               uint64_t, 0, 'a', "Objects sent with write",  
     262      "The number of objects sent with regular write calls." 
     263      "Writes are used when the objects are too small for sendfile " 
     264      "or if the sendfile call has been disabled") 
    226265VSC_F(n_objoverflow,    uint64_t, 1, 'a', 
    227266                                        "Objects overflowing workspace", "") 
Note: See TracChangeset for help on using the changeset viewer.