elastic / elastic/apm-agent-php

Inferred spans not working, ELASTIC_APM_PROFILING_INFERRED_SPANS_ENABLED not activating them.

Open
#1,225 0 comments 0 reactions 0 assignees View on GitHub
agent-php bug
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Env variables to configure inferred spans has no effect at all

**To Reproduce**
Steps to reproduce the behavior:
1. Use this config: Elasticsearch 8.15.0, Kibana 8.15.0, APM server 8.15.0, APM PHP agent 1.14.1
3. Configuring the variables `ELASTIC_APM_PROFILING_INFERRED_SPANS_ENABLED`, `ELASTIC_APM_PROFILING_INFERRED_SPANS_MIN_DURATION`, `ELASTIC_APM_PROFILING_INFERRED_SPANS_SAMPLING_INTERVAL` has no effect at all. All the spans are recorded as the inferred spans functionality has not been enabled at all.

**Expected behavior**
Setting the mentioned env variables should enable and configure inferred spans in APM PHP agent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.