Adding endpoint to download local log files for each component #9259
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding endpoint to download local log files for each component for controller/broker/server/minion.
The purpose here is to simplify users debugging from the remote environment without access to containers.
E.g. users may have access only to controller LoadBalancer without the entire cluster, but want to debug a pinot server logger for why my real-time table is not ingesting, any issue with Kafka consumer or message decoder.
pinot.controller.logger.root.dir,pinot.broker.logger.root.dir,pinot.server.logger.root.dir,pinot.minion.logger.root.dir/loggers/files: List all the log files under the logger root directory./loggers/download?filePath={filePath}: Download the log file based on the relative path./loggers/instances: Collect log files from all the instances in the cluster./loggers/instances/{instanceName}: List all the log files for a given instance./loggers/instances/{instanceName}/download?filePath={filePath}: Download the log file from a given instance on a given path.