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

Add duration and duration_ms for logfmt format #277

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

woutersmeenk
Copy link
Contributor

@woutersmeenk woutersmeenk commented Apr 15, 2024

Changelog

Pull requests will not be accepted without a description of this change under the [unreleased] section
in the file CHANGELOG.

Description of changes

Add :duration_ms to Logfmt formatter
Log processors sometimes parse duration_human as string (because of the added 'ms') which is not always useful.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@arjan0307
Copy link

Is this something that is being considered? It would be really helpful to have the duration_ms in the logfmt format.

Or is this something that should be solved in a different manner?

@reidmorrison
Copy link
Owner

Looks good, can you try merging master again? Github won't let me fix the conflict myself.

Log processors sometimes parse duration_human as string (because of the added 'ms') which is not always useful.
@woutersmeenk
Copy link
Contributor Author

@reidmorrison Rebased the branch.

@reidmorrison reidmorrison merged commit ee7d2b5 into reidmorrison:master Jun 29, 2024
5 checks passed
@woutersmeenk
Copy link
Contributor Author

@reidmorrison Thank you!

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.

3 participants