Merge pull request #24564 from secustor/feat/expose-dd-rum-session-sampling

feat: expose DD RUM sessionSampleRate and sessionReplaySampleRate
This commit is contained in:
Fredrik Adelöw
2024-05-02 21:50:05 +02:00
committed by GitHub
5 changed files with 49 additions and 28 deletions
@@ -22,6 +22,8 @@ app:
applicationId: qwerty
# site: datadoghq.eu
# env: 'staging'
# sessionSampleRate: 100
# sessionReplaySampleRate: 0
```
If your [`app-config.yaml`](https://github.com/backstage/backstage/blob/e0506af8fc54074a160fb91c83d6cae8172d3bb3/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/e0506af8fc54074a160fb91c83d6cae8172d3bb3/packages/app/public/index.html#L69) to include the Datadog RUM `init()` section manually.