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

[bitnami/redis] - add missing fields in service/pod monitor #22809

Merged
merged 20 commits into from
Feb 13, 2024

Conversation

shlomitubul
Copy link
Contributor

@shlomitubul shlomitubul commented Jan 28, 2024

Description of the change

When using multiple endpoints in pod-monitor in order to scrape both Sentinel and Redis metrics if
not passing metricRelabelings with unique values (e.g app=redis) the metrics get aggregated from both containers,
this PR mainly fixes a potential bug I introduced in this PR

Benefits

distinguish between Sentinel and Redis container metrics

Possible drawbacks

none

Applicable issues

Additional information

shlomitubul and others added 11 commits January 17, 2024 15:28

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
… monitor

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>
Signed-off-by: David Gomez <dgomezleon@vmware.com>
…inel and Redis container metrics

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
…inel and Redis container metrics

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
@github-actions github-actions bot added redis triage Triage is needed labels Jan 28, 2024
@github-actions github-actions bot requested a review from carrodher January 28, 2024 23:07
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
@carrodher
Copy link
Member

Thanks for your contribution, could you please take a look at the errors related to the metadata in values.yaml used to generate the documentation table in the README.md?

ERROR: Missing metadata for key: metrics.serviceMonitor.port
ERROR: Missing metadata for key: metrics.podMonitor.port
ERROR: Metadata provided for non existing key: metrics.port
ERROR: Metadata provided for non existing key: metrics.port

shlomitubul and others added 4 commits January 29, 2024 15:48
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>
Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
@shlomitubul
Copy link
Contributor Author

@carrodher fixed, is there anything else I need to change?

Carlos Rodríguez Hernández and others added 2 commits February 2, 2024 09:31
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Feb 2, 2024
@github-actions github-actions bot removed the triage Triage is needed label Feb 2, 2024
@github-actions github-actions bot removed the request for review from carrodher February 2, 2024 08:41
Signed-off-by: Andrés Bono <andresbono@vmware.com>
Copy link
Contributor

@andresbono andresbono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thank you for your contribution!

@andresbono andresbono enabled auto-merge (squash) February 13, 2024 16:21
@andresbono andresbono merged commit 4d174a3 into bitnami:main Feb 13, 2024
8 checks passed
antonblr pushed a commit to antonblr/charts that referenced this pull request Feb 15, 2024
…22809)

* [bitnami/redis] - add support for additional-endpoints in service/pod monitor

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* [bitnami/redis] - bump redis chart version

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - remove unnecessary selector from pod-monitor.yaml

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - update comment in values.yaml

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - Added metricRelabelings to distinguish between Sentinel and Redis container metrics

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - Added metricRelabelings to distinguish between Sentinel and Redis container metrics

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - bump version

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - revert test values

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - fix serviceMonitor port value

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - fix port comment in service/pod Monitor section

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - fix port comment in service/pod Monitor section

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>
Signed-off-by: David Gomez <dgomezleon@vmware.com>
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Signed-off-by: Andrés Bono <andresbono@vmware.com>
Co-authored-by: ShlomiTubul <shlomi.tubul@placer.ai>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: David Gomez <dgomezleon@vmware.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Andrés Bono <andresbono@vmware.com>
Signed-off-by: antonblr <44246099+antonblr@users.noreply.github.com>
joancafom pushed a commit to dalbani/charts that referenced this pull request Feb 22, 2024
…22809)

* [bitnami/redis] - add support for additional-endpoints in service/pod monitor

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* [bitnami/redis] - bump redis chart version

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - remove unnecessary selector from pod-monitor.yaml

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - update comment in values.yaml

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - Added metricRelabelings to distinguish between Sentinel and Redis container metrics

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - Added metricRelabelings to distinguish between Sentinel and Redis container metrics

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - bump version

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - revert test values

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - fix serviceMonitor port value

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - fix port comment in service/pod Monitor section

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* [bitnami/redis] - fix port comment in service/pod Monitor section

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>
Signed-off-by: David Gomez <dgomezleon@vmware.com>
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Signed-off-by: Andrés Bono <andresbono@vmware.com>
Co-authored-by: ShlomiTubul <shlomi.tubul@placer.ai>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: David Gomez <dgomezleon@vmware.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Andrés Bono <andresbono@vmware.com>
Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redis solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants