-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[refractor] Using Spring jdbc to query Greptime log #3880
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…log-select # Conflicts: # hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/HistoryDataReader.java # hertzbeat-warehouse/src/main/java/org/apache/hertzbeat/warehouse/store/history/tsdb/greptime/GreptimeDbDataStorage.java
Signed-off-by: Yang Chen <1597081640@qq.com>
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
bigcyy
approved these changes
Dec 3, 2025
zqr10159
added a commit
to zqr10159/hertzbeat
that referenced
this pull request
Dec 3, 2025
Signed-off-by: Yang Chen <1597081640@qq.com> Co-authored-by: Yang Chen <1597081640@qq.com> (cherry picked from commit 7f4c2e0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces several improvements and new features related to log querying and ingestion. The main focus is on enhancing log search capabilities by adding support for keyword-based filtering in log queries and statistics endpoints. Additionally, there are adjustments to logging verbosity and updates to dependencies, including support for PostgreSQL in the warehouse module.
Log Query and Statistics Enhancements:
searchkeyword parameter to log query and statistics endpoints inLogQueryController, enabling users to filter logs by content. All relevant controller methods and internal helper methods now support this new parameter. [1] [2] [3] [4] [5]searchparameter, ensuring consistent keyword-based log filtering across all queries.Logging Verbosity Adjustments:
infotodebuglevel in bothLogIngestionControllerandOtlpLogProtocolAdapterto reduce log noise during normal operation. [1] [2]Warehouse Module Improvements:
application.yml) and included the PostgreSQL JDBC driver as a dependency inhertzbeat-warehouse/pom.xml. [1] [2]spring-boot-starter-jdbcas a provided dependency to support JDBC-based integrations.Code and Dependency Cleanup:
pom.xmlfile for better readability and maintainability. [1] [2] [3] [4] [5]These changes collectively improve log search functionality, optimize logging output, and extend database support for the warehouse module.## What's changed?