8000 Fix ServiceMonitor for Clickhouse Metrics by MiguelNdeCarvalho · Pull Request #1276 · Altinity/clickhouse-operator · GitHub
[go: up one dir, main page]

Skip to content

Fix ServiceMonitor for Clickhouse Metrics - #1276

Merged
Slach merged 1 commit into
Altinity:0.23.0from
MiguelNdeCarvalho:fix-clickhouse-metrics
Nov 21, 2023
Merged

Slach merged 1 commit into
Altinity:0.23.0from
MiguelNdeCarvalho:fix-clickhouse-metrics

Conversation

@MiguelNdeCarvalho
@MiguelNdeCarvalho MiguelNdeCarvalho commented Nov 20, 2023 •
Copy link
Copy Markdown
Contributor

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
@Slach Slach left a comment
Copy link
Copy Markdown
Collaborator

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
Slach commented Nov 21, 2023
Copy link
Copy Markdown
Collaborator

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

0