From 10150b140c8a434b3882b45db09303173ad7a54b Mon Sep 17 00:00:00 2001 From: Stephan Schielke <401815+stephanschielke@users.noreply.github.com> Date: Wed, 13 Jul 2022 18:09:01 +0100 Subject: [PATCH 1/2] backstage-create-app doesn't add vital init() piece automatically You have to adjust your `index.html` template file manually. Signed-off-by: Stephan Schielke <401815+stephanschielke@users.noreply.github.com> --- docs/integrations/datadog-rum/installation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/integrations/datadog-rum/installation.md b/docs/integrations/datadog-rum/installation.md index f96298a33b..3a8a701f99 100644 --- a/docs/integrations/datadog-rum/installation.md +++ b/docs/integrations/datadog-rum/installation.md @@ -24,6 +24,8 @@ app: # env: 'staging' ``` +If during [`yarn backstage-create-app`](https://github.com/backstage/backstage/tree/master/packages/create-app) time your [`app-config.yaml`](https://github.com/backstage/backstage/blob/master/app-config.yaml#L5) file did not have this configuration, you have to adjust your [`packages/app/public/index.html`](https://github.com/backstage/backstage/blob/master/packages/app/public/index.html#L64) to include the Datadog RUM `init()` section manually. + The `clientToken` and `applicationId` are generated from the Datadog RUM page following [these instructions](https://docs.datadoghq.com/real_user_monitoring/browser/). From dc063ecedc137c21977bde7f6549f3a74f19266b Mon Sep 17 00:00:00 2001 From: Stephan Schielke <401815+stephanschielke@users.noreply.github.com> Date: Thu, 14 Jul 2022 11:49:11 +0100 Subject: [PATCH 2/2] Update docs/integrations/datadog-rum/installation.md Co-authored-by: Ben Lambert Signed-off-by: Stephan Schielke <401815+stephanschielke@users.noreply.github.com> --- docs/integrations/datadog-rum/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/datadog-rum/installation.md b/docs/integrations/datadog-rum/installation.md index 3a8a701f99..821d35db15 100644 --- a/docs/integrations/datadog-rum/installation.md +++ b/docs/integrations/datadog-rum/installation.md @@ -24,7 +24,7 @@ app: # env: 'staging' ``` -If during [`yarn backstage-create-app`](https://github.com/backstage/backstage/tree/master/packages/create-app) time your [`app-config.yaml`](https://github.com/backstage/backstage/blob/master/app-config.yaml#L5) file did not have this configuration, you have to adjust your [`packages/app/public/index.html`](https://github.com/backstage/backstage/blob/master/packages/app/public/index.html#L64) to include the Datadog RUM `init()` section manually. +If your [`app-config.yaml`](https://github.com/backstage/backstage/blob/master/app-config.yaml#L5) file does not have this configuration, you may have to adjust your [`packages/app/public/index.html`](https://github.com/backstage/backstage/blob/master/packages/app/public/index.html#L64) to include the Datadog RUM `init()` section manually. The `clientToken` and `applicationId` are generated from the Datadog RUM page following