Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
net_instaweb::RewriteStats Class Reference

Collects a few specific statistics variables related to Rewriting. More...

#include "rewrite_stats.h"

Public Member Functions

 RewriteStats (bool has_waveforms, Statistics *stats, ThreadSystem *thread_system, Timer *timer)
 
Variablecached_output_hits ()
 
Variablecached_output_missed_deadline ()
 
Variablecached_output_misses ()
 
Variablecached_resource_fetches ()
 
Variablefailed_filter_resource_fetches ()
 
Variablenum_cache_control_rewritable_resources ()
 
Variablenum_cache_control_not_rewritable_resources ()
 
Variablenum_flushes ()
 
Variableresource_404_count ()
 
Variableresource_url_domain_acceptances ()
 
Variableresource_url_domain_rejections ()
 
Variableslurp_404_count ()
 
Variablesucceeded_filter_resource_fetches ()
 
Variabletotal_page_load_ms ()
 
Variablepage_load_count ()
 
Variablefallback_responses_served ()
 
Variablenum_proactively_freshen_user_facing_request ()
 
Variablefallback_responses_served_while_revalidate ()
 
Variablenum_conditional_refreshes ()
 
Variableipro_served ()
 
Variableipro_not_in_cache ()
 
Variableipro_not_rewritable ()
 
Variabledownstream_cache_purge_attempts ()
 
Variablesuccessful_downstream_cache_purges ()
 
Histogrambeacon_timings_ms_histogram ()
 
Histogramfetch_latency_histogram ()
 .pagespeed. resource latency in ms.
 
Histogramrewrite_latency_histogram ()
 HTML rewrite latency in ms.
 
Histogrambackend_latency_histogram ()
 
TimedVariabletotal_fetch_count ()
 Number of .pagespeed. resources fetched.
 
TimedVariabletotal_rewrite_count ()
 Number of HTML pages rewritten.
 
Waveformthread_queue_depth (RewriteDriverFactory::WorkerPoolCategory pool)
 
TimedVariablenum_rewrites_executed ()
 
TimedVariablenum_rewrites_dropped ()
 

Static Public Member Functions

static void InitStats (Statistics *statistics)
 

Static Public Attributes

static const char kNumCacheControlRewritableResources []
 
static const char kNumCacheControlNotRewritableResources []
 
static const char kNumResourceFetchSuccesses []
 
static const char kNumResourceFetchFailures []
 
static const char kResourceUrlDomainAcceptances []
 
static const char kResourceUrlDomainRejections []
 
static const char kDownstreamCachePurgeAttempts []
 Variable tracking number of downstream cache purges issued.
 
static const char kSuccessfulDownstreamCachePurges []
 

Detailed Description

Collects a few specific statistics variables related to Rewriting.

Member Function Documentation

Variable* net_instaweb::RewriteStats::page_load_count ( )
inline

Note: page_load_count is a misnomer, it is really beacon count.

Todo:
TODO(sligocki): Rename to something more clear.
Waveform* net_instaweb::RewriteStats::thread_queue_depth ( RewriteDriverFactory::WorkerPoolCategory  pool)
inline

Returns a waveform object for recording the current thread-queue depth. Note: for servers that don't support waveforms, null will be returned.

Member Data Documentation

const char net_instaweb::RewriteStats::kSuccessfulDownstreamCachePurges[]
static

Variable tracking number of downstream cache purges that were successful (200s).


The documentation for this class was generated from the following file: