Skip to content

Commit 50554dd

Browse files
author
tony-landreth
committed
Applies processors
1 parent c75a6ba commit 50554dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/collector/postgres_metrics.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ func EnablePostgresMetrics(ctx context.Context, inCluster *v1beta1.PostgresClust
7474
// Add Metrics Pipeline
7575
config.Pipelines[PostgresMetrics] = Pipeline{
7676
Receivers: []ComponentID{FiveSecondSqlQuery, FiveMinuteSqlQuery},
77+
Processors: []ComponentID{
78+
SubSecondBatchProcessor,
79+
CompactingProcessor,
80+
},
7781
Exporters: []ComponentID{Prometheus},
7882
}
7983
}

0 commit comments

Comments
 (0)