アプリケーションで実行されている WebAssembly コードからキャプチャしたトレースを視覚化する
概要
This integration provides function traces from WebAssembly (WASM) code running in your application. Gain insight into WebAssembly code performance as well as the following behavior:
- Function call duration
- Execution tracing
- Memory allocation
Since WebAssembly code is executed in a secure and constrained environment, traditional techniques to monitor code do not work. Our specialized observability stack allows you to continuously monitor WASM modules at the same level you expect of your other applications.
Datadog customers can use our open source SDKs and Adapters to emit full traces from your WASM programs. Please see the dylibso/observe-sdk
repository to install the Datadog Adapter for your application.
In addition, Dylibso provides automatic instrumentation tooling which can take any existing WASM module and recompile it to include function and memory allocation tracing. For more information, contact support@dylibso.com or learn more about automatic WebAssembly instrumentation.
セットアップ
インストール
Depending on the programming language your application is written in, choose one of the appropriate Datadog Adapters from dylibso/observe-sdk
on GitHub.
構成
In order to connect the SDK and Adapter to your Datadog Agent, you must have the following information ready:
- Your Datadog Agent host URL.
- The service name of the application where the SDK and Adapter are imported.
検証
After you have imported and configured your Datadog Adapter from the available options within the Observe SDK:
- Redeploy your application so the Datadog Adapter is included where you’re calling WebAssembly code.
- Ensure that a WebAssembly module (
.wasm
) has been loaded and you are calling one of its exported functions. - Check in your Datadog dashboard for traces sent from your service.
収集データ
イベント
WebAssembly Observe SDK collects traces of function execution and memory allocation events from your application.
トラブルシューティング
Need help? Contact Dylibso support.