Open
Conversation
This adds support for OpenGemini, a CNCF sandbox project for time-series data storage that is compatible with InfluxDB v1.x APIs. Plugins included: - OpenGeminiDatasource: Datasource plugin for connecting to OpenGemini instances - OpenGeminiTimeSeriesQuery: Time series query plugin using InfluxQL Relates to perses/perses#3716 Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
Contributor
|
@aviralgarg05 you need to execute |
This commit addresses the following: - Adds missing lint script to package.json - Fixes linting errors in source code - Adds Jest configuration and setup files - Adds basic unit test to satisfy test runner Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
3b96102 to
027ca93
Compare
5 tasks
- Add missing license header to datasource.test.ts - Update golangci-lint script to skip plugins without Go files (opengemini is TypeScript-only) Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
29f8944 to
ebf3d1e
Compare
Contributor
AntoineThebaud
left a comment
There was a problem hiding this comment.
CUE review following a change on main branch:
opengemini/schemas/datasources/opengemini-datasource/opengemini-datasource.cue
Outdated
Show resolved
Hide resolved
opengemini/schemas/queries/opengemini-time-series-query/query.cue
Outdated
Show resolved
Hide resolved
Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
Signed-off-by: aviralgarg05 <gargaviral99@gmail.com> # Conflicts: # package-lock.json
a677176 to
4a6a3f6
Compare
opengemini/schemas/datasources/opengemini-datasource/opengemini-datasource.cue
Outdated
Show resolved
Hide resolved
- Add Apache 2.0 license headers to CUE schema files - Fix #selector to use _kind: #kind pattern instead of hardcoded kind field - Resolves schema validation error and license check failures Signed-off-by: Aviral Garg <waysorted@gmail.com> Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
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
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.
[FEATURE] Add OpenGemini plugin
This PR adds support for OpenGemini, a CNCF sandbox project for distributed time-series data storage. Since OpenGemini is fully compatible with InfluxDB v1.x APIs, this plugin implements the necessary data models and components to connect to OpenGemini instances and execute InfluxQL queries.
Plugins Included:
Relates to perses/perses#3716
Description
The plugin is implemented as a new package within the
perses/pluginsmonorepo. Key features include:OpenGeminiDatasourceandOpenGeminiTimeSeriesQueryspecs, ensuring full validation./queryendpoint and handles Influx-style JSON response transformation (columns/values) into PersesTimeSeriesformat.turbobuild system andrsbuild.sharedconfiguration.Screenshots
N/A - Uses standard Perses form and editor UI components.
Checklist
[FEATURE] Add OpenGemini pluginnaming convention.UI Changes
npx turbo run build --filter=@perses-dev/opengemini-plugin.