Skip to content

[exporter/clickhouse]Differences between the metric table structure of the ClickHouse Exporter and ClickHouse official? #35917

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

Closed
Wudadada opened this issue Oct 22, 2024 · 3 comments
Labels
exporter/clickhouse needs triage New item requiring triage

Comments

@Wudadada
Copy link

Component(s)

exporter/clickhouse

Describe the issue you're reporting

What are the differences between the metric table structure of the ClickHouse Exporter and the structure provided by ClickHouse officially? https://clickhouse.com/docs/en/engines/table-engines/special/time_series
Which is better?

@Wudadada Wudadada added the needs triage New item requiring triage label Oct 22, 2024
Copy link
Contributor

Pinging code owners:

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

@SpencerTorres
Copy link
Member

The Time Series engine is an experimental way of storing metrics. I believe it was heavily influenced by the Prometheus use case. The docs have more info than me on the actual implementation/usage.

Considering it's experimental, I would say the current exporter's metrics tables are relatively more stable. I expect the new engine will be improved over time however, and may eventually be superior to the current exporter's schema.

For now it's best to use the tables that are provided, even better if you modify the schema to fit your needs. If you wanted to experiment with the Time Series engine you may be able to set up some kind of materialized view to re-structure the data into a new table

@Wudadada
Copy link
Author

The Time Series engine is an experimental way of storing metrics. I believe it was heavily influenced by the Prometheus use case. The docs have more info than me on the actual implementation/usage.

Considering it's experimental, I would say the current exporter's metrics tables are relatively more stable. I expect the new engine will be improved over time however, and may eventually be superior to the current exporter's schema.

For now it's best to use the tables that are provided, even better if you modify the schema to fit your needs. If you wanted to experiment with the Time Series engine you may be able to set up some kind of materialized view to re-structure the data into a new table

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/clickhouse needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

2 participants