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

Allow configuring all ConnTrackers' debug trace level at runtime #2023

Conversation

ddelnano
Copy link
Member

@ddelnano ddelnano commented Sep 13, 2024

Summary: Allow configuring all ConnTrackers' debug trace level at runtime

When debugging tracing issues with servers that handle requests pre-fork, it's not practical to use --stirling_conn_trace_pid (each request is served by a new PID). This change allows enabling debug tracing for all conn trackers to facilitate easier debugging.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: Skaffolded this change and verified that the following stirling_ctrl command enables CONN_TRACE globally.

$ ./stirling_ctrl ${pid_of_pem} 1 2

Changelog Message: Provide mechanism for debugging a PEM's connection tracking more easily at runtime

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano requested a review from a team as a code owner September 13, 2024 16:29
@ddelnano ddelnano merged commit 2704ade into pixie-io:main Sep 16, 2024
33 of 34 checks passed
@ddelnano ddelnano deleted the ddelnano/support-runtime-global-conn-tracker-debug-trace-level branch September 16, 2024 23:25
ddelnano added a commit to ddelnano/pixie that referenced this pull request Sep 23, 2024
…ie-io#2023)

Summary: Allow configuring all ConnTrackers' debug trace level at
runtime

When debugging tracing issues with servers that handle requests
pre-fork, it's not practical to use `--stirling_conn_trace_pid` (each
request is served by a new PID). This change allows enabling debug
tracing for all conn trackers to facilitate easier debugging.

Relevant Issues: N/A

Type of change: /kind feature

Test Plan: Skaffolded this change and verified that the following
`stirling_ctrl` command enables `CONN_TRACE` globally.
```
$ ./stirling_ctrl ${pid_of_pem} 1 2
```

Changelog Message: Provide mechanism for debugging a PEM's connection
tracking more easily at runtime

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
GitOrigin-RevId: 2704ade
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