René's URL Explorer Experiment


Title: Export per-app usage time per template to Prometheus · Issue #29940 · coder/coder · GitHub

Open Graph Title: Export per-app usage time per template to Prometheus · Issue #29940 · coder/coder

X Title: Export per-app usage time per template to Prometheus · Issue #29940 · coder/coder

Description: Prometheus has no per-app usage time per template, such as Cursor versus VS Code. coderd_agentstats_session_count{app_name} is per app, but opt-in (CODER_PROMETHEUS_COLLECT_AGENT_STATS) and counts sessions, not time. The template insight...

Open Graph Description: Prometheus has no per-app usage time per template, such as Cursor versus VS Code. coderd_agentstats_session_count{app_name} is per app, but opt-in (CODER_PROMETHEUS_COLLECT_AGENT_STATS) and counts ...

X Description: Prometheus has no per-app usage time per template, such as Cursor versus VS Code. coderd_agentstats_session_count{app_name} is per app, but opt-in (CODER_PROMETHEUS_COLLECT_AGENT_STATS) and counts ...

Opengraph URL: https://github.com/coder/coder/issues/29940

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Export per-app usage time per template to Prometheus","articleBody":"Prometheus has no per-app usage time per template, such as Cursor versus VS Code.\n\n* `coderd_agentstats_session_count{app_name}` is per app, but opt-in (`CODER_PROMETHEUS_COLLECT_AGENT_STATS`) and counts sessions, not time.\n* The template insights API and UI have per-app time since coder/coder#29796, but Prometheus does not.\n\n## Resolution\n\ncoder/coder#29906 (with [CLIENT-1036](https://linear.app/codercom/issue/CLIENT-1036/label-the-vs-code-family-and-report-built-in-app-usage-per-app)) delivers this.\n\n**Not approved yet.** Per-app built-in series are part of the [RFC](\u003chttps://app.notion.com/p/3e9d579be5928178b37ce324b8ba0c8b>) amendment, which must be approved before coder/coder#29906 merges. The approved RFC specifies a family metric.\n\n`coderd_insights_applications_usage_seconds{template_name, display_name, slug, connection_method, organization_name}`\n\n* Template apps: `connection_method=\"workspace_app\"`.\n* Built-in apps: `connection_method` is `ssh`, `reconnecting_pty`, or `port_forwarding`; `slug` is the app name (`cursor`, `goland`, ...); `display_name` is the registry name.\n\nChanges from the original proposal:\n\n* **Same metric, not a new one.** `connection_method` separates built-in from template apps.\n* **No family label or family metric.**\n* `application_name` **renamed to** `display_name`, so old selectors fail visibly.\n* **Series limit of the template insights API**, not everything unregistered under `unknown`.\n* **Breaking, not additive.** The docs map old series to new ones.\n* **No deduplicated total.** A family sum counts overlapping minutes twice; dogfood showed no such overlap in 100,567 connection logs.\n* **Query** groups by app name, no grouping sets: 398.5 ms versus 403.7 ms on `main` with 20,000 agents.\n\n## Done when\n\n- [ ] The RFC amendment is approved.\n- [ ] coder/coder#29906 is merged.\n\nRefs [coder/coder#29940](\u003chttps://github.com/coder/coder/issues/29940>), coder/coder#30497, coder/coder#29796.\n\n---\n\nUpdated by Coder Agents on behalf of @EhabY.","author":{"url":"https://github.com/EhabY","@type":"Person","name":"EhabY"},"datePublished":"2026-09-25T17:38:14Z","url":"https://github.com/coder/coder/issues/29940"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:69d62e67-9f41-26d3-1bcc-8d2b73c4f216
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E68:1DCB8C:1A46DB8:22A6C87:6B014705
html-safe-nonce048129c84d1bfbcb7689a4f03211541ddc9bf5d354429198e5ce650e83049d93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTY4OjFEQ0I4QzoxQTQ2REI4OjIyQTZDODc6NkIwMTQ3MDUiLCJ2aXNpdG9yX2lkIjoiNjU3MDU5NjEwMTEzOTgxMDA1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac25c57265dd1c06aad76819b2667a5ebddbed69c35b55594696d88dcbb2afc335
hovercard-subject-tagissue:5586296901
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/29940/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cd34662966780b4bdf9777be25c224314cdb2dfb2eb17d0d449d8ed61b5d6794/coder/coder/issues/29940
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cd34662966780b4bdf9777be25c224314cdb2dfb2eb17d0d449d8ed61b5d6794/coder/coder/issues/29940
og:image:altPrometheus has no per-app usage time per template, such as Cursor versus VS Code. coderd_agentstats_session_count{app_name} is per app, but opt-in (CODER_PROMETHEUS_COLLECT_AGENT_STATS) and counts ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEhabY
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/29940#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F29940
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%2Fissues%2F29940
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/29940
Reloadhttps://github.com/coder/coder/issues/29940
Reloadhttps://github.com/coder/coder/issues/29940
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)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
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/29940
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/29940
#29906https://github.com/coder/coder/pull/29906
Export per-app usage time per template to Prometheushttps://github.com/coder/coder/issues/29940#top
#29906https://github.com/coder/coder/pull/29906
https://github.com/EhabY
featurehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22feature%22
observabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22observability%22
vs-codehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22vs-code%22
https://github.com/EhabY
EhabYhttps://github.com/EhabY
on Sep 25, 2026https://github.com/coder/coder/issues/29940#issue-5586296901
feat!: report template insights session usage per app #29796https://github.com/coder/coder/pull/29796
#29906https://github.com/coder/coder/pull/29906
CLIENT-1036https://linear.app/codercom/issue/CLIENT-1036/label-the-vs-code-family-and-report-built-in-app-usage-per-app
RFChttps://app.notion.com/p/3e9d579be5928178b37ce324b8ba0c8b
#29906https://github.com/coder/coder/pull/29906
feat!: label the VS Code family and report built-in app usage per app #29906https://github.com/coder/coder/pull/29906
coder/coder#29940https://github.com/coder/coder/issues/29940
#30497https://github.com/coder/coder/pull/30497
#29796https://github.com/coder/coder/pull/29796
@EhabYhttps://github.com/EhabY
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Sep 25, 2026https://github.com/coder/coder/issues/29940#issuecomment-5836767425
Linear Codehttps://linear.app
ENG-3392https://linear.app/codercom/issue/ENG-3392
EhabYhttps://github.com/EhabY
observabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22observability%22
featurehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22feature%22
on Sep 25, 2026https://github.com/coder/coder/issues/29940#event-31853910420
EhabYhttps://github.com/EhabY
on Sep 25, 2026https://github.com/coder/coder/issues/29940#event-31853911189
jeremyruppelhttps://github.com/jeremyruppel
vs-codehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22vs-code%22
on Oct 12, 2026https://github.com/coder/coder/issues/29940#event-33058799809
EhabYhttps://github.com/EhabY
on Oct 19, 2026https://github.com/coder/coder/issues/29940#event-33692757803
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/128abb672adba3140a664f6412db1a30ebedea5f
https://docs.github.com/articles/closing-issues-via-commit-messages
128abb6https://github.com/coder/coder/commit/128abb672adba3140a664f6412db1a30ebedea5f
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/5ba96c11036038d8d7ef9aa79e1da1a84cfcff47
https://docs.github.com/articles/closing-issues-via-commit-messages
5ba96c1https://github.com/coder/coder/commit/5ba96c11036038d8d7ef9aa79e1da1a84cfcff47
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/a9566cdedd3fc132595c62fabfca9d0f317b58d3
https://docs.github.com/articles/closing-issues-via-commit-messages
a9566cdhttps://github.com/coder/coder/commit/a9566cdedd3fc132595c62fabfca9d0f317b58d3
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/ab641f7b542819242b52e7d7a9c38145744cef47
https://docs.github.com/articles/closing-issues-via-commit-messages
ab641f7https://github.com/coder/coder/commit/ab641f7b542819242b52e7d7a9c38145744cef47
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/b7532cb7c2eb0dce0c733ff7efb30507c70d0253
https://docs.github.com/articles/closing-issues-via-commit-messages
b7532cbhttps://github.com/coder/coder/commit/b7532cb7c2eb0dce0c733ff7efb30507c70d0253
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/d624989774e3c23439a2c4fd4694eb1bbd4b58a0
https://docs.github.com/articles/closing-issues-via-commit-messages
d624989https://github.com/coder/coder/commit/d624989774e3c23439a2c4fd4694eb1bbd4b58a0
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/29b993db20d59837adbab2880bf2f0287701dd80
https://docs.github.com/articles/closing-issues-via-commit-messages
29b993dhttps://github.com/coder/coder/commit/29b993db20d59837adbab2880bf2f0287701dd80
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/0f7ce6fd702278c2278bff390434b806931c165d
https://docs.github.com/articles/closing-issues-via-commit-messages
0f7ce6fhttps://github.com/coder/coder/commit/0f7ce6fd702278c2278bff390434b806931c165d
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/836ed21a4a6fd3c2ca6c16fbfab3b00ab2bff814
https://docs.github.com/articles/closing-issues-via-commit-messages
836ed21https://github.com/coder/coder/commit/836ed21a4a6fd3c2ca6c16fbfab3b00ab2bff814
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/8cbb572f777a61c7a6d85a58e5a3a49afac611d4
https://docs.github.com/articles/closing-issues-via-commit-messages
8cbb572https://github.com/coder/coder/commit/8cbb572f777a61c7a6d85a58e5a3a49afac611d4
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/fc69da5fa6011097418701028404126299e4ec1f
https://docs.github.com/articles/closing-issues-via-commit-messages
fc69da5https://github.com/coder/coder/commit/fc69da5fa6011097418701028404126299e4ec1f
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/7bb81d409a566666988e601a8ad7cc695e534081
https://docs.github.com/articles/closing-issues-via-commit-messages
7bb81d4https://github.com/coder/coder/commit/7bb81d409a566666988e601a8ad7cc695e534081
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/54fc9da5d2772aeda9648e79b0dc4b7053c7ec6a
https://docs.github.com/articles/closing-issues-via-commit-messages
54fc9dahttps://github.com/coder/coder/commit/54fc9da5d2772aeda9648e79b0dc4b7053c7ec6a
feat!: label the VS Code family and report built-in app usage per apphttps://github.com/coder/coder/commit/5f9b573f4a8bcff581b067a9bd356be1da568451
https://docs.github.com/articles/closing-issues-via-commit-messages
5f9b573https://github.com/coder/coder/commit/5f9b573f4a8bcff581b067a9bd356be1da568451
EhabYhttps://github.com/EhabY
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#29906https://github.com/coder/coder/pull/29906
on Oct 27, 2026https://github.com/coder/coder/issues/29940#event-34352321514
EhabYhttps://github.com/EhabY
on Oct 27, 2026https://github.com/coder/coder/issues/29940#event-34352322780
feat!: label the VS Code family and report built-in app usage per app (…https://github.com/coder/coder/commit/28192213ab8417f82d2d8d0180fab42335e8df27
…https://github.com/coder/coder/pull/29906
https://docs.github.com/articles/closing-issues-via-commit-messages
2819221https://github.com/coder/coder/commit/28192213ab8417f82d2d8d0180fab42335e8df27
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/29940
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/29940
EhabYhttps://github.com/EhabY
featurehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22feature%22
observabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22observability%22
vs-codehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22vs-code%22
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.