Skip to content

Commit d3ba935

Browse files
committed
rerun --connect works
1 parent 9f79a25 commit d3ba935

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/top/re_sdk/src/recording_stream.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ impl RecordingStreamBuilder {
409409
/// locally hosted gRPC server.
410410
///
411411
/// The server is hosted on the default IP and port, and may be connected to by any SDK or Viewer
412-
/// at `rerun+http://127.0.0.1:9876/proxy`.
412+
/// at `rerun+http://127.0.0.1:9876/proxy` or by just running `rerun --connect`.
413413
///
414414
/// To configure the gRPC server's IP and port, use [`Self::serve_grpc_opts`] instead.
415415
///
@@ -1910,6 +1910,8 @@ impl RecordingStream {
19101910
///
19111911
/// To configure the gRPC server's IP and port, use [`Self::serve_grpc_opts`] instead.
19121912
///
1913+
/// You can connect a viewer to it with `rerun --connect`.
1914+
///
19131915
/// The gRPC server will buffer all log data in memory so that late connecting viewers will get all the data.
19141916
/// You can limit the amount of data buffered by the gRPC server with the `server_memory_limit` argument.
19151917
/// Once reached, the earliest logged data will be dropped. Static data is never dropped.

docs/content/reference/sdk/operating-modes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You will need to start a stand-alone Viewer first by typing `rerun` in your term
4848

4949
### `serve_grpc`
5050
Calling `serve_grpc` will start a Rerun gRPC server in your process, and stream logged data to it.
51-
This gRPC server can then be connected to from the Rerun Viewer, e.g. by running `rerun --connect localhost/proxy`.
51+
This gRPC server can then be connected to from the Rerun Viewer, e.g. by running `rerun --connect`.
5252
The gRPC server acts as a proxy, buffering and forwarding log data to the Rerun Viewer.
5353

5454
You can also connect to the gRPC server from a Rerun Web Viewer.

0 commit comments

Comments
 (0)