mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-01-30 05:54:21 +00:00
* Remove the extra negation on `nodefrag` flag's value * Support IPv4 fragmentation and IPv6 at the same time * Set `Method` and `StatusCode` fields correctly for `HTTP/2` * Replace unnecessary `grpc` naming with `http2` * Make the `gRPC` and `HTTP/2` distinction * Fix the macros of `http` extension * Fix the macros of other protocol extensions * Update the method signature of `Represent` * Fix the `HTTP/2` support * Fix some minor issues * Upgrade Basenine version from `0.2.10` to `0.2.11` Sorts macros before expanding them and prioritize the long macros. * Don't regex split the gRPC method name * Re-enable `nodefrag` flag
mizu agent
Agent for MIZU (API server and tapper) Basic APIs:
- /stats - retrieve statistics of collected data
- /viewer - web ui
Remote Debugging
Setup remote debugging
- Run
go get github.com/go-delve/delve/cmd/dlv - Create a "Go Remote" run/debug configuration in Intellij, set to localhost:2345
- Build and push a debug image using
docker build . -t gcr.io/up9-docker-hub/mizu/debug:latest -f debug.Dockerfile && docker push gcr.io/up9-docker-hub/mizu/debug:latest
Connecting
- Start mizu using the cli with the debug
image
mizu tap --set agent-image=gcr.io/up9-docker-hub/mizu/debug:latest {tapped_pod_name} - Forward the debug port using
kubectl port-forward -n default mizu-api-server 2345:2345 - Run the run/debug configuration you've created earlier in Intellij.
Do note that dlv won't start the api until a debugger connects to it.