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

logs contract: more robust field finding, backward compatible approach #661

Closed
wants to merge 1 commit into from

Conversation

gabor
Copy link
Contributor

@gabor gabor commented Mar 30, 2023

(there are two approaches, i created two PRs for the two approaches. this one, and #660. we should only merge on of them)

this PR adjusts the timestamp and message field finding so that it is the same as used currently in the grafana-logs-visualization.
pro: this makes it more backward compatible
con: someone can make a dataframe, where there will be 2 string fields, id and message, and if the id field goes first, it will be mistaken for the log-message-field.

@CLAassistant
Copy link

CLAassistant commented Mar 30, 2023

CLA assistant check
All committers have signed the CLA.

@gabor gabor changed the title logs contract: more robust field finding logs contract: more robust field finding, backward compatible approach Mar 30, 2023
@gabor gabor mentioned this pull request Mar 30, 2023
@gabor gabor marked this pull request as ready for review March 30, 2023 07:52
@gabor gabor requested a review from a team as a code owner March 30, 2023 07:52
@yesoreyeram
Copy link
Contributor

I prefer the other approach which is clear on what we are doing. ( less guess work )

@gabor
Copy link
Contributor Author

gabor commented Apr 4, 2023

closing this in favor of #660

@gabor gabor closed this Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants