Skip to content

Instrumentation for pgStatStatements and logicalReplication queries not adding customQueriesConfigMap #994

Description

@oscarbcala

Description

Enabling the pg_stat_statements extension on the chart with cluster.monitoring.instrumentation.pgStatStatements: true correctly enables the extension, creates the configmaps with the queries <cluster>-monitoring-logical-replication, <cluster>-monitoring-pg-stat-statements but does not add them to the customQueriesConfigMap on the cluster.

Result

No metrics are emited for pgStatStatements and logicalReplication.
The cluster only has the injected cnpg-default-monitoring.

### Expected Result
When enabling the instrumentation the metrics should be emited by the pod, so they should be mounted.

I can make a PR for this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingchart( cluster )Related to the cluster chart

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions