diff --git a/.chloggen/fix_clickhouse_exporter_default_ttl_settings.yaml b/.chloggen/fix_clickhouse_exporter_default_ttl_settings.yaml new file mode 100644 index 000000000000..bf5ca50c697e --- /dev/null +++ b/.chloggen/fix_clickhouse_exporter_default_ttl_settings.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: bug_fix + +# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) +component: clickhouseexporter + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Fix clickhouse exporter default TTL settings. + +# One or more tracking issues related to the change +issues: [20302] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/exporter/clickhouseexporter/factory.go b/exporter/clickhouseexporter/factory.go index c7176b9db2d8..d9703ced5a8a 100644 --- a/exporter/clickhouseexporter/factory.go +++ b/exporter/clickhouseexporter/factory.go @@ -51,7 +51,7 @@ func createDefaultConfig() component.Config { LogsTableName: "otel_logs", TracesTableName: "otel_traces", MetricsTableName: "otel_metrics", - TTLDays: 7, + TTLDays: 0, } }