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

Fix ServiceMonitor for Clickhouse Metrics #1276

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

MiguelNdeCarvalho
Copy link
Contributor

@MiguelNdeCarvalho MiguelNdeCarvalho commented Nov 20, 2023

Thanks for taking the time to contribute to clickhouse-operator!

Please, read carefully instructions on how to make a Pull Request.

This will help a lot for maintainers to adopt your Pull Request.

Important items to consider before making a Pull Request

Please check items PR complies to:

  • All commits in the PR are squashed. More info
  • The PR is made into dedicated next-release branch, not into master branch1. More info
  • The PR is signed. More info

--

1 If you feel your PR does not affect any Go-code or any testable functionality (for example, PR contains docs only or supplementary materials), PR can be made into master branch, but it has to be confirmed by project's maintainer.


After I upgraded to v0.22.0 I saw that my metrics where missing and then I found out that the ServiceMonitor was scraping the old port name, this PR fixes it. Thanks!

@MiguelNdeCarvalho MiguelNdeCarvalho changed the base branch from master to 0.23.0 November 20, 2023 22:30
Copy link
Collaborator

@Slach Slach left a comment

Choose a reason for hiding this comment

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

Thanks for your contributing

Unfortunately it will not work.

please look and try to figure out
https://github.com/Altinity/clickhouse-operator/blob/0.23.0/dev/generate_helm_chart.sh

after that, please add patch to this script instead of generated templates

@Slach Slach merged commit a49fd6d into Altinity:0.23.0 Nov 21, 2023
@Slach
Copy link
Collaborator

Slach commented Nov 21, 2023

this is not generated file, thanks for contribution again

@MiguelNdeCarvalho MiguelNdeCarvalho deleted the fix-clickhouse-metrics branch November 21, 2023 16:59
@Slach Slach mentioned this pull request Dec 13, 2023
3 tasks
Slach added a commit that referenced this pull request Dec 13, 2023
Signed-off-by: Slach <bloodjazman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants