API Reference Guide > Zend Statistics - Configuration Directives

Zend Statistics - Configuration Directives

This topic lists all the configuration directives for Zend Statistics.

Configuration Directives Summary

The table below is a summary of all the Zend Statistics configuration directives, and displays the directive name, its default value, and a description:

Directive

Default Value

Description

zend_statistics.log_verbosity_level

3

The log's verbosity level.

zend_statistics.enable

1

Enables statistics gathering.

zend_statistics.optimizerplus.enable

0

Enables statistics gathering for O+. Data available via WebAPI only.

zend_statistics.pagecache.enable

0

Enables statistics gathering for Page Cache. Data available via WebAPI only.

zend_statistics.datacache.enable

0

Enables statistics gathering for Data Cache. Data available via WebAPI only.

zend_statistics.data_dir

ZEND_PREFIX/tmp/stats

Location for temporary statistics data files

zend_statistics.report_interval_daily

60

When to flush statistics information for the daily entries.

zend_statistics.report_interval_weekly

60

When to flush statistics information for the weekly entries.

zend_statistics.report_interval_monthly

24

When to flush statistics information for the monthly entries.

zend_statistics.history_daily

2

Time range for storing daily entries.

zend_statistics.history_weekly

2

Time range for storing weekly entries.

zend_statistics.history_monthly

12

Time range for storing monthly entries.

Configuration Directives Details

The list below contains information for all the available configuration directives for Zend Statistics: their description, type, units, default value, modification scope, and the Zend Server version they became available in.

zend_statistics.log_verbosity_level

The log's verbosity level.

Default Value: 3

Type: int

Available Since Version: 6.0

zend_statistics.enable

Enables statistics gathering.

Default Value: 1

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.optimizerplus.enable

Enables statistics gathering for O+. Data available via WebAPI only.

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.pagecache.enable

Enables statistics gathering for Page Cache. Data available via WebAPI only.

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.datacache.enable

Enables statistics gathering for Data Cache. Data available via WebAPI only.

Default Value: 0

Type: boolean

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.data_dir

Location for temporary statistics data files

Default Value: ZEND_PREFIX/tmp/stats

Type: string

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.report_interval_daily

When to flush statistics information for the daily entries.

Default Value: 60

Units: seconds

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.report_interval_weekly

When to flush statistics information for the weekly entries.

Default Value: 60

Units: minutes

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.report_interval_monthly

When to flush statistics information for the monthly entries.

Default Value: 24

Units: hours

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.history_daily

Time range for storing daily entries.

Default Value: 2

Units: days

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.history_weekly

Time range for storing weekly entries.

Default Value: 2

Units: weeks

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0

zend_statistics.history_monthly

Time range for storing monthly entries.

Default Value: 12

Units: months

Type: int

Modification Scope: ZEND_INI_SYSTEM

Available Since Version: 6.0