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

Use logfmt for http request logs and collect request size #3298

Merged

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented May 15, 2024

This makes it easier to parse by logfmt and log size is useful to understand distribution of traces

@simonswine simonswine force-pushed the 20240515_migrate-http-logs-to-logfmt branch from 407194e to 8bbd879 Compare May 15, 2024 17:17
@simonswine simonswine changed the title 20240515 migrate http logs to logfmt Improve http request logs May 15, 2024
@simonswine simonswine changed the title Improve http request logs Use logfmt for http request logs and collect request size May 15, 2024
@simonswine simonswine marked this pull request as ready for review May 15, 2024 17:26
@simonswine simonswine requested a review from a team as a code owner May 15, 2024 17:26
@simonswine simonswine merged commit e03542a into grafana:main May 16, 2024
16 checks passed
simonswine added a commit that referenced this pull request May 16, 2024
* Add request size and use logfmt

* Only log request body size when bigger 0
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.

2 participants