Skip to content

Commit

Permalink
Activate clickhouse in v2 exporter and fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: haanhvu <[email protected]>
  • Loading branch information
haanhvu committed Jun 23, 2024
1 parent b47c7ee commit 1ad9fee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/jaeger/internal/exporters/storageexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ func (exp *storageExporter) start(_ context.Context, host component.Host) error
return fmt.Errorf("cannot find storage factory: %w", err)
}

if clickhouse == true {
if clickhouse {
exp.clickhouse = clickhouse
exp.chExportTraces = f.ChExportSpans
} else {
if exp.traceWriter, err = f.CreateTraceWriter(); err != nil {
Expand Down

0 comments on commit 1ad9fee

Please sign in to comment.