[exporter/alibabacloudmysqlduckdb] Add Alibaba Cloud RDS MySQL DuckDB exporter#47419
Draft
wangype wants to merge 3 commits intoopen-telemetry:mainfrom
Draft
[exporter/alibabacloudmysqlduckdb] Add Alibaba Cloud RDS MySQL DuckDB exporter#47419wangype wants to merge 3 commits intoopen-telemetry:mainfrom
wangype wants to merge 3 commits intoopen-telemetry:mainfrom
Conversation
Contributor
|
Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib. Important reminders:
A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better! |
… exporter Add a new exporter that writes OpenTelemetry logs, traces, and metrics to Alibaba Cloud RDS MySQL with DuckDB engine. Key features: - Supports all three signal types (logs, traces, metrics) - Attributes stored as MySQL JSON columns for flexible querying - Batch multi-value INSERT for high throughput - Auto schema creation (database + tables) on startup - Metrics split into gauge, sum, histogram, summary tables Assisted-by: Claude Opus 4.6
…d EVENTs Add `ttl` config option (e.g. `ttl: 72h`) that automatically creates MySQL EVENTs to periodically delete expired data. Each event runs hourly and deletes up to 100k rows per execution to avoid long transactions. Also updates README with TTL documentation, prerequisites, and examples. Assisted-by: Claude Opus 4.6
89bef2c to
1bf4a3b
Compare
6 tasks
mx-psi
requested changes
Apr 7, 2026
Member
mx-psi
left a comment
There was a problem hiding this comment.
Thanks for your PR, please take a look at our guidelines for donating new components to move forward
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.
Description
Add a new exporter
alibabacloudmysqlduckdbthat sends OpenTelemetry logs, traces, and metrics to Alibaba Cloud RDS MySQL with DuckDBengine, built by the Alibaba AliSQL team.
JSONcolumnsINSERTfor high throughputAlibaba Cloud RDS MySQL DuckDB is built by the Alibaba AliSQL team. It provides native MySQL syntax compatibility with DuckDB's columnar compression storage and vectorized analytical query engine, making it well-suited for observability data.
Link to tracking issue
Fixes
Testing
//go:build integration) against real Alibaba Cloud RDS MySQL, covering all signal types and TTL EVENT verificationMYSQL_DSN="user:pass@tcp(host:3306)/db" go test -tags integration -v ./...Documentation
README.md: configuration reference, table schema, query examples, TTL setup, example collector config