Skip to content

[WIP][logs] Docker tailer: split line support#6268

Closed
prognant wants to merge 14 commits intoprognant/aggregates-long-lines-k8s-file-tailing-part2from
prognant/docker-parser-split-line-support
Closed

[WIP][logs] Docker tailer: split line support#6268
prognant wants to merge 14 commits intoprognant/aggregates-long-lines-k8s-file-tailing-part2from
prognant/docker-parser-split-line-support

Conversation

@prognant
Copy link
Copy Markdown
Contributor

@prognant prognant commented Aug 21, 2020

Temporary note

Decoder/matching logic need to be rework before further work on this PR
(Problem to be solved : decoder is splitting line based on a byte begin equal to 0x0A -aka ascii code for \n-, however docker header comes with a small binary header that may sometimes contain a byte equal to 0x0A leading to problematic line splitting)

What does this PR do?

Part of the following PR series: #6265, #6266
It implement split line reconciliation when tailing from the docker socket.

Motivation

It aims to reagregate split lines to ship complete line to the DD log intake,
thus complete, un-split line will show up in the explorer.

Additional Notes

Depends on #6265 and #6266.

Describe your test plan

New UT.
IRL tests (plain docker on ubuntu 18.04)

@prognant prognant requested review from a team as code owners August 21, 2020 13:08
@prognant prognant added this to the 7.23.0 milestone Aug 21, 2020
@prognant prognant added changelog/no-changelog No changelog entry needed do-not-merge/WIP [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. labels Aug 21, 2020
@prognant prognant changed the base branch from prognant/aggregates-long-lines-k8s-file-tailing to prognant/aggregates-long-lines-k8s-file-tailing-part2 August 21, 2020 13:09
@prognant prognant force-pushed the prognant/docker-parser-split-line-support branch 3 times, most recently from 1c406a4 to 7e79a63 Compare August 21, 2020 14:11
@prognant prognant force-pushed the prognant/aggregates-long-lines-k8s-file-tailing-part2 branch from 48c13d7 to 2aee6df Compare August 25, 2020 15:59
@prognant prognant force-pushed the prognant/docker-parser-split-line-support branch from 1ca0740 to 599a5bf Compare August 26, 2020 09:03
@prognant prognant force-pushed the prognant/aggregates-long-lines-k8s-file-tailing-part2 branch from e9f2c9c to 74cb382 Compare August 28, 2020 15:35
@prognant prognant closed this Aug 28, 2020
@dd-devflow dd-devflow Bot deleted the prognant/docker-parser-split-line-support branch April 19, 2024 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. do-not-merge/WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant