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] 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/).