feat: expose DD RUM sessionSampleRate and sessionReplaySampleRate

Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
secustor
2024-04-30 14:00:43 +02:00
parent 28571a64fa
commit d4a3b10f02
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.