Skip to content

[logs/AD] Logs tailing from docker label#6883

Merged
prognant merged 5 commits intomasterfrom
prognant/AD-logs-tailing-from-docker-label
Dec 9, 2020
Merged

[logs/AD] Logs tailing from docker label#6883
prognant merged 5 commits intomasterfrom
prognant/AD-logs-tailing-from-docker-label

Conversation

@prognant
Copy link
Copy Markdown
Contributor

@prognant prognant commented Dec 1, 2020

What does this PR do?

Support file tailing logs config coming from docker label.

Motivation

Extend supported logs config coming from AD.

Additional Notes

Checklist:

  • Better agent status output & GUI ✅
  • Better harmonization of Identifier value, stick to <container_id> or container_id://<container_id> and stop using the other

Note: file path shall be relative to where the agent is running.
Note #2: registry key are not impacted by the small rework on how Identifier is populated (the registry uses the tailer identifier that is not impacted by the change)

Describe your test plan

Manual test on K8s ✅

@prognant prognant added do-not-merge/WIP [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. changelog/no-changelog No changelog entry needed labels Dec 1, 2020
@prognant prognant added this to the 7.25.0 milestone Dec 1, 2020
@prognant prognant requested review from a team as code owners December 1, 2020 12:15
@prognant prognant force-pushed the prognant/AD-logs-tailing-from-docker-label branch from fa4d084 to 620ec79 Compare December 1, 2020 13:30
@prognant prognant force-pushed the prognant/AD-logs-tailing-from-docker-label branch from 620ec79 to 700d62a Compare December 2, 2020 15:18
Copy link
Copy Markdown
Contributor

@remeh remeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concise and working change, successfully tested locally. 👍

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..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants