We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 427faa0 commit b5a7244Copy full SHA for b5a7244
internal/controller/postgrescluster/pgmonitor.go
@@ -69,7 +69,7 @@ func (r *Reconciler) reconcilePGMonitorExporter(ctx context.Context,
69
return err
70
}
71
72
- if feature.Enabled(ctx, feature.OpenTelemetryMetrics) {
+ if collector.OpenTelemetryMetricsEnabled(ctx, cluster) {
73
setup = metricsSetupForOTelCollector
74
} else {
75
// TODO: Revisit how pgbackrest_info.sh is used with pgMonitor.
0 commit comments