Open Wudadada opened 1 week ago
Pinging code owners:
exporter/clickhouse: @hanjm @dmitryax @Frapschen @SpencerTorres
See Adding Labels via Comments if you do not have permissions to add labels yourself.
after I delete this row 'database: otel' in config.xml,otel-col can start and create schema,but the schema it created is not on cluster but standalone
after I delete this row 'database: otel' in config.xml,otel-col can start and create schema,but the schema it created is not on cluster but standalone
This is likely because it will fall back to the default
database, which already exists by default
You may need to check the system.query_log
table for a query that looks something like:
CREATE DATABASE IF NOT EXISTS otel cluster_2S_1R
For now, you can manually create your tables using the example DDL here, and then start your exporter with the create_schema
config option set to false
Let me know if there are any more logs surrounding this in the otelcol output, the error message doesn't make sense. I don't see how this "create database" would error with the database already existing
Let me know if there are any more logs surrounding this in the otelcol output, the error message doesn't make sense. I don't see how this "create database" would error with the database already existing
Thank you for your reply, logs were lost and i reproduced again, but it seems nothing more useful log.
Component(s)
exporter/clickhouse
What happened?
Description
Failed to start the otelcol-contrib because creating database failed as the error log says.
Steps to Reproduce
my clickhouse deployed as a 3-node cluster.
Expected Result
Successfully start the otelcol-contrib
Actual Result
Failed as the log say
Collector version
v0.111.0
Environment information
Environment
OS: (e.g., "CentOS8")
OpenTelemetry Collector configuration
Log output
Additional context
No response