# Nginx Ingress and APM

**URL:** <https://discuss.elastic.co/t/nginx-ingress-and-apm/267082>\
**Category:** APM\
**Tags:** server\
**Created:** [March 12, 2021, 12:25pm UTC](https://discuss.elastic.co/t/nginx-ingress-and-apm/267082 "2021-03-12T12:25:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterVertical](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/petervertical/32/78648_2.png) [@PeterVertical](https://discuss.elastic.co/u/PeterVertical)\
**Post date:** [March 12, 2021, 12:25pm UTC](https://discuss.elastic.co/t/nginx-ingress-and-apm/267082/1 "2021-03-12T12:25:47Z")

</div>

Hi

Is there some information or tutorial about using the nginx ingress opentracing support with elastic apm?  
I can find tutorials for other apm solutions but not for elastic.  
Can anybody point me in the right direction?

background:  
As sometimes we have delays or problems with our request before reaching our microservices we like to beginn collecting traces as soon as possible, which would be at the nginx ingress of our kubernetes cluster.

---

<div class="post-metadata">

**Author:** ![gil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gil/32/41911_2.png) [@gil](https://discuss.elastic.co/u/gil)\
**Post date:** [March 12, 2021, 5:58pm UTC](https://discuss.elastic.co/t/nginx-ingress-and-apm/267082/2 "2021-03-12T17:58:34Z")

</div>

Welcome to forums @PeterVertical.

I think your best option for nginx + opentracing to Elastic APM is to use the [jaeger integration](https://www.elastic.co/guide/en/apm/server/current/jaeger.html).

You might also consider the [OpenTelemetry nginx](https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/instrumentation/nginx) support - follow [these instructions](https://www.elastic.co/guide/en/apm/get-started/current/open-telemetry-elastic.html) to get started.

Happy to help if you have more questions on either route.

---

<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:** [April 2, 2021, 1:59pm UTC](https://discuss.elastic.co/t/nginx-ingress-and-apm/267082/3 "2021-04-02T13:59:03Z")

</div>

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