gtctl
gtctl copied to clipboard
feat: dashboard use ip instead of localhost
- issue: https://github.com/GreptimeTeam/gtctl/issues/211
- summary: dashboard link log use ip instead of localhost
Summary by CodeRabbit
-
New Features
- Enhanced logging functionality with a new method for accessing the dashboard.
- Introduced a new utility function to dynamically retrieve the machine's IP address.
-
Improvements
- Increased visibility of the Frontend struct, making it accessible from other packages.
- Improved API usability by aligning method signatures with the new exported struct definition.
-
Refactor
- Adjusted the type of the Frontend component for more specialized functionality within the cluster architecture.