# Monitoring an application with a frontend written in C++

**URL:** <https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [July 11, 2023, 9:02am UTC](https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610 "2023-07-11T09:02:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [July 11, 2023, 9:02am UTC](https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610/1 "2023-07-11T09:02:08Z")

</div>

Hi Team,

I’m wondering how I can monitor (at least partially) the front end of an application at my client that is written in C++ (running as a desktop application). Integration at ;the application code level is not an option. A few ideas come to mind:

- monitoring the user station using OA in infra mode - however, I would have to install more than 100 agents, which the client will probably not agree to  
- selecting specific arguments and defining Request Attributes to verify if certain business operations are performed

Anything else I can suggest to the client?

Radek

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 11, 2023, 2:31pm UTC](https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610/2 "2023-07-11T14:31:27Z")

</div>

Hi,

I would check:

- [C++ runtime](https://www.dynatrace.com/support/help/shortlink/cpp) using OpenTelemetry and SDK.
- Instrument your C++ application&nbsp;using&nbsp;[Dynatrace OpenKit](https://www.dynatrace.com/support/help/extend-dynatrace/openkit/instrument-your-application-using-dynatrace-openkit#cplus1).

Best regards

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [July 11, 2023, 4:55pm UTC](https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610/3 "2023-07-11T16:55:34Z")

</div>

Thanks Antonio:)

Unfortunately, OTel instrumentation or OpenKit is not an option. The vendor who provided this application several years ago no longer provides support.

I guess the only thing left for me is backend monitoring - services and request attributes

Thank you&nbsp;😊

Radek

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 20, 2023, 6:59am UTC](https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610/4 "2023-07-20T06:59:50Z")

</div>

Then you are out of luck. Unfortunately. If the application does not have any telemetry API, you are left with monitoring the infra metrics or logs only. No traces, services or request attributes with this is a pure c/c++. Most likely logs could be a sometimes a source you can use to build up opentelemetry traces.

---

<div class="post-metadata">

**Author:** ![kwangxi](https://avatars.discourse-cdn.com/v4/letter/k/ccd318/32.png) [@kwangxi](https://community.dynatrace.com/u/kwangxi)\
**Post date:** [April 23, 2025, 4:31am UTC](https://community.dynatrace.com/t/monitoring-an-application-with-a-frontend-written-in-c/40610/5 "2025-04-23T04:31:37Z")

</div>

Would like to confirm with OTEL, we should be able to see traces, services? How about Frontend User Actions, Sessions?

Secondly, C++ Desktop Application can only be achieved with OTEL right? Would like to learn if there is any methods to achieve that.
