Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Prometheus scraping in Helm chart #2366

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

EladDolev
Copy link
Contributor

Description

Adding scraping using ServiceMonitor to the Controller Manager and PodMonitor to the CRD Replicator

Motivation is having the ability to scrape the controllers metrics in order of creating alerts on failed reconciles etc.

How Has This Been Tested?

  • Test A
    Installed with default values -> only change is the addition of the metrics port on the relevant Deployment(s)
  • Test B
    Installed with relevant PodMonitor/ServiceMonitor enabled -> metrics are visible in Prometheus

@adamjensenbot
Copy link
Collaborator

Hi @EladDolev. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@EladDolev
Copy link
Contributor Author

I'm happy to change the CRD Replicator PodMonitor to ServiceMonitor if requested 😄

@aleoli
Copy link
Member

aleoli commented Mar 1, 2024

/rebase test=true

@aleoli
Copy link
Member

aleoli commented Mar 1, 2024

/rebase test=true

* Controller Manager
* CRD Replicator

Signed-off-by: Elad Dolev <dolevelad@gmail.com>
@aleoli
Copy link
Member

aleoli commented Mar 1, 2024

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Mar 1, 2024
@adamjensenbot adamjensenbot merged commit c707856 into liqotech:master Mar 1, 2024
13 checks passed
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Mar 1, 2024
@aleoli aleoli added the kind/feature New feature or request label Mar 1, 2024
@EladDolev EladDolev deleted the improve_scraping branch March 1, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants