-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Labels
Comments
dharley-atlastix
added
bug
Something isn't working
needs triage
New item requiring triage
labels
Mar 24, 2023
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
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:
opentelemetry-collector-contrib/exporter/clickhouseexporter/README.md
Line 275 in b551b66
Actual default configuration in the exporter factory:
opentelemetry-collector-contrib/exporter/clickhouseexporter/factory.go
Line 54 in b551b66
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
The text was updated successfully, but these errors were encountered: