Skip to content

Wrong duration value after apm.event_enabled is set to "0" #67

@merabtav

Description

@merabtav

Hi,

apm.event_enabled="0"
apm.mysql_enabled=On
apm.mysql_stats_enabled=On

with this settings in apm.ini file I am getting wrong duration values (something like 1519402509) in the stats table, but with apm.event_enabled="1" duration values are correct.

After little investigation I have changed code in the apm.c file like this and an issue was disappeared.

diff apm.c apm_orig.c
355c355
< // if (APM_G(event_enabled)) {

> if (APM_G(event_enabled)) {
362c362
< // }

> }

Is the above patch correct or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions