# Guidelines for build APM Agent based on the intake API

**URL:** <https://discuss.elastic.co/t/guidelines-for-build-apm-agent-based-on-the-intake-api/243536>\
**Category:** APM\
**Tags:** rum\
**Created:** [August 3, 2020, 9:56am UTC](https://discuss.elastic.co/t/guidelines-for-build-apm-agent-based-on-the-intake-api/243536 "2020-08-03T09:56:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jianqing\_Peng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jianqing_peng/32/73229_2.png) [@Jianqing\_Peng](https://discuss.elastic.co/u/Jianqing_Peng)\
**Post date:** [August 3, 2020, 9:56am UTC](https://discuss.elastic.co/t/guidelines-for-build-apm-agent-based-on-the-intake-api/243536/1 "2020-08-03T09:56:39Z")

</div>

Hi,

I'd like to build the APM Agent based on the intake API, do we have any document about how to do it?

And for Mobile Platform(Android/iOS), do we have any roadmap about it?  
e.g.

1. Monitor the API roundtrip performance.
2. Monitor the Mobile device performance, e.g. FPS.

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [August 3, 2020, 11:08am UTC](https://discuss.elastic.co/t/guidelines-for-build-apm-agent-based-on-the-intake-api/243536/2 "2020-08-03T11:08:28Z")

</div>

Hi and welcome to the forum 👋

Mobile agents is something we may look into in the future but there are no concrete plans to share yet.

We have some [docs](https://github.com/elastic/apm/blob/master/docs/agents/agent-development.md) on how to develop an agent, although it's not entirely complete.

Are you planning to implement something to manually instrument your application or are you also looking into ways to auto-instrument your (possible at build time)?

How would you define a transaction? Would you, for example, create a transaction when a button is pressed that includes the time for all the actions it triggers? Or would you create a transaction for each API calls?

---

<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:** [August 24, 2020, 7:08am UTC](https://discuss.elastic.co/t/guidelines-for-build-apm-agent-based-on-the-intake-api/243536/3 "2020-08-24T07:08:28Z")

</div>

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