v0.20.0
0.20.0
-
@splunk/otel-web
- fix: do not extend session from discarded session replay spans
- Session is not extended when span is discarded by session replay. Please see detailed info in PR description.
- There is a possibly breaking change as the
Splunk.getSessionId()
can return undefined when previous session expired and there are no new spans. The API already was typed as returningstring | undefined
hence not considered as a breaking change. See PR for explanation. (#939)
- internal: session management improvements
- Session state contains now
expiresAt
field. Session is only extended/created when span is emitted. The 1-minute periodic interval is removed. Thanks to that the session start time matches the first span time and the session will not contain blank time at the beginning. (#899)
- Session state contains now
- fix: decode correct part of the cookie
- Cookie decode could fail if document.cookie contained unescaped characters. (#962)
- feat: added
disableBots
config parameter (docs) - feat: added
disableAutomationFrameworks
config parameter (docs) - feat: added
persistence
config parameter (docs) - feat: add
http.status_code
to all resources spans- Resource spans now contain status code. The status code is set always when browser reports it.
- Browser does not report status code for cross-origin resources that do not have
crossorigin
attribute set. In such cases, status code is omitted. (#936)
- feat: added
_experimental_longtaskNoStartSession
config parameter.- When enabled,
longtasks
spans will not start the new session when previous expired. They will be ignored. (#899)
- When enabled,
- fix: do not extend session from discarded session replay spans
-
internal
- Update dependencies, improve examples, and refactor tests
CDN
Version v0.20.0
splunk-otel-web-session-recorder.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.20.0/splunk-otel-web-session-recorder.js" integrity="sha384-yScw6mLB7N8G9I95q5HiAPH/OHfv2OdHozqTzffOpsk5jRAMuQ34Iu4rxE0wGpzq" crossorigin="anonymous"></script>
splunk-otel-web.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.20.0/splunk-otel-web.js" integrity="sha384-3EQq4P3S+marH1KIvUG1trSloEpTNZyD+FoUh8gkpXI2VNSwXieJyd0mXEvXp06d" crossorigin="anonymous"></script>
Version v0.20
WARNING: Content behind this URL might be updated when we release a new version.
For this reason we do not provide integrity
attribute.
splunk-otel-web-session-recorder.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.20/splunk-otel-web-session-recorder.js" crossorigin="anonymous"></script>
splunk-otel-web.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.20/splunk-otel-web.js" crossorigin="anonymous"></script>
Version v0
WARNING: Content behind this URL might be updated when we release a new version.
For this reason we do not provide integrity
attribute.
splunk-otel-web-session-recorder.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0/splunk-otel-web-session-recorder.js" crossorigin="anonymous"></script>
splunk-otel-web.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0/splunk-otel-web.js" crossorigin="anonymous"></script>
Version latest
WARNING: Content behind this URL might be updated when we release a new version.
For this reason we do not provide integrity
attribute.
splunk-otel-web-session-recorder.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/latest/splunk-otel-web-session-recorder.js" crossorigin="anonymous"></script>
splunk-otel-web.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/latest/splunk-otel-web.js" crossorigin="anonymous"></script>