Skip to content

v0.20.0

Compare
Choose a tag to compare
@srv-gh-o11y-gdi srv-gh-o11y-gdi released this 05 Mar 11:11
3c10ec7

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 returning string | 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)
    • fix: decode correct part of the cookie
      • Cookie decode could fail if document.cookie contained unescaped characters. (#962)
    • feat: added disableBots config parameter (docs)
      • When enabled, bots traffic will be blocked. (#950, #959)
    • feat: added disableAutomationFrameworks config parameter (docs)
      • When enabled, automation frameworks traffic will be blocked. (#950, #959)
    • feat: added persistence config parameter (docs)
      • The session state can now be persisted to local storage instead of cookie. (#900, #904)
    • feat: add http.status_code to all resources spans
    • feat: added _experimental_longtaskNoStartSession config parameter.
      • When enabled, longtasks spans will not start the new session when previous expired. They will be ignored. (#899)
  • 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>