Skip to content

Commit 90ec04f

Browse files
committed
debug clusterKey; pyroscope config
1 parent d442571 commit 90ec04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporter/qrynexporter/logs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ func (e *logsExporter) pushLogsData(ctx context.Context, ld plog.Logs) error {
452452
}
453453

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

0 commit comments

Comments
 (0)