metrics collector #14

Merged
asmogo merged 5 commits from feat/prometheus-collector into main 2026-04-15 07:08:26 +00:00
asmogo commented 2026-04-14 08:24:35 +00:00 (Migrated from github.com)
No description provided.
asmogo commented 2026-04-14 10:18:13 +00:00 (Migrated from github.com)

@copilot resolve the merge conflicts in this pull request

@copilot resolve the merge conflicts in this pull request
codecov[bot] commented 2026-04-14 10:32:14 +00:00 (Migrated from github.com)

Codecov Report

Patch coverage is 89.83051% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/controller/cashumint_controller.go 85.71% 2 Missing and 2 partials ⚠️
internal/controller/generators/podmonitor.go 93.33% 1 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
cmd/main.go 65.81% <100.00%> (+0.29%) ⬆️
internal/controller/generators/podmonitor.go 93.33% <93.33%> (ø)
internal/controller/cashumint_controller.go 65.16% <85.71%> (+4.89%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
## [Codecov](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) Report :x: Patch coverage is `89.83051%` with `6 lines` in your changes missing coverage. Please review. | [Files with missing lines](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) | Patch % | Lines | |---|---|---| | [internal/controller/cashumint\_controller.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&filepath=internal%2Fcontroller%2Fcashumint_controller.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9jYXNodW1pbnRfY29udHJvbGxlci5nbw==) | 85.71% | [2 Missing and 2 partials :warning: ](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) | | [internal/controller/generators/podmonitor.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&filepath=internal%2Fcontroller%2Fgenerators%2Fpodmonitor.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9nZW5lcmF0b3JzL3BvZG1vbml0b3IuZ28=) | 93.33% | [1 Missing and 1 partial :warning: ](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) | | [Files with missing lines](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) | Coverage Δ | | |---|---|---| | [cmd/main.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&filepath=cmd%2Fmain.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-Y21kL21haW4uZ28=) | `65.81% <100.00%> (+0.29%)` | :arrow_up: | | [internal/controller/generators/podmonitor.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&filepath=internal%2Fcontroller%2Fgenerators%2Fpodmonitor.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9nZW5lcmF0b3JzL3BvZG1vbml0b3IuZ28=) | `93.33% <93.33%> (ø)` | | | [internal/controller/cashumint\_controller.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/14?src=pr&el=tree&filepath=internal%2Fcontroller%2Fcashumint_controller.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9jYXNodW1pbnRfY29udHJvbGxlci5nbw==) | `65.16% <85.71%> (+4.89%)` | :arrow_up: | <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. </details>
Sign in to join this conversation.
No description provided.