-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/clickhouse] Can't create metrics table with the new ttl
configuration.
#29626
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
From the previous comment, I think it should be easy to fix by changing |
@Frapschen Can you have a look at it? |
To detect SQL problems like that we need to start a clickhouse server to test the SQLs, I want to use Testcontainers to start a clickhouse container and start our exporter based on it. any thought? @googollee @JaredTan95 @hanjm |
This should be fixed by #29573. @Frapschen PTAL |
@Frapschen Looks good, try it. If the CI not support docker, then add a special go tag for local test only. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
fix by #29573 |
**Description:** <Describe what has changed.> as #29626 (comment) mentioned, this PR adds an integration test for clickhouse exporter and it brings those benefits: - Verify tables are properly created in clickhouse after any breaking change(filter out bug like [this](#29573) before merge) - Verify if any bugs occur during data insertion like missed data or insert into an error column([30210](#30210)) .etc. - Compatibility testing for `clickhouse-server:23-alpine` and `clickhouse-server:22-alpine` close #29626 --------- Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Component(s)
exporter/clickhouse
What happened?
Description
With
0.90.0
collector, when starting with clickhouse exporter, collector can't create metrics tables in clickhouse. It works well with0.89.0
version, so this bug should be introduced by #29095.Steps to Reproduce
docker run --rm -v \
pwd`/otel.yaml:/etc/otelcol-contrib/config.yaml --network host ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.90.0`Expected Result
The collector image should work well with the configuration.
Actual Result
Collector version
v0.90.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: