[h2olog] h2olog v2 part 1 (core)#3081
Merged
Merged
Conversation
kazuho
reviewed
Aug 8, 2022
kazuho
left a comment
Member
There was a problem hiding this comment.
Thank you for working on this. Looking really good.
gfx
marked this pull request as ready for review
August 26, 2022 04:52
Contributor
Author
|
NOTE: #3149 should be merged to this branch first. Conflict resolution on |
…(headers_util is a shared file and debatable)
…r stealing the socket (would not happen in practice)
…eed to add that as we start using HTTP
[h2olog2] change the h2olog-h2o protocol to be cleartext HTTP/1
kazuho
reviewed
Jan 17, 2024
kazuho
left a comment
Member
There was a problem hiding this comment.
Thank you for the PR. Looks good modulo nitpicks.
| group: h2o # optional | ||
| permission: 666 # optional | ||
| sndbuf: 65536 # optional | ||
| EOT |
Member
There was a problem hiding this comment.
I think the directive is now host-level and the Unix socket is specified differently?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a core feature of h2olog v2, which uses an internal logger (ptlslog, h2o/picotls#406) and a UNIX domain socket server.
Motivation: #3059
Done
h2olog.pathto enable the new logging system-u <unix-socket-path>option for the new logging system90h2olog-qlog.tto make sure h2olog v1 and v2 generate the same QLog outputs (raw outputs are slightly different because it's too difficult to make sure the perfect compatibility)TODOs for the further development
-Sand-A