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':...
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...
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, })...
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 ...
writeTimeout = "3s" password = ""[mysql]debug = true# database DSNdsn = "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 levellevel = "debug"# maximum number of connect...
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...
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" ...
dial_timeout=2000ms&max_execution_time=60s", psb.DbUser.String, psw, psb.DbIp.String, portStr, psb.Db.String) }elseifdbType =="mysql"{ datasource= fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?charset=utf8mb4&parseTime=true&loc=Asia%%2FShanghai",...
charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&loc=Local&readTimeout=1s&timeout=1s&writeTimeout=3s" # log level level = "debug" # maximum number of connections in the idle connection pool for database maxIdleConns = 5...