Versions in this module Expand all Collapse all v2 v2.8.0 Nov 12, 2025 Changes in this version + const ExporterDB + const ExporterHost + const ExporterPort + const MonitoringUser + var DefaultValuesForQueries = map[string]string + var ExporterDeactivateStatBGWriterFlag = "--no-collector.stat_bgwriter" + var ExporterWebConfigFileFlag = "--web.config.file=/web-config/web-config.yml" + func DisableExporterInPostgreSQL(ctx context.Context, exec postgres.Executor) error + func EnableExporterInPostgreSQL(ctx context.Context, exec postgres.Executor, monitoringSecret *corev1.Secret, ...) error + func ExporterEnabled(cluster *v1beta1.PostgresCluster) bool + func ExporterStartCommand(builtinCollectors bool, commandFlags ...string) []string + func GenerateDefaultExporterQueries(ctx context.Context, cluster *v1beta1.PostgresCluster) string + func GetQueriesConfigDir(ctx context.Context) string + func PostgreSQLHBAs(inCluster *v1beta1.PostgresCluster, outHBAs *postgres.HBAs) + func PostgreSQLParameters(inCluster *v1beta1.PostgresCluster, outParameters *postgres.Parameters) + type Executor func(ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, ...) error + func (exec Executor) GetExporterSetupSQL(ctx context.Context, version int) (string, string, error)