René's URL Explorer Experiment


Title: fix: deduplicate template insights family metrics by EhabY · Pull Request #30497 · coder/coder · GitHub

Open Graph Title: fix: deduplicate template insights family metrics by EhabY · Pull Request #30497 · coder/coder

X Title: fix: deduplicate template insights family metrics by EhabY · Pull Request #30497 · coder/coder

Description: Secure environments for developers and their agents - fix: deduplicate template insights family metrics by EhabY · Pull Request #30497 · coder/coder

Open Graph Description: Summary coderd_insights_applications_usage_seconds summed each family's per-app minutes. Because of that, a user with VS Code and Cursor open in the same minute was reported as two VS Code minu...

X Description: Summary coderd_insights_applications_usage_seconds summed each family's per-app minutes. Because of that, a user with VS Code and Cursor open in the same minute was reported as two VS Code ...

Opengraph URL: https://github.com/coder/coder/pull/30497

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:90ef3a0c-1611-ddec-ef8e-08b50f712e66
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D02:1D20B7:EC0CCF:129FE9D:6B014312
html-safe-nonce9dc5739c69087dea1b6877ef9298b21fc1450787b712aaaca936d2a68a6a4a63
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDAyOjFEMjBCNzpFQzBDQ0Y6MTI5RkU5RDo2QjAxNDMxMiIsInZpc2l0b3JfaWQiOiIyNjIwOTUwOTM5Mjg5MDM0NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac86404c39b1b9f94a5dad0dd8903053a5377c692e02cf7034f65bfaff5885d397
hovercard-subject-tagpull_request:4784402373
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/coder/coder/30497/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/898f9202e169c1498aba18318cc0815749694b2271e481a50b0889a3fc761996/coder/coder/pull/30497
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/898f9202e169c1498aba18318cc0815749694b2271e481a50b0889a3fc761996/coder/coder/pull/30497
og:image:altSummary coderd_insights_applications_usage_seconds summed each family's per-app minutes. Because of that, a user with VS Code and Cursor open in the same minute was reported as two VS Code minu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEhabY
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/30497#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F30497
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F30497
Sign uphttps://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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/30497
Reloadhttps://github.com/coder/coder/pull/30497
Reloadhttps://github.com/coder/coder/pull/30497
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests468 (468)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
EhabYhttps://github.com/EhabY
mainhttps://github.com/coder/coder/tree/main
fix/insights-family-metricshttps://github.com/coder/coder/tree/fix/insights-family-metrics
Conversationhttps://github.com/coder/coder/pull/30497
Commits2 (2)https://github.com/coder/coder/pull/30497/commits
Checkshttps://github.com/coder/coder/pull/30497/checks
Files changedhttps://github.com/coder/coder/pull/30497/files
fix: deduplicate template insights family metricshttps://github.com/coder/coder/pull/30497#top
EhabYhttps://github.com/EhabY
mainhttps://github.com/coder/coder/tree/main
fix/insights-family-metricshttps://github.com/coder/coder/tree/fix/insights-family-metrics
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Oct 8, 2026https://github.com/coder/coder/pull/30497#issue-5758991580
Please reload this pagehttps://github.com/coder/coder/pull/30497
Completing Scalable IDE Session Tracking RFChttps://app.notion.com/p/3e9d579be5928178b37ce324b8ba0c8b
#29906https://github.com/coder/coder/pull/29906
#29796https://github.com/coder/coder/pull/29796
#29906https://github.com/coder/coder/pull/29906
#29796https://github.com/coder/coder/pull/29796
#29940https://github.com/coder/coder/issues/29940
#30497https://github.com/coder/coder/pull/30497
#29796https://github.com/coder/coder/pull/29796
#29906https://github.com/coder/coder/pull/29906
#30466https://github.com/coder/coder/pull/30466
#30467https://github.com/coder/coder/pull/30467
@EhabYhttps://github.com/EhabY
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
EhabYhttps://github.com/EhabY
Oct 8, 2026https://github.com/coder/coder/pull/30497#event-32768299007
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 8, 2026https://github.com/coder/coder/pull/30497#issuecomment-6056490495
Please reload this pagehttps://github.com/coder/coder/pull/30497
docs/admin/integrations/prometheus.mdhttps://coder.com/docs/@fix%2Finsights-family-metrics/admin/integrations/prometheus
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Oct 8, 2026 https://github.com/coder/coder/pull/30497#ref-pullrequest-5557521617
feat!: report template insights session usage per app #29796 https://github.com/coder/coder/pull/29796
https://github.com/EhabY
EhabYhttps://github.com/EhabY
stack #30499https://github.com/coder/coder/stack/30499
October 8, 2026 09:16https://github.com/coder/coder/pull/30497#event-32769225425
feat!: label the VS Code family and report built-in app usage per app #29906 https://github.com/coder/coder/pull/29906
feat: separate connection log methods from app names #30466 https://github.com/coder/coder/pull/30466
https://github.com/EhabY
EhabYhttps://github.com/EhabY
force-pushedhttps://github.com/coder/coder/compare/7053de198103094920ce238970378459481553c5..91d62e99456dc86ffa6c897f23dcaaf4b1a63842
7053de1https://github.com/coder/coder/commit/7053de198103094920ce238970378459481553c5
91d62e9https://github.com/coder/coder/commit/91d62e99456dc86ffa6c897f23dcaaf4b1a63842
Compare https://github.com/coder/coder/compare/7053de198103094920ce238970378459481553c5..91d62e99456dc86ffa6c897f23dcaaf4b1a63842
October 8, 2026 16:25https://github.com/coder/coder/pull/30497#event-32806271520
https://github.com/EhabY
EhabYhttps://github.com/EhabY
Oct 8, 2026 https://github.com/coder/coder/pull/30497#ref-issue-5586296901
Export per-app usage time per template to Prometheus #29940 https://github.com/coder/coder/issues/29940
https://github.com/EhabY
EhabYhttps://github.com/EhabY
October 8, 2026 16:29https://github.com/coder/coder/pull/30497#event-32806573259
https://github.com/EhabY
EhabYhttps://github.com/EhabY
nickvigilantehttps://github.com/nickvigilante
code ownerhttps://github.com/coder/coder/blob/35b3052ea82ba958838e78a1d019aafb4e19ee81/CODEOWNERS#L55
October 8, 2026 16:29https://github.com/coder/coder/pull/30497#event-32806574436
https://github.com/EhabY
EhabYhttps://github.com/EhabY
force-pushedhttps://github.com/coder/coder/compare/09e47eb358480d5722365850a16430f6253a740f..e5ed18e91c92fda10a7fd6018dbe2025376ab85b
09e47ebhttps://github.com/coder/coder/commit/09e47eb358480d5722365850a16430f6253a740f
e5ed18ehttps://github.com/coder/coder/commit/e5ed18e91c92fda10a7fd6018dbe2025376ab85b
Compare https://github.com/coder/coder/compare/09e47eb358480d5722365850a16430f6253a740f..e5ed18e91c92fda10a7fd6018dbe2025376ab85b
October 8, 2026 16:36https://github.com/coder/coder/pull/30497#event-32807065744
https://github.com/nickvigilante
nickvigilantehttps://github.com/nickvigilante
Oct 8, 2026 https://github.com/coder/coder/pull/30497#pullrequestreview-5459999206
View reviewed changes https://github.com/coder/coder/pull/30497/files
nickvigilantehttps://github.com/nickvigilante
https://github.com/coder/coder/pull/30497#pullrequestreview-5459999206
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/EhabY
EhabYhttps://github.com/EhabY
ssncferreirahttps://github.com/ssncferreira
October 9, 2026 13:21https://github.com/coder/coder/pull/30497#event-32878079278
https://github.com/EhabY
EhabYhttps://github.com/EhabY
force-pushedhttps://github.com/coder/coder/compare/e5ed18e91c92fda10a7fd6018dbe2025376ab85b..b77bd9e71d9b3470b76c3d20b5886380bdaa3a1d
e5ed18ehttps://github.com/coder/coder/commit/e5ed18e91c92fda10a7fd6018dbe2025376ab85b
b77bd9ehttps://github.com/coder/coder/commit/b77bd9e71d9b3470b76c3d20b5886380bdaa3a1d
Compare https://github.com/coder/coder/compare/e5ed18e91c92fda10a7fd6018dbe2025376ab85b..b77bd9e71d9b3470b76c3d20b5886380bdaa3a1d
October 12, 2026 13:20https://github.com/coder/coder/pull/30497#event-33050226127
https://github.com/EhabY
fix: deduplicate template insights family metricshttps://github.com/coder/coder/pull/30497/commits/e954704be08980cce1ddb98965a38db0aa1c01e1
e954704https://github.com/coder/coder/pull/30497/commits/e954704be08980cce1ddb98965a38db0aa1c01e1
https://github.com/EhabY
EhabYhttps://github.com/EhabY
force-pushedhttps://github.com/coder/coder/compare/b77bd9e71d9b3470b76c3d20b5886380bdaa3a1d..e954704be08980cce1ddb98965a38db0aa1c01e1
b77bd9ehttps://github.com/coder/coder/commit/b77bd9e71d9b3470b76c3d20b5886380bdaa3a1d
e954704https://github.com/coder/coder/commit/e954704be08980cce1ddb98965a38db0aa1c01e1
Compare https://github.com/coder/coder/compare/b77bd9e71d9b3470b76c3d20b5886380bdaa3a1d..e954704be08980cce1ddb98965a38db0aa1c01e1
October 12, 2026 13:58https://github.com/coder/coder/pull/30497#event-33053188666
https://github.com/ssncferreira
ssncferreirahttps://github.com/ssncferreira
Oct 12, 2026 https://github.com/coder/coder/pull/30497#pullrequestreview-5492639530
View reviewed changes https://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1
ssncferreirahttps://github.com/ssncferreira
https://github.com/coder/coder/pull/30497#pullrequestreview-5492639530
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/30497
coderd/database/queries/insights.sqlhttps://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1#diff-08027849cf1bf5c8110e3f35173fbc8b614c0d04a3f0b8ff10cd31166745f51a
Please reload this pagehttps://github.com/coder/coder/pull/30497
coderd/prometheusmetrics/insights/metricscollector.gohttps://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1#diff-72450b1b0d57d34fda87ea45f3252b11ecef405ba0041518bfd33ca5721873f8
Please reload this pagehttps://github.com/coder/coder/pull/30497
docs/admin/integrations/prometheus.mdhttps://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1#diff-395f266c21ea864d05d6a3cee24c0f1f7e4fb940a7fd5bfa56c4a200e10cc876
Please reload this pagehttps://github.com/coder/coder/pull/30497
codersdk/appname.gohttps://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1#diff-5f9558acac5e96bee6bc5a5f37b9ba9d2bd2ab195907552fe63ad3d1208c04e9
Please reload this pagehttps://github.com/coder/coder/pull/30497
coderd/database/migrations/migration000596_test.gohttps://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1#diff-14cb17ae71a0dc73eb58693c94d518c320130aa7f9b42db9b5e808cb18249b8d
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/EhabY
chore: address review feedback on insights family metricshttps://github.com/coder/coder/pull/30497/commits/fdf9eee0a696da98a5b2183e57ba1f136a5393f6
fdf9eeehttps://github.com/coder/coder/pull/30497/commits/fdf9eee0a696da98a5b2183e57ba1f136a5393f6
https://github.com/EhabY
EhabYhttps://github.com/EhabY
2f2169ehttps://github.com/coder/coder/commit/2f2169ed19aff278cc047469824f5e7d68b8403e
Oct 12, 2026https://github.com/coder/coder/pull/30497#event-33080498639
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/EhabY
EhabYhttps://github.com/EhabY
October 12, 2026 20:58https://github.com/coder/coder/pull/30497#event-33080501864
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 12, 2026https://github.com/coder/coder/pull/30497#event-33080507126
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F30497
https://github.com/nickvigilante
nickvigilante https://github.com/nickvigilante
https://github.com/coder/coder/pull/30497/files/e5ed18e91c92fda10a7fd6018dbe2025376ab85b
https://github.com/ssncferreira
ssncferreira https://github.com/ssncferreira
https://github.com/coder/coder/pull/30497/files/e954704be08980cce1ddb98965a38db0aa1c01e1
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/EhabY
EhabY https://github.com/EhabY
Please reload this pagehttps://github.com/coder/coder/pull/30497
https://github.com/EhabY
https://github.com/ssncferreira
https://github.com/nickvigilante
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.