René's URL Explorer Experiment


Title: refactor: migrate metrics init() to explicit Init() for OOMKill fixes by janisz · Pull Request #19980 · stackrox/stackrox · GitHub

Open Graph Title: refactor: migrate metrics init() to explicit Init() for OOMKill fixes by janisz · Pull Request #19980 · stackrox/stackrox

X Title: refactor: migrate metrics init() to explicit Init() for OOMKill fixes by janisz · Pull Request #19980 · stackrox/stackrox

Description: The StackRox Kubernetes Security Platform performs a risk analysis of the container environment, delivers visibility and runtime alerts, and provides recommendations to proactively improve security by hardening the environment. - refactor: migrate metrics init() to explicit Init() for OOMKill fixes by janisz · Pull Request #19980 · stackrox/stackrox

Open Graph Description: Description Convert pkg/ and sensor metrics from package-level init() to explicit Init() calls to fix OOMKills in config-controller (128Mi) and admission-control (500Mi). Changes: pkg/grpc/metrics...

X Description: Description Convert pkg/ and sensor metrics from package-level init() to explicit Init() calls to fix OOMKills in config-controller (128Mi) and admission-control (500Mi). Changes: pkg/grpc/metrics...

Opengraph URL: https://github.com/stackrox/stackrox/pull/19980

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bd91714f-6ea4-efd1-ecc2-a28d6f24c463
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE894:1ED8:6A0D30:8EDA2D:6A4F115B
html-safe-nonce213acd704dd732bb7272d33d492a04506cec9932900d8a704e55d10025642718
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODk0OjFFRDg6NkEwRDMwOjhFREEyRDo2QTRGMTE1QiIsInZpc2l0b3JfaWQiOiI1ODU1MTQzNTg4NTgxNTQ0MjgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc0038f64d14eadc41dff2520e8ae14da8ba0a74bb7d3f025086140b70ca282c9
hovercard-subject-tagpull_request:3528021766
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/stackrox/stackrox/19980/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bd9e4319090805e7a3d3bc85bfe29994cbabc29daa1f37eee6fa63e4abb5e0cf/stackrox/stackrox/pull/19980
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bd9e4319090805e7a3d3bc85bfe29994cbabc29daa1f37eee6fa63e4abb5e0cf/stackrox/stackrox/pull/19980
og:image:altDescription Convert pkg/ and sensor metrics from package-level init() to explicit Init() calls to fix OOMKills in config-controller (128Mi) and admission-control (500Mi). Changes: pkg/grpc/metrics...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejanisz
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git
octolytics-dimension-user_id40638982
octolytics-dimension-user_loginstackrox
octolytics-dimension-repository_id434017296
octolytics-dimension-repository_nwostackrox/stackrox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id434017296
octolytics-dimension-repository_network_root_nwostackrox/stackrox
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackrox/stackrox/pull/19980#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19980
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19980
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=stackrox%2Fstackrox
Reloadhttps://github.com/stackrox/stackrox/pull/19980
Reloadhttps://github.com/stackrox/stackrox/pull/19980
Reloadhttps://github.com/stackrox/stackrox/pull/19980
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
stackrox https://github.com/stackrox
stackroxhttps://github.com/stackrox/stackrox
Notifications https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Fork 180 https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Star 1.3k https://github.com/login?return_to=%2Fstackrox%2Fstackrox
Code https://github.com/stackrox/stackrox
Issues 53 https://github.com/stackrox/stackrox/issues
Pull requests 569 https://github.com/stackrox/stackrox/pulls
Actions https://github.com/stackrox/stackrox/actions
Security and quality 0 https://github.com/stackrox/stackrox/security
Insights https://github.com/stackrox/stackrox/pulse
Code https://github.com/stackrox/stackrox
Issues https://github.com/stackrox/stackrox/issues
Pull requests https://github.com/stackrox/stackrox/pulls
Actions https://github.com/stackrox/stackrox/actions
Security and quality https://github.com/stackrox/stackrox/security
Insights https://github.com/stackrox/stackrox/pulse
janiszhttps://github.com/janisz
masterhttps://github.com/stackrox/stackrox/tree/master
master-init-migration-metricshttps://github.com/stackrox/stackrox/tree/master-init-migration-metrics
Conversationhttps://github.com/stackrox/stackrox/pull/19980
Commits8 (8)https://github.com/stackrox/stackrox/pull/19980/commits
Checkshttps://github.com/stackrox/stackrox/pull/19980/checks
Files changedhttps://github.com/stackrox/stackrox/pull/19980/files
refactor: migrate metrics init() to explicit Init() for OOMKill fixeshttps://github.com/stackrox/stackrox/pull/19980#top
janiszhttps://github.com/janisz
masterhttps://github.com/stackrox/stackrox/tree/master
master-init-migration-metricshttps://github.com/stackrox/stackrox/tree/master-init-migration-metrics
https://github.com/janisz
janiszhttps://github.com/janisz
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#issue-4261680416
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
refactor: migrate compliance init() to explicit Init() pattern #19986https://github.com/stackrox/stackrox/pull/19986
refactor: migrate metrics init() to explicit Init() for OOMKill fixes #19980https://github.com/stackrox/stackrox/pull/19980
refactor: migrate GraphQL loaders + establish central/app infrastructure #19984https://github.com/stackrox/stackrox/pull/19984
refactor: migrate remaining init() + enable gochecknoinits linter #19983https://github.com/stackrox/stackrox/pull/19983
CHANGELOG.mdhttps://github.com/stackrox/stackrox/blob/master/CHANGELOG.md
documentation PRhttps://spaces.redhat.com/display/StackRox/Submitting+a+User+Documentation+Pull+Request
GAhttps://github.com/stackrox/stackrox/blob/master/PR_GA.md
feature flaghttps://github.com/stackrox/stackrox/blob/master/pkg/features/README.md
inspectedhttps://docs.google.com/document/d/1d5ga073jkv4CO1kAJqp8MPGpC6E1bwyrCGZ7S5wKg3w/edit?tab=t.0#heading=h.w4ercgtcg0xp
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/janisz
janiszhttps://github.com/janisz
code ownershttps://github.com/stackrox/stackrox/blob/9ef4d6250ddcfad72eba980401d16c83d932b4ec/.github/CODEOWNERS#L19
April 14, 2026 11:23https://github.com/stackrox/stackrox/pull/19980#event-24484882314
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
area/central https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fcentral
area/sensor https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fsensor
area/admission-controller https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fadmission-controller
area/postgres https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fpostgres
ai-review https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aai-review
coderabbit-review https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Acoderabbit-review
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#event-24484887212
https://github.com/apps/sourcery-ai
sourcery-aihttps://github.com/apps/sourcery-ai
Apr 14, 2026 https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4105490622
View reviewed changes https://github.com/stackrox/stackrox/pull/19980/files
sourcery-aihttps://github.com/apps/sourcery-ai
https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4105490622
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Xhttps://twitter.com/intent/tweet?text=I%20just%20got%20an%20instant%20code%20review%20from%20%40SourceryAI%2C%20and%20it%20was%20brilliant%21%20It%27s%20free%20for%20open%20source%20and%20has%20a%20free%20trial%20for%20private%20code.%20Check%20it%20out%20https%3A//sourcery.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20got%20an%20instant%20code%20review%20from%20%40SourceryAI%2C%20and%20it%20was%20brilliant%21%20It%27s%20free%20for%20open%20source%20and%20has%20a%20free%20trial%20for%20private%20code.%20Check%20it%20out%20https%3A//sourcery.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https://sourcery.ai
Facebookhttps://www.facebook.com/sharer/sharer.php?u=https://sourcery.ai
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#issuecomment-4243532090
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 14, 2026 https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4105523626
View reviewed changes https://github.com/stackrox/stackrox/pull/19980/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4105523626
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
9ef4d62https://github.com/stackrox/stackrox/commit/9ef4d6250ddcfad72eba980401d16c83d932b4ec
33de959https://github.com/stackrox/stackrox/commit/33de95945fa7b1a315401202283d9a2dee190821
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
pkg/postgres/metrics.gohttps://github.com/stackrox/stackrox/pull/19980/files#diff-a2172949d8d0bb576fa0f626e946ada8cc152787fc668694afa534c7aa6b5b5f
coderabbitaihttps://github.com/apps/coderabbitai
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#discussion_r3079104598
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
sensor/common/metrics/init.gohttps://github.com/stackrox/stackrox/pull/19980/files#diff-74ef8bb9869eb22d2ee498efee034e6c213078e88bc69c00f8e502f0eff55fdb
coderabbitaihttps://github.com/apps/coderabbitai
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#discussion_r3079104606
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/janisz
janiszhttps://github.com/janisz
force-pushedhttps://github.com/stackrox/stackrox/compare/c276ddc18bb62debb6c23f367da698fb1fb85992..8b137adda5c0fd7a1b46b31438c5cc2c09e7b158
c276ddchttps://github.com/stackrox/stackrox/commit/c276ddc18bb62debb6c23f367da698fb1fb85992
8b137adhttps://github.com/stackrox/stackrox/commit/8b137adda5c0fd7a1b46b31438c5cc2c09e7b158
Compare https://github.com/stackrox/stackrox/compare/c276ddc18bb62debb6c23f367da698fb1fb85992..8b137adda5c0fd7a1b46b31438c5cc2c09e7b158
April 14, 2026 14:10https://github.com/stackrox/stackrox/pull/19980#event-24490706608
https://github.com/janisz
janiszhttps://github.com/janisz
code ownerhttps://github.com/stackrox/stackrox/blob/91eb73077c6f0ce19b6d8f8e4bf35d75f40da86e/.github/CODEOWNERS#L83
April 14, 2026 14:10https://github.com/stackrox/stackrox/pull/19980#event-24490706689
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#issuecomment-4245032124
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
d83e225https://github.com/stackrox/stackrox/commit/d83e22587dbb9949352f7d64ced38002d5db14fd
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#issuecomment-4245599180
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
Codecovhttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
4881eechttps://app.codecov.io/gh/stackrox/stackrox/commit/4881eec00f1521df5384f90385be044d9ce348cf?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
d83e225https://app.codecov.io/gh/stackrox/stackrox/commit/d83e22587dbb9949352f7d64ced38002d5db14fd?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
Files with missing lineshttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
central/metrics/init.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=central%2Fmetrics%2Finit.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-Y2VudHJhbC9tZXRyaWNzL2luaXQuZ28=
15 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
pkg/grpc/metrics/prom.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=pkg%2Fgrpc%2Fmetrics%2Fprom.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-cGtnL2dycGMvbWV0cmljcy9wcm9tLmdv
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
pkg/rate/metrics.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=pkg%2Frate%2Fmetrics.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-cGtnL3JhdGUvbWV0cmljcy5nbw==
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
pkg/tlscheckcache/tlscheckcache_metrics.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=pkg%2Ftlscheckcache%2Ftlscheckcache_metrics.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-cGtnL3Rsc2NoZWNrY2FjaGUvdGxzY2hlY2tjYWNoZV9tZXRyaWNzLmdv
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
sensor/admission-control/manager/metrics.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=sensor%2Fadmission-control%2Fmanager%2Fmetrics.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-c2Vuc29yL2FkbWlzc2lvbi1jb250cm9sL21hbmFnZXIvbWV0cmljcy5nbw==
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
sensor/common/centralproxy/metrics.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=sensor%2Fcommon%2Fcentralproxy%2Fmetrics.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-c2Vuc29yL2NvbW1vbi9jZW50cmFscHJveHkvbWV0cmljcy5nbw==
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
...ensor/common/networkflow/updatecomputer/metrics.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=sensor%2Fcommon%2Fnetworkflow%2Fupdatecomputer%2Fmetrics.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-c2Vuc29yL2NvbW1vbi9uZXR3b3JrZmxvdy91cGRhdGVjb21wdXRlci9tZXRyaWNzLmdv
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
sensor/kubernetes/complianceoperator/metrics.gohttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&filepath=sensor%2Fkubernetes%2Fcomplianceoperator%2Fmetrics.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#diff-c2Vuc29yL2t1YmVybmV0ZXMvY29tcGxpYW5jZW9wZXJhdG9yL21ldHJpY3MuZ28=
1 Missing ⚠️ https://app.codecov.io/gh/stackrox/stackrox/pull/19980?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
Flaghttps://app.codecov.io/gh/stackrox/stackrox/pull/19980/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
go-unit-testshttps://app.codecov.io/gh/stackrox/stackrox/pull/19980/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/stackrox/stackrox/pull/19980?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=stackrox
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/dashrews78
dashrews78https://github.com/dashrews78
Apr 14, 2026 https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4108513426
View reviewed changes https://github.com/stackrox/stackrox/pull/19980/files
pkg/grpc/metrics/prom.gohttps://github.com/stackrox/stackrox/pull/19980/files#diff-8e9f23b85afe20eecc357379d9a52bddce3abb6a935f47d8ea5f682e12d50b11
dashrews78https://github.com/dashrews78
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#discussion_r3081830387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/apps/openshift-ci
openshift-cihttps://github.com/apps/openshift-ci
Apr 14, 2026https://github.com/stackrox/stackrox/pull/19980#issuecomment-4246530786
@janiszhttps://github.com/janisz
786fd1dhttps://github.com/stackrox/stackrox/commit/786fd1d1148218404f48d2e775a2e62593292162
linkhttps://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/stackrox_stackrox/19980/pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests/2044088655730970624
786fd1dhttps://github.com/stackrox/stackrox/commit/786fd1d1148218404f48d2e775a2e62593292162
linkhttps://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/stackrox_stackrox/19980/pull-ci-stackrox-stackrox-master-ocp-4-21-qa-e2e-tests/2044088687599292416
786fd1dhttps://github.com/stackrox/stackrox/commit/786fd1d1148218404f48d2e775a2e62593292162
linkhttps://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/stackrox_stackrox/19980/pull-ci-stackrox-stackrox-master-ocp-4-12-qa-e2e-tests/2044088680053739520
Full PR test historyhttps://prow.ci.openshift.org/pr-history?org=stackrox&repo=stackrox&pr=19980
Your PR dashboardhttps://prow.ci.openshift.org/pr?query=is:pr+state:open+author:janisz
herehttps://git.k8s.io/community/contributors/guide/pull-requests.md
kubernetes-sigs/prowhttps://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:
herehttps://go.k8s.io/bot-commands
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
refactor: migrate compliance init() to explicit Init() pattern #19986 https://github.com/stackrox/stackrox/pull/19986
refactor: migrate GraphQL loaders + establish central/app infrastructure #19984 https://github.com/stackrox/stackrox/pull/19984
refactor: migrate remaining init() + enable gochecknoinits linter #19983 https://github.com/stackrox/stackrox/pull/19983
https://github.com/janisz
janiszhttps://github.com/janisz
April 15, 2026 16:09https://github.com/stackrox/stackrox/pull/19980#event-24535824549
https://github.com/apps/openshift-ci
openshift-cihttps://github.com/apps/openshift-ci
do-not-merge/work-in-progress https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Ado-not-merge%2Fwork-in-progress
Apr 15, 2026https://github.com/stackrox/stackrox/pull/19980#event-24535825656
janiszhttps://github.com/janisz
April 15, 2026 18:14https://github.com/stackrox/stackrox/pull/19980#commits-pushed-ed5921d
https://github.com/janisz
https://github.com/claude
refactor: migrate metrics init() to explicit Init() for OOMKill fixeshttps://github.com/stackrox/stackrox/pull/19980/commits/ed5921d728f3c2eecc1179cbaad4ef76adfe40e8
ed5921dhttps://github.com/stackrox/stackrox/pull/19980/commits/ed5921d728f3c2eecc1179cbaad4ef76adfe40e8
https://github.com/janisz
fix: move listener resources metrics init to kubernetes apphttps://github.com/stackrox/stackrox/pull/19980/commits/4836bc5fb0a213548baf2218c5af5c322954f29b
4836bc5https://github.com/stackrox/stackrox/pull/19980/commits/4836bc5fb0a213548baf2218c5af5c322954f29b
https://github.com/janisz
https://github.com/claude
fix: remove unused log variable and cross-PR contaminationhttps://github.com/stackrox/stackrox/pull/19980/commits/079f5c97024666f59328cf82bd3b4a567e3f8837
079f5c9https://github.com/stackrox/stackrox/pull/19980/commits/079f5c97024666f59328cf82bd3b4a567e3f8837
https://github.com/janisz
https://github.com/claude
fix: add metrics.Init() to sensor test setuphttps://github.com/stackrox/stackrox/pull/19980/commits/81e6b049c1d3e02bb947060ddf5221c675475460
81e6b04https://github.com/stackrox/stackrox/pull/19980/commits/81e6b049c1d3e02bb947060ddf5221c675475460
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 15, 2026 https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4115128402
View reviewed changes https://github.com/stackrox/stackrox/pull/19980/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/stackrox/stackrox/pull/19980#pullrequestreview-4115128402
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
33de959https://github.com/stackrox/stackrox/commit/33de95945fa7b1a315401202283d9a2dee190821
786fd1dhttps://github.com/stackrox/stackrox/commit/786fd1d1148218404f48d2e775a2e62593292162
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/janisz
https://github.com/claude
fix: address code review comments for metrics initializationhttps://github.com/stackrox/stackrox/pull/19980/commits/2200a0599334d084d8ffda3a4cab659af5d409ae
2200a05https://github.com/stackrox/stackrox/pull/19980/commits/2200a0599334d084d8ffda3a4cab659af5d409ae
janiszhttps://github.com/janisz
April 15, 2026 18:22https://github.com/stackrox/stackrox/pull/19980#commits-pushed-4b74423
https://github.com/janisz
https://github.com/claude
fix: wire complianceoperator metrics init into kubernetes sensorhttps://github.com/stackrox/stackrox/pull/19980/commits/4b74423d6fd957f841c0755e589e44b81686e906
4b74423https://github.com/stackrox/stackrox/pull/19980/commits/4b74423d6fd957f841c0755e589e44b81686e906
https://github.com/janisz
https://github.com/claude
fix: add missing metrics Init() calls for pkg/{images,tlscheckcache,g…https://github.com/stackrox/stackrox/pull/19980/commits/112d71b8697f458d15ad08458c18705e7c748c71
112d71bhttps://github.com/stackrox/stackrox/pull/19980/commits/112d71b8697f458d15ad08458c18705e7c748c71
https://github.com/janisz
janiszhttps://github.com/janisz
force-pushedhttps://github.com/stackrox/stackrox/compare/786fd1d1148218404f48d2e775a2e62593292162..112d71b8697f458d15ad08458c18705e7c748c71
786fd1dhttps://github.com/stackrox/stackrox/commit/786fd1d1148218404f48d2e775a2e62593292162
112d71bhttps://github.com/stackrox/stackrox/commit/112d71b8697f458d15ad08458c18705e7c748c71
Compare https://github.com/stackrox/stackrox/compare/786fd1d1148218404f48d2e775a2e62593292162..112d71b8697f458d15ad08458c18705e7c748c71
April 15, 2026 16:30https://github.com/stackrox/stackrox/pull/19980#event-24536458056
https://github.com/janisz
https://github.com/claude
refactor: rename complianceoperator InitMetrics() to Init() for consi…https://github.com/stackrox/stackrox/pull/19980/commits/d83e22587dbb9949352f7d64ced38002d5db14fd
d83e225https://github.com/stackrox/stackrox/pull/19980/commits/d83e22587dbb9949352f7d64ced38002d5db14fd
https://github.com/janisz
janiszhttps://github.com/janisz
Apr 21, 2026https://github.com/stackrox/stackrox/pull/19980#event-24723580998
https://github.co/hiddenchars
https://github.com/stackrox/stackrox/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fpull%2F19980
https://github.com/dashrews78
dashrews78 https://github.com/dashrews78
https://github.com/stackrox/stackrox/pull/19980/files/786fd1d1148218404f48d2e775a2e62593292162
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/stackrox/stackrox/pull/19980/files/786fd1d1148218404f48d2e775a2e62593292162
https://github.com/apps/sourcery-ai
sourcery-ai[bot] https://github.com/apps/sourcery-ai
https://github.com/stackrox/stackrox/pull/19980/files/33de95945fa7b1a315401202283d9a2dee190821
ai-review https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aai-review
area/admission-controller https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fadmission-controller
area/central https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fcentral
area/postgres https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fpostgres
area/sensor https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Aarea%2Fsensor
coderabbit-review https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Acoderabbit-review
do-not-merge/work-in-progress https://github.com/stackrox/stackrox/issues?q=state%3Aopen%20label%3Ado-not-merge%2Fwork-in-progress
Please reload this pagehttps://github.com/stackrox/stackrox/pull/19980
https://github.com/janisz
https://github.com/dashrews78
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.