From 54583c7f9b55276d10e332eaef1256ad917d2220 Mon Sep 17 00:00:00 2001 From: Jackson Weber <47067795+JacksonWeber@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:59:09 -0700 Subject: [PATCH] Update Readme Regarding ESM Support (#1390) * Update README to make ESM support for v3.x explicit. * Update README.md --------- Co-authored-by: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com> --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4a4ea98d..efa0ee5f 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ We support the versions of Node.js that are [supported by OpenTelemetry](https:/ ## Limitations of Application Insights 3.X SDK +In order to support importing version 3.X SDK as an ESM module, please follow the [OpenTelemetry project's documentation](https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/esm-support.md#instrumentation-hook-required-for-esm) on using the instrumentation hook. + Consider whether this version is right for you. It *enables distributed tracing, metrics, logs* and _excludes_: - Autopopulation of Cloud Role Name and Cloud Role Instance in Azure environments