Page Speed Optimization Libraries
1.13.35.1
|
#include "usage_data_reporter.h"
Public Member Functions | |
virtual void | ReportCsiBeacon (const GoogleUrl &url) |
virtual void | ReportResponseData (const GoogleUrl &url, int32 response_code, const GoogleString &reason_phrase, const ContentType *content_type, int64 time_taken, const GoogleString &ip, const GoogleString &user_agent) |
Reports all useful response data. | |
virtual void | ReportFetchErrors (const GoogleString &host, const GoogleString &url, int32 error_code, const StringPiece &fetch_error) |
Reports fetch errors. | |
virtual void | ReportWarning (const GoogleUrl &url, int32 warning_code, const StringPiece &warning_message) |
Report a warning. | |
virtual void | ReportBandwidth (int64 project_id, const GoogleUrl &url, int64 bandwidth, StringPiece referer) |
Report bandwidth. | |
General interface for reporting usage data such as page load time, error response codes, various rewriter warnings. Default implementation ignores all reports, other implementations may do things like aggregate the top 10 most common error URls, etc.
|
inlinevirtual |
Reports client-side instrumentation beacon. The mod_pagespeed beacons are of the form: http://www.example.com/mod_pagespeed_beacon?ets=load:xxx Implementation must parse the URL and extract interesting information.