# Support for AWS apache httpclient

**URL:** <https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713>\
**Category:** APM\
**Tags:** java\
**Created:** [June 7, 2019, 8:47am UTC](https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713 "2019-06-07T08:47:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frintrop](https://avatars.discourse-cdn.com/v4/letter/f/e19adc/32.png) [@Frintrop](https://discuss.elastic.co/u/Frintrop)\
**Post date:** [June 7, 2019, 8:47am UTC](https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713/1 "2019-06-07T08:47:04Z")

</div>

Hi, we are using apache httpclient from AWS which have the same httpclient but moved it to another package: com.amazonaws.thirdparty.apache. So default plugin can not find this implementation.  
Any idea how to instrument this ? copy origin plugin to new aws-httpclient plugin or anyother possibility?

---

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [June 7, 2019, 10:10am UTC](https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713/2 "2019-06-07T10:10:24Z")

</div>

Hi,  
are you using this dependency:  
  
software.amazon.awssdk  
aws-http-client-apache  
2.0.0-preview-1  
  
?

---

<div class="post-metadata">

**Author:** ![Frintrop](https://avatars.discourse-cdn.com/v4/letter/f/e19adc/32.png) [@Frintrop](https://discuss.elastic.co/u/Frintrop)\
**Post date:** [June 7, 2019, 10:37am UTC](https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713/3 "2019-06-07T10:37:57Z")

</div>

No.. we are using the bundle: // [https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-bundle](https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-bundle)

compile group: 'com.amazonaws', name: 'aws-java-sdk-bundle', version: '1.11.XXX

---

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [June 7, 2019, 12:25pm UTC](https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713/4 "2019-06-07T12:25:08Z")

</div>

@Frintrop, you need to write a separate plugin for this client.  
I added instrumentation for sync requests:

> **[kananindzya/apm-agent-java](https://github.com/kananindzya/apm-agent-java/tree/aws-apache-http-client-plugin)**
>
> Elastic APM Java Agent. Contribute to kananindzya/apm-agent-java development by creating an account on GitHub.

  
You can pull, build jar and try to use it.

---

<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:** [June 28, 2019, 8:25am UTC](https://discuss.elastic.co/t/support-for-aws-apache-httpclient/184713/5 "2019-06-28T08:25:29Z")

</div>

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