Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(flow): ensure format consistency for all emitted logs #5992

Merged
merged 10 commits into from
Feb 21, 2024

Conversation

hainenber
Copy link
Contributor

PR Description

Ensure log format consistency for all logs emitted by the agent by ensuring logging block got evaluated firstly and re-order possibly inconsistent log sources.

Which issue(s) this PR fixes

Fixes #5969

Notes to the Reviewer

Is there any harm in evaluating the logging block twice? My naive assumption is No but would like you guys got more ctx on me on this :D

PR Checklist

  • CHANGELOG.md updated

@hainenber hainenber force-pushed the ensure-log-format-consistency branch from 211479f to ba5646e Compare February 5, 2024 13:46
pkg/flow/logging/logger.go Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
pkg/flow/logging/logger.go Show resolved Hide resolved
pkg/flow/logging/logger.go Outdated Show resolved Hide resolved
pkg/flow/logging/logger.go Outdated Show resolved Hide resolved
Copy link
Contributor

@wildum wildum left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for taking care of it :)

@wildum wildum merged commit 91ea77d into grafana:main Feb 21, 2024
10 checks passed
@wildum wildum mentioned this pull request Feb 29, 2024
1 task
@hainenber hainenber deleted the ensure-log-format-consistency branch February 29, 2024 15:02
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 31, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Agent not honoring log format
3 participants