Skip to content

Commit

Permalink
Update clickhouse.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitnayan authored Nov 14, 2022
1 parent 47e1a6f commit 9412b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/clickhousemetricsexporter/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func NewClickHouse(params *ClickHouseParams) (base.Storage, error) {
metric_name LowCardinality(String),
fingerprint UInt64 Codec(DoubleDelta, LZ4),
timestamp_ms Int64 Codec(DoubleDelta, LZ4),
labels String Codec(ZSTD(5)),
labels String Codec(ZSTD(5))
)
ENGINE = ReplacingMergeTree
PARTITION BY toDate(timestamp_ms / 1000)
Expand Down

1 comment on commit 9412b5d

@srikanthccv
Copy link
Member

Choose a reason for hiding this comment

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

Thanks, I didn't know this would result in an error.

Please sign in to comment.