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

feat(kuma-cp): allow to disable resources count metrics #7304

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

lukidzi
Copy link
Contributor

@lukidzi lukidzi commented Jul 19, 2023

Checklist prior to review

Currently, we are reporting metrics for each resource name with the number of resources. When we introduced multitenancy we also increased the cardinality of the metrics. In the case of many tenants, metrics can be really expensive. Now we are able to disable it because i feel like there is no point to report aggregated metrics with the count of all the resources.

  • Link to relevant issue as well as docs and UI issues --
  • This will not break child repos: it doesn't hardcode values (.e.g "kumahq" as a image registry) and it will work on Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Tests (Unit test, E2E tests, manual test on universal and k8s) --
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

Currently, we are reporting metrics for each resource name and the number
of the resources. When we introduced multitenancy we also increased the
cardinality of the metrics. In case of many tenants metrics can be really
expensive. Now we are able to disable it.

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@lukidzi lukidzi requested a review from a team as a code owner July 19, 2023 12:48
@lukidzi lukidzi requested review from jakubdyszkiewicz and lobkovilya and removed request for a team July 19, 2023 12:48
@michaelbeaumont michaelbeaumont changed the title feat(kuma-cp): allow to disbale resources count metrics feat(kuma-cp): allow to disable resources count metrics Jul 19, 2023
Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@slonka slonka merged commit 3da6a24 into kumahq:master Jul 24, 2023
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.

3 participants