# Using ElasticAPM distributed tracing to monitor mysql from PHP library calls

**URL:** <https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557>\
**Category:** APM\
**Tags:** ui, php\
**Created:** [May 10, 2021, 9:13am UTC](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557 "2021-05-10T09:13:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Paget](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_paget/32/87081_2.png) [@Mark\_Paget](https://discuss.elastic.co/u/Mark_Paget)\
**Post date:** [May 10, 2021, 9:13am UTC](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557/1 "2021-05-10T09:13:41Z")

</div>

**Kibana version** : 7.12.1

**Elasticsearch version** : 7.12.1

**APM Server version** : 7.12.1

**APM Agent language and version** :PHP 1.0.1

**Browser version** : Chrome Version 90.0.4430.93 (Official Build) (x86\_64)

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: apt-get (ubuntu)

**Fresh install or upgraded from other version?** Fresh

**Is there anything special in your setup?** No brand new install on local machine

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**: I want to trace PHP and mysql calls - but service map only shows PHP and says it will show other connect services or external requests if we can detect them.

**Steps to reproduce** :

1. Install ElasticSearch, Kibana, apm-server to latest version  
2.Configure PHP agent to talk to apm-server
2. Load up /app/apm/services
3. Select service
4. Select Service Map

**Errors in browser console (if relevant)**: N/A

**Provide logs and/or server output (if relevant)**: N/A

 ![Screen Shot 2021-05-10 at 5.06.29 pm](https://us1.discourse-cdn.com/elastic/original/3X/6/2/62aaf747bf18196a117d76ab0c39e254589edbc2.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 31, 2021, 5:14am UTC](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557/2 "2021-05-31T05:14:36Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
