Skip to content
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

[exporter/clickhouse] Enhacement - TTL Fine-grained configuration control #29095

Merged
merged 19 commits into from
Nov 15, 2023
Merged

[exporter/clickhouse] Enhacement - TTL Fine-grained configuration control #29095

merged 19 commits into from
Nov 15, 2023

Conversation

leartbeqiraj1
Copy link
Contributor

Description:
Added support for more control over TTL configuration. Currently, it supports timelines only in days, and now also in hours, minutes and seconds.

Link to tracking Issue: 28675

Testing: Minimal test updates, only property name and type changes.

Documentation: Updated Readme accordingly.

@leartbeqiraj1 leartbeqiraj1 requested a review from a team November 10, 2023 01:27
Copy link

linux-foundation-easycla bot commented Nov 10, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@leartbeqiraj1 leartbeqiraj1 changed the title ClickHouseExporter TTL -> Fine-grained configuration control [exporter/clickhouse] Enhacement - TTL Fine-grained configuration control Nov 10, 2023
Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just one comment

exporter/clickhouseexporter/factory.go Outdated Show resolved Hide resolved
@dmitryax
Copy link
Member

Also, PTAL at the linter failures

Copy link
Member

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution!

@dmitryax dmitryax merged commit da0da50 into open-telemetry:main Nov 15, 2023
75 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 15, 2023
RoryCrispin pushed a commit to ClickHouse/opentelemetry-collector-contrib that referenced this pull request Nov 24, 2023
…trol (open-telemetry#29095)

**Description:**
Added support for more control over TTL configuration. Currently, it
supports timelines only in days, and now also in hours, minutes and
seconds.

**Link to tracking Issue:**
[28675](open-telemetry#28675)
tarokkk added a commit to axoflow/opentelemetry-collector-contrib that referenced this pull request Nov 29, 2023
codeboten pushed a commit that referenced this pull request Dec 8, 2023
Fixing regression error in
#29095

The name of the `timeField` in `generateTTLExpr` was ignored and
defaulted to `Timestamp`. The problem is that different tables have
different names for this field. Now it is specified at each table
creation.

---------

Co-authored-by: Alex Boten <aboten@lightstep.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants