Skip to content

Commit

Permalink
feat: need cfg.ClusteredClickhouse
Browse files Browse the repository at this point in the history
  • Loading branch information
Cluas committed Oct 21, 2024
1 parent a4911bc commit cb44a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/qrynexporter/traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func newTracesExporter(logger *zap.Logger, cfg *Config, set *exporter.Settings)
meter: set.MeterProvider.Meter(typeStr),
db: db,
cluster: cfg.ClusteredClickhouse,
clientSide: cfg.ClientSideTraceProcessing,
clientSide: cfg.ClusteredClickhouse && cfg.ClientSideTraceProcessing,
}
if err := initMetrics(exp.meter); err != nil {
exp.logger.Error(fmt.Sprintf("failed to init metrics: %s", err.Error()))
Expand Down

0 comments on commit cb44a99

Please sign in to comment.