mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00: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
13cc4a2618
commit
b49d1ea809
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue