Expose Prometheus metrics on the Service #20

Merged
asmogo merged 3 commits from feat/prometheus-service into main 2026-05-16 19:02:24 +00:00
asmogo commented 2026-05-13 09:49:02 +00:00 (Migrated from github.com)
No description provided.
codecov[bot] commented 2026-05-13 09:54:12 +00:00 (Migrated from github.com)

Codecov Report

All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
api/v1alpha1/cashumint_types.go 100.00% <ø> (ø)
api/v1alpha1/cashumint_webhook.go 89.57% <100.00%> (ø)
internal/controller/generators/configmap.go 86.62% <100.00%> (ø)
internal/controller/generators/deployment.go 87.64% <100.00%> (-0.40%) ⬇️
internal/controller/generators/podmonitor.go 93.33% <100.00%> (ø)
internal/controller/generators/service.go 90.36% <100.00%> (+1.32%) ⬆️
🚀 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/20?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) Report :white_check_mark: All modified and coverable lines are covered by tests. | [Files with missing lines](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo) | Coverage Δ | | |---|---|---| | [api/v1alpha1/cashumint\_types.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?src=pr&el=tree&filepath=api%2Fv1alpha1%2Fcashumint_types.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-YXBpL3YxYWxwaGExL2Nhc2h1bWludF90eXBlcy5nbw==) | `100.00% <ø> (ø)` | | | [api/v1alpha1/cashumint\_webhook.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?src=pr&el=tree&filepath=api%2Fv1alpha1%2Fcashumint_webhook.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-YXBpL3YxYWxwaGExL2Nhc2h1bWludF93ZWJob29rLmdv) | `89.57% <100.00%> (ø)` | | | [internal/controller/generators/configmap.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?src=pr&el=tree&filepath=internal%2Fcontroller%2Fgenerators%2Fconfigmap.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9nZW5lcmF0b3JzL2NvbmZpZ21hcC5nbw==) | `86.62% <100.00%> (ø)` | | | [internal/controller/generators/deployment.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?src=pr&el=tree&filepath=internal%2Fcontroller%2Fgenerators%2Fdeployment.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9nZW5lcmF0b3JzL2RlcGxveW1lbnQuZ28=) | `87.64% <100.00%> (-0.40%)` | :arrow_down: | | [internal/controller/generators/podmonitor.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?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% <100.00%> (ø)` | | | [internal/controller/generators/service.go](https://app.codecov.io/gh/asmogo/cashu-operator/pull/20?src=pr&el=tree&filepath=internal%2Fcontroller%2Fgenerators%2Fservice.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=asmo#diff-aW50ZXJuYWwvY29udHJvbGxlci9nZW5lcmF0b3JzL3NlcnZpY2UuZ28=) | `90.36% <100.00%> (+1.32%)` | :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.