• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Dynatrace
  • Dynatrace Open Q&A
avatar image
Question by HIROSHI K. · Aug 23, 2019 at 06:32 AM · oneagent sdk

how much time is needed for onesdk_shutdown to pass data to oneagent

Hi there,

For our prospect which has package softwares in C, we are testing oneagent SDK to capture transactions.

The application consists of a parent and child processes as show below.


Due to shutdown timing, sometimes we failed to completely capture transactions(purepaths).

The warning message was as below:

----------------------------------------------------------

Some data could not be collected or transmitted. This is most likely due to a resource congestion on network, host or process level in your monitored environment (Diagnostic codes: C1, A5)

----------------------------------------------------------

The failure rate decreases when we set sleep() before onesdk_shutdown().


Question:

Is there any best practice to embed oneagent SDK into this type of environment?

We want to know how much time needed to pass collected data to oneagent.


I guess it depends on the size of data collected, so just rough estimated time is sufficient(a few seconds, 10 seconds...or others).



Best regards,

Hiroshi Kitahara

application-image.png (41.7 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Reply

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Wolfgang Z. · Aug 23, 2019 at 09:55 AM

OK. Unfortunately, as far as I know the exact time to wait cannot be easily estimated. The agent does send all pending PurePaths to the server in onesdk_shutdown but the problem is that some Path data (like any string values) are only sent to Dynatrace when a server asks the agent for it, which it does when it processes the PurePath that contains references to them. Thus the wait time could depend on the total cluster load, among other things.

Comment
Sebastian K.

People who like this

1 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

31 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Using Dynatrace in a classic ASP environment.

How to setup a custom alert for all the SDK services?

how to capture service flow among multiple processes by oneagent SDK for C

Xamarin For Android & iOS App Auto Instrumentation

OneAgent SDK for Python on Openshift PaaS mode

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming linux nam installation error reporting database mission control apache mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A