Closed hcavarsan closed 2 months ago
[!WARNING]
Rate limit exceeded
@hcavarsan has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 45 minutes and 18 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 2ae90cc19929ad49727e5c57a1f6393e5469bc93 and fa33d1241be9a7b3bae855f5943152ba79f51401.
The changes introduce new functions for managing Kubernetes port forwarding, logging HTTP requests and responses, and opening log files within the kftray-tauri
crate. Additionally, the module structure is reorganized for better clarity, and the PortForward
struct is enhanced with a config_id
field to support detailed logging. These updates also include a new UI button in the frontend to inspect logs.
File Path | Summary |
---|---|
crates/kftray-tauri/src/commands.rs |
Added open_log_file function to open log files using the open crate. |
crates/kftray-tauri/src/kubeforward/commands.rs |
Introduced functions for managing port forwarding and proxying in Kubernetes. |
crates/kftray-tauri/src/kubeforward/logging.rs |
Added functions for logging HTTP requests and responses to files, handling decompression of gzip responses. |
crates/kftray-tauri/src/kubeforward/mod.rs |
Restructured module imports, renamed proxy to target_pod_finder , added commands and logging modules. |
crates/kftray-tauri/src/kubeforward/port_forward.rs |
Refactored imports, added config_id parameter and field, implemented logging during connection forwarding. |
crates/kftray-tauri/src/main.rs |
Renamed functions within kubeforward module from port_forward to commands , added open_log_file . |
crates/kftray-tauri/src/models/kube.rs |
Added config_id field to PortForward struct. |
crates/kftray-tauri/src/tray.rs |
Renamed module import from port_forward to commands , updated function call to stop all port forwards. |
frontend/src/components/PortForwardTable/.../index.tsx |
Added imports, a new handleInspectLogs function, and a button to open log files for HTTP trace logs. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Feat: Inspect HTTP logs for service forwarding