Ez Statistics Module

Author Message

Liubomir Armoutliev

Tuesday 09 November 2004 6:11:34 am

Hi,
Can s.o tell me about the EZ stats module from ez version 2.2.9 - it's gone in newer versions. Is it in the EZ Professional or Enterprise ?
I'm working with the free version and I'm intending to write an extension for the admin interface to accomplish that functionality .
Is there another (faster) approach ?

Frederik Holljen

Tuesday 09 November 2004 6:43:08 am

This functionality was disabled in the later 2.x versions and removed completely from 3.x because it uses to many resources. Also, the information is generally available through the apache logs and there are many good tools out there to analyze them. If you want to have statistics directly into eZ publish I would suggest either integrating one of the existing tools or to write a tool based on the apache logs yourself.

Frederik Holljen

Tuesday 09 November 2004 6:44:04 am

and btw: the pro and enterprise versions of eZ publish do not contain any extra functionality.

Paul Borgermans

Tuesday 09 November 2004 7:15:33 am

Problem: userid's aren't logged. Does anyone (Derick?) know how to set the apache http log variables from php ? If we could fill in the userid there, prblem solved. If not, best to log to tables or db from index.php with time, userid, module/action, node/object/id

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Frederik Holljen

Tuesday 09 November 2004 7:22:27 am

Then I would suggest logging to file (much faster) or to another program which can execute the SQL calls asynchronously

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:25:05
Script start
Timing: Jan 31 2025 06:25:05
Module start 'layout'
Timing: Jan 31 2025 06:25:05
Module start 'content'
Timing: Jan 31 2025 06:25:05
Module end 'content'
Timing: Jan 31 2025 06:25:05
Script end

Main resources:

Total runtime0.0170 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.0313151.1953
Module start 'layout' 0.00720.0028 739.226636.6172
Module start 'content' 0.01000.0055 775.843894.1250
Module end 'content' 0.01560.0014 869.968833.9922
Script end 0.0170  903.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002313.4644140.0002
Check MTime0.00106.1067140.0001
Mysql Total
Database connection0.00084.876610.0008
Mysqli_queries0.004627.313130.0015
Looping result0.00000.071510.0000
Template Total0.00106.110.0010
Template load0.00084.841610.0008
Template processing0.00021.230010.0002
Override
Cache load0.00063.558310.0006
General
dbfile0.00169.526180.0002
String conversion0.00000.046340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs