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

sampling-based tracing through Unix sockets #553

Merged
merged 24 commits into from
Dec 17, 2024
Merged

sampling-based tracing through Unix sockets #553

merged 24 commits into from
Dec 17, 2024

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Dec 2, 2024

This PR expands the support for sampling-based tracing through Unix sockets.

Connections to be traced can be selected based on the combination of the following criteria:

  • sampling ratio - a float between 0 and 1
  • any number of SNIs
  • any number of client IP addresses
  • if or not to include application data

Unlike the old USDT-based scheme (as has been provided by h2olog), the new interface allows each logger to specify different criteria. Up to 32 loggers are supported.

As we transition from using USDT to Unix sockets, sampling support is removed from the USDT side. Otherwise, USDT probes are retained as-is, as they are considered valuable properties when debugging the system as a whole with picotls or h2o being part of the system.

@kazuho kazuho merged commit 402544b into master Dec 17, 2024
13 checks passed
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.

1 participant