v0.24.0
@splunk/otel-web- Deprecation Warnings: Added console warning messages for better visibility of previously deprecated APIs and configuration options. #1345
- These items were deprecated in earlier versions but now show explicit deprecation warnings to help users migrate before they are removed in a future major version:
- Configuration Options: The following configuration options have been renamed and the old names will show deprecation warnings:
app→ UseapplicationNameinsteadbeaconUrl→ UsebeaconEndpointinsteadenvironment→ UsedeploymentEnvironmentinsteadrumAuth→ UserumAccessTokeninstead
- API Methods: The following methods are deprecated:
SplunkRum._experimental_getGlobalAttributes()→ UseSplunkRum.getGlobalAttributes()insteadSplunkRum.error(...args)→ UseSplunkRum.reportError(error, context)insteadSplunkRum._experimental_addEventListener(name, callback)→ UseSplunkRum.addEventListener(name, callback)insteadSplunkRum._experimental_removeEventListener(name, callback)→ UseSplunkRum.removeEventListener(name, callback)insteadSplunkRum._experimental_getSessionId()→ UseSplunkRum.getSessionId()instead
- Configuration Options: The following configuration options have been renamed and the old names will show deprecation warnings:
CDN
Version v0.24.0
splunk-otel-web-session-recorder.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.24.0/splunk-otel-web-session-recorder.js" integrity="sha384-SRt6qeawLqbRcUViFfgoV/e9W6FZAT7DdLQBN8qvDYmxBzL7Kn6kqEyEpkDKNrqM" crossorigin="anonymous"></script>
splunk-otel-web.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.24.0/splunk-otel-web.js" integrity="sha384-job28qXQtLiPEobe1cPBFpQ0TLNRZUsrMaRJMKjHqkQ1L1TIRWHOwnjAZ02oBklh" crossorigin="anonymous"></script>Version v0.24
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.24/splunk-otel-web-session-recorder.js" crossorigin="anonymous"></script>
splunk-otel-web.js:
<script src="https://cdn.signalfx.com/o11y-gdi-rum/v0.24/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>