You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api_key:"MULTIPLAYER_OTLP_KEY"# note: replace with your Multiplayer OTLP key
75
+
api_key:"MULTIPLAYER_API_KEY"# note: replace with your Multiplayer API key
76
76
)
77
77
78
78
# Multiplayer exporter wrappers filter out session recording attributes before passing to provided exporter
@@ -193,6 +193,8 @@ Use the following code below to initialize and run the session recorder.
193
193
194
194
Example for Session Recorder initialization relies on [opentelemetry.rb](./examples/cli/opentelemetry.rb) file. Copy that file and put next to quick start code.
195
195
196
+
### Initialize
197
+
196
198
```ruby
197
199
# IMPORTANT: set up OpenTelemetry
198
200
# for an example see ./examples/cli/opentelemetry.rb
Below is an example showing how to create a session recording in `MANUAL` mode. Manual session recordings stream and save all the data between calling `start` and `stop`.
Below is an example showing how to create a session in `CONTINUOUS` mode. Continuous session recordings **stream** all the data received between calling `start` and `stop` -
249
+
but only **save** a rolling window data (90 seconds by default) when:
250
+
251
+
- an exception or error occurs;
252
+
- when `save` is called; or
253
+
- programmatically, when the auto-save attribute is attached to a span.
0 commit comments