RecordStreamLag records the lag between message creation and consumption in a stream.
(ctx context.Context, lag time.Duration, cn *pool.Conn, streamName, consumerGroup, consumerName string)
| 240 | |
| 241 | // RecordStreamLag records the lag between message creation and consumption in a stream. |
| 242 | func RecordStreamLag(ctx context.Context, lag time.Duration, cn *pool.Conn, streamName, consumerGroup, consumerName string) { |
| 243 | getRecorder().RecordStreamLag(ctx, lag, cn, streamName, consumerGroup, consumerName) |
| 244 | } |
| 245 | |
| 246 | type noopRecorder struct{} |
| 247 |
no test coverage detected