mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
lib/logstorage: add _msg="---" delimiter between different log streams in stream_context output
This should help investigating contexts, which belong to different log streams.
This commit is contained in:
parent
e83dc8b30a
commit
bce56d430d
@ -544,7 +544,7 @@ func (pcp *pipeStreamContextProcessor) flush() error {
|
||||
for _, streamRow := range streamRows {
|
||||
wctx.writeRow(streamRow.fields)
|
||||
}
|
||||
if len(streamRowss) > 1 {
|
||||
if len(m) > 1 || len(streamRowss) > 1 {
|
||||
lastRow := streamRows[len(streamRows)-1]
|
||||
fields := newDelimiterRowFields(lastRow, streamID)
|
||||
wctx.writeRow(fields)
|
||||
|
Loading…
Reference in New Issue
Block a user