Skip to content

Commit 36462c0

Browse files
Update internal/collector/postgres_metrics.go
Co-authored-by: Drew Sessler <36803518+dsessler7@users.noreply.github.com>
1 parent 954784a commit 36462c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/collector/postgres_metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func EnablePostgresMetrics(ctx context.Context, inCluster *v1beta1.PostgresClust
181181
Exporters: []ComponentID{Prometheus},
182182
}
183183

184-
// Add custom queries if they are defined in the spec
184+
// Add custom queries and per-db metrics if they are defined in the spec
185185
if inCluster.Spec.Instrumentation != nil &&
186186
inCluster.Spec.Instrumentation.Metrics != nil {
187187

0 commit comments

Comments
 (0)