Skip to content

Commit

Permalink
[exporter/clickhouse] Fix clickhouse exporter default TTL settings (o…
Browse files Browse the repository at this point in the history
…pen-telemetry#20443)

Fix clickhouse exporter default TTL settings.

Signed-off-by: Jared Tan <[email protected]>
  • Loading branch information
JaredTan95 committed Mar 29, 2023
1 parent a8bae92 commit 317491f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .chloggen/fix_clickhouse_exporter_default_ttl_settings.yaml
Original file line number Diff line number Diff line change
@@ -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:
2 changes: 1 addition & 1 deletion exporter/clickhouseexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func createDefaultConfig() component.Config {
LogsTableName: "otel_logs",
TracesTableName: "otel_traces",
MetricsTableName: "otel_metrics",
TTLDays: 7,
TTLDays: 0,
}
}

Expand Down

0 comments on commit 317491f

Please sign in to comment.