Skip to content

feat: add option to set product info#40

Merged
abonander merged 10 commits intomainfrom
ab/product-info
Jan 28, 2026
Merged

feat: add option to set product info#40
abonander merged 10 commits intomainfrom
ab/product-info

Conversation

@abonander
Copy link
Copy Markdown
Collaborator

@abonander abonander commented Jan 22, 2026

Summary

closes #38
closes #39

  • Adds support for the option clickhouse.client.product_info at all levels of the object hierarchy. The value should be a string of <product name>/<product version> with multiple products separated by spaces. This will be added to the User-Agent header when calling the ClickHouse HTTP interface so adoption can be tracked in metrics.

Checklist

Delete items not relevant to your PR:

  • Unit and integration tests covering the common scenarios were added
  • A human-readable description of the changes was provided so that we can include it in CHANGELOG later

@abonander abonander marked this pull request as ready for review January 26, 2026 16:28
@abonander abonander requested a review from koletzilla as a code owner January 26, 2026 16:28
@abonander abonander requested a review from kavirajk January 26, 2026 16:29
Comment thread tests/it/main.rs
Comment thread src/options.rs
Comment thread src/lib.rs Outdated
@abonander abonander merged commit 9c0d74b into main Jan 28, 2026
6 checks passed
@abonander abonander deleted the ab/product-info branch January 28, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide an option to set additional product info Include ADBC driver version in client product info

3 participants