cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WebSocket protocol supported by Dynatrace

alexander_zagor
Advisor

Hi,

our back-end Java app communicates with the clients (mobile apps on iOS and Android) over WebSocket protocol.

Would it be possible to get both PurePath and UEM in this case?

Or using ADK for instrumentation is the only way to go?

Thanks!

5 REPLIES 5

dominik_punz
Dynatrace Champion
Dynatrace Champion

Hi Alex,

currently websockets are not supported by our mobile agents. You can however manually measure the timings. 

Would you mind sharing which rameworks you are using for Android and iOS?

Best regards,

Dominik

Hi, could you elaborate more on how we can measure timings for websocket?

let say our framework is Android, is that all to monitor in websocket? (timings)

thanks

RSarafaniuk
Observer

Hi, everybody!

Is there any news? And I'm interested in nodejs WebSocket connection, maybe something is comming?

In general websocket usage differs between various applications. Depending on your particular use case:

  • if you are interested in tracing (server-side) - use opentelemetry (preferred) or OneAgent SDK (simple to use, deprecated in favor of opentelemetry)
  • If you need to track websocket communication from the mobile / web / custom applications use the appropriate SDK (mobile/ custom) or the RUM JS API (web applications) and create either user action, or  report requests or other data. This needs a design and understanding of your application and it depends on what you need to achieve.
Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Currently the only option to report ws(s) is by manually instrumenting those request on mobile app side. This allows to report the clientside view of the request, but linking to service calls is currently not supported for non http(s) protocols:
https://docs.dynatrace.com/docs/shortlink/ios-oneagent-sdk#measure-non-http-requests
https://docs.dynatrace.com/docs/shortlink/oneagent-sdk-for-android#monitor-non-http-requests

 

iOS help: https://www.dynatrace.com/support/help/shortlink/ios-hub

Featured Posts