As software systems grow in complexity, data and tools that provide valuable insights for easier program comprehension become increasingly important. OpenTelemetry has become a standard for the collection of monitoring data. In this work we present our experiences with different ways how OpenTelemetry can be leveraged to automatically instrument software systems for the purpose of software visualization. Particularly, we explore automatic instrumentation with the OpenTelemetry SDKs, and both application and unit test instrumentation with the Java agent inspectIT Ocelot. The collected data is exported to our live trace visualization tool ExplorViz.
翻译:随着软件系统复杂度的日益增长,能够为程序理解提供有效洞察的数据与工具变得愈发重要。OpenTelemetry已成为监控数据采集的事实标准。本文通过实践案例,系统阐述了如何利用OpenTelemetry对软件系统进行自动化插桩以支持软件可视化。我们重点探讨了基于OpenTelemetry SDK的自动插桩方案,以及使用Java代理inspectIT Ocelot实现应用程序与单元测试的双重插桩技术。采集数据最终导入我们自主研发的实时追踪可视化工具ExplorViz进行多维分析。