Skip to content

Enable DB pods monitoring by default#1598

Merged
nimrod-becker merged 1 commit intonoobaa:masterfrom
dannyzaken:danny-cnpg
May 15, 2025
Merged

Enable DB pods monitoring by default#1598
nimrod-becker merged 1 commit intonoobaa:masterfrom
dannyzaken:danny-cnpg

Conversation

@dannyzaken
Copy link
Member

Explain the changes

  • By default, enable the DB cluster monitoring in Prometheus

  • A PodMonitor resource is created to scrape the DB pods

  • The default metrics are defined in the config-map cnpg-default-monitoring

  • The monitoring can be disabled by annotating noobaa CR with noobaa.io/disable_db_default_monitoring=true

  • Doc added/updated

  • Tests added

@dannyzaken dannyzaken force-pushed the danny-cnpg branch 2 times, most recently from 4d78227 to 2beab5b Compare May 8, 2025 16:01
- By default, enable the DB cluster monitoring in Prometheus
- A PodMonitor resource is created to scrape the DB pods
- The default metrics are defined in the config-map `cnpg-default-monitoring`
- The monitoring can be disabled by annotating noobaa CR with `noobaa.io/disable_db_default_monitoring=true`

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
@nimrod-becker nimrod-becker merged commit c142d86 into noobaa:master May 15, 2025
11 of 15 checks passed
liranmauda pushed a commit to liranmauda/noobaa-operator that referenced this pull request May 18, 2025
- By default, enable the DB cluster monitoring in Prometheus
- A PodMonitor resource is created to scrape the DB pods
- The default metrics are defined in the config-map `cnpg-default-monitoring`
- The monitoring can be disabled by annotating noobaa CR with `noobaa.io/disable_db_default_monitoring=true`

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
(cherry picked from commit c142d86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants