companyinfo / helm-charts

Company.info Helm charts repository
https://companyinfo.github.io/helm-charts
Apache License 2.0
68 stars 22 forks source link

feat: add PodMonitor configuration for Prometheus Operator #32

Closed alizdavoodi closed 10 months ago

alizdavoodi commented 10 months ago

Summary:

This merge request involves the addition of a PodMonitor in the helmet chart for Prometheus Operator. This change will enable the scraping of metrics from pods, improving monitoring capabilities.

Changes in Detail:

  1. _app.yaml: The PodMonitor feature is included in the application deployment.

  2. values.yaml: New configuration parameters related to the PodMonitor are added such as enabling/disabling the feature, declaring the namespace, job label, metrics port, metrics path, scrape interval and timeout, labels, relabeling rules, and selectors.

  3. _podmonitor.yaml: The PodMonitor template

These updates provide the user with the flexibility to modify the PodMonitor's settings based on their requirements and environment setup.

Please review and approve if everything is in order. Any feedback or suggestions are welcomed.