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

Clickhouse exporter creates tables with a 7 day TTL by default #20302

Closed
dharley-atlastix opened this issue Mar 24, 2023 · 1 comment · Fixed by #20443
Closed

Clickhouse exporter creates tables with a 7 day TTL by default #20302

dharley-atlastix opened this issue Mar 24, 2023 · 1 comment · Fixed by #20443
Labels
bug Something isn't working exporter/clickhouse

Comments

@dharley-atlastix
Copy link

Component(s)

exporter/clickhouse

What happened?

Description

Tables created in Clickhouse have a TTL default of 7 days, instead of the documented default of 0 (no TTL).

Documented default:

- `ttl_days` (default = 0): The data time-to-live in days, 0 means no ttl.

Actual default configuration in the exporter factory:

Steps to Reproduce

Allow Clickhouse exporter to create any table and inspect the create schema.

Expected Result

No TTL limit should be imposed

Actual Result

7 Day TTL is set.

Collector version

v0.74.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@dharley-atlastix dharley-atlastix added bug Something isn't working needs triage New item requiring triage labels Mar 24, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working exporter/clickhouse
Projects
None yet
2 participants