dial_timeout=10s&compress=lz4database:defaultttl_days:3traces_table_name:otel_tracestimeout:5sretry_on_failure:enabled:trueinitial_interval:5smax_interval:30smax_elapsed_time:300sprocessors:batch:timeout:5ssend_batch_size:100000service:pipelines:traces:receivers:[otlp]processors:[spanmetrics,batch]expo...
'process.runtime.description':'Eclipse Adoptium OpenJDK 64-Bit Server VM 17.0.6+10','service.name':'adservice','service.namespace':'opentelemetry-demo','telemetry.sdk.version':'1.23.1','process.runtime.version':'17.0.6+10','telemetry.sdk.name':'opentelemetry','host.arch':...
DialContext(ctx, "tcp", addr) }, Debug: true, Debugf: func(format string, v ...interface{}) { fmt.Printf(format, v) }, Settings: clickhouse.Settings{ "max_execution_time": 60, }, Compression: &clickhouse.Compression{ Method: clickhouse.CompressionLZ4, }, DialTimeout: time.Duration(...
dial_timeout=200ms&max_execution_time=60 Specify the interface type as HttpsInterface e.g.conn := clickhouse.OpenDB(&clickhouse.Options{ Addr: []string{"127.0.0.1:8443"}, Auth: clickhouse.Auth{ Database: "default", Username: "default", Password: "", }, Protocol: clickhouse.HTTP, })...
receivers:otlp:protocols:grpc:endpoint:0.0.0.0:4317http:endpoint:0.0.0.0:4318processors:batch:timeout:3ssend_batch_size:100000exporters:debug:verbosity:normalclickhouse:endpoint:tcp://clickhouse:9000?dial_timeout=10s&compress=lz4&username=default&password=passworddatabase:defaultttl:0logs_table_name:otel...
[connect] read error: read tcp 127.0.0.1:49638->127.0.0.1:9000: i/o timeout [clickhouse]host(s)=127.0.0.1:9000, database=default, username=default [clickhouse][dial] secure=false, skip_verify=false, strategy=random, ident=3, server=0 -> 127.0.0.1:9000 [clickhouse][connect=3]...
ch.WithDialTimeout(5*time.Second), ch.WithReadTimeout(5*time.Second), ch.WithWriteTimeout(5*time.Second), ch.WithPoolSize(100), ) //打印Query Error db.AddQueryHook(chdebug.NewQueryHook(chdebug.WithVerbose(true))) //联通测试
username=%s&password=%s&database=%s&read_timeout=5&write_timeout=5&debug=true&compress=true&alt_hosts=%s"tcpInfo=fmt.Sprintf(tcpInfo,host1,user,password,database,otherHost)fmt.Println("tcpInfo",tcpInfo)varerr error//创建全局对象allclient,err=sqlx.Open("clickhouse",tcpInfo)iferr!=nil{log...
writeTimeout = "3s"password = ""[mysql]debug = true # database DSN dsn = "root:1234@tcp(127.0.0.1:3307)/clickvisual?charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&loc=Local&readTimeout=1s&timeout=1s&writeTimeout=3s"# log level level = "debug"# maximum number of ...
=default [clickhouse][dial] secure=false, skip_verify=false, strategy=random, ident=1, server=0 -> 127.0.0.1:9000 [clickhouse][connect=1][hello] -> Golang SQLDriver 1.1.54213 [clickhouse][connect=1][connect] read error: read tcp 127.0.0.1:49634->127.0.0.1:9000: i/o timeout [...