APM Server version:7.17.0
APM Agent language and version:PHP 1.3.1
Original install method (e.g. download page, yum, deb, from source, etc.) and version:
Fresh install or upgraded from other version? upgraded
Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): Custom Labels are not included for non sampled transactions but we are expecting labels for non sampled transactions, following is sample code added in PHP application :$transaction->context()->setLabel('my label with string value', 'some text');
Steps to reproduce:
- Added custom labels to PHP application and ran the application.
- Searched APM transactions from Kibana App and found transactions but no labels and these transactions are non sampled.
- Seen the labels for sampled transactions.
Errors in browser console (if relevant):NA
Provide logs and/or server output (if relevant):NA