Skip to content

Commit e89b318

Browse files
authored
clarify delay ranges for spectator-go
1 parent 3bca4fc commit e89b318

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spectator/lang/go/usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ The environment variable `SPECTATOR_OUTPUT_LOCATION` can be set to `none` to dis
205205
Three modes of operation are available, for applications that operate at different scales:
206206

207207
* **Small.** No buffer (size 0 bytes). Write immediately to the socket upon every metric update, up to
208-
~150K lines/sec, with delays from 1 to 450 us, depending on thread count. No metrics are dropped, due
209-
to mutex locks.
208+
~150K lines/sec, with delays from 2 to 450 us, depending on thread count and socket type. No metrics are
209+
dropped, due to mutex locks.
210210
* **Medium.** LineBuffer (size <= 65536 bytes), which writes to the socket upon overflow, or upon a
211-
flush interval, up to ~1M lines/sec, with delays from 0.1 to 32 us, depending on thread count. No metrics
212-
are dropped. Status metrics are published to monitor usage.
211+
flush interval, up to ~1M lines/sec, with delays from 0.1 to 32 us, depending on thread count and socket
212+
type. No metrics are dropped. Status metrics are published to monitor usage.
213213
* **Large.** LowLatencyBuffer (size > 65536 bytes), which writes to the socket on a flush interval, up
214214
to ~1M lines/sec, with delays from 0.6 to 7 us, depending on thread count. The true minimum size is 2 *
215215
CPU * 60KB, or 122,880 bytes for 1 CPU. Metrics may be dropped. Status metrics are published to monitor

0 commit comments

Comments
 (0)