Skip to content

Commit

Permalink
debug clusterKey; pyroscope config
Browse files Browse the repository at this point in the history
  • Loading branch information
akvlad committed Oct 24, 2024
1 parent d442571 commit 90ec04f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/qrynexporter/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ func (e *logsExporter) pushLogsData(ctx context.Context, ld plog.Logs) error {
}

func batchSamplesAndTimeSeries(ctx context.Context, db clickhouse.Conn, samples []Sample, timeSeries []TimeSerie) error {
isCluster := ctx.Value("cluster").(bool)
isCluster := ctx.Value(clusterKey).(bool)
samplesBatch, err := db.PrepareBatch(ctx, samplesSQL(isCluster))
if err != nil {
return err
Expand Down

0 comments on commit 90ec04f

Please sign in to comment.