Skip to content

Commit

Permalink
feat: need cfg.ClusteredClickhouse
Browse files Browse the repository at this point in the history
  • Loading branch information
Cluas authored and akvlad committed Oct 22, 2024
1 parent 3efb32b commit f774a14
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 f774a14

Please sign in to comment.