# Push process details to the Dynatrace agent

**URL:** <https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958>\
**Category:** Extensions\
**Tags:** process-groups, extensions\
**Created:** [February 12, 2018, 8:44am UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958 "2018-02-12T08:44:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abilashinith](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@abilashinith](https://community.dynatrace.com/u/abilashinith)\
**Post date:** [February 12, 2018, 8:44am UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958/1 "2018-02-12T08:44:17Z")

</div>

Using the python OneAgent plugin, we basically pull the details from a process. I want to know whether is it possible to push details to the agent from a process/service in Dynatrace?

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [February 13, 2018, 4:45am UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958/2 "2018-02-13T04:45:23Z")

</div>

Hi Abilashini,

Can you elaborate on the kind of details you are looking to push to the agent? if you are referring to meta data about your process and will like to push that to the agent as properties, see the blogpost below

> **[Dynatrace Blog](https://www.dynatrace.com/news/blog/)**
>
> Stay updated on the latest news on observability, automation, AI, and app security. Look here for actionable insights for optimizing your digital ecosystem.

Hope This Helps

NJ

---

<div class="post-metadata">

**Author:** ![abilashinith](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@abilashinith](https://community.dynatrace.com/u/abilashinith)\
**Post date:** [February 13, 2018, 5:33am UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958/3 "2018-02-13T05:33:44Z")

</div>

Hi NJ,

Thanks for the reply. I thought of pushing the custom metric values of a process. Are there any ways to do so?

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [February 13, 2018, 2:54pm UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958/4 "2018-02-13T14:54:47Z")

</div>

I think it would help if you provided an example of what you’re looking to do.

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [February 13, 2018, 4:24pm UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958/5 "2018-02-13T16:24:29Z")

</div>

Hi Abilashini,

To do this, you will probably have to write your own OneAgent Plugin (custom Python plugin) to feed these custom metrics to your monitored process. Please see the links below on how to do this.

[How do I create a Python custom plugin?](https://www.dynatrace.com/support/help/monitoring-plugins/custom-plugins/how-do-i-create-a-python-custom-plugin/)

[How to write your first OneAgent plugin](https://dynatrace.github.io/plugin-sdk/readme.html)

Hope This Helps

NJ

---

<div class="post-metadata">

**Author:** ![abilashinith](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@abilashinith](https://community.dynatrace.com/u/abilashinith)\
**Post date:** [February 14, 2018, 3:49am UTC](https://community.dynatrace.com/t/push-process-details-to-the-dynatrace-agent/10958/6 "2018-02-14T03:49:29Z")

</div>

Hi NJ,

I have already gone through these docs. It says that the plugin collects the data and send to Dynatrace Server. So the plugin polls the process repeatedly and gets the information. But what I expect is, process itself sending the data to the plugin within a time period or whenever an event occurs.

Hope you understand my point now

Thanks,

Abi
