Title: Metrics Support - Enterprise · Issue #477 · coder/coder · GitHub
Open Graph Title: Metrics Support - Enterprise · Issue #477 · coder/coder
X Title: Metrics Support - Enterprise · Issue #477 · coder/coder
Description: Breakout Discussion March 24, 2022 RFC #612 ...see comments about discussion notes tasks Primary metrics to start: (Post MVP) users make the V1 actve_users (Workspace agent last connected at): active_daily_users active_hourly_users Beyon...
Open Graph Description: Breakout Discussion March 24, 2022 RFC #612 ...see comments about discussion notes tasks Primary metrics to start: (Post MVP) users make the V1 actve_users (Workspace agent last connected at): acti...
X Description: Breakout Discussion March 24, 2022 RFC #612 ...see comments about discussion notes tasks Primary metrics to start: (Post MVP) users make the V1 actve_users (Workspace agent last connected at): acti...
Opengraph URL: https://github.com/coder/coder/issues/477
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Metrics Support - Enterprise","articleBody":"## Breakout Discussion\r\nMarch 24, 2022\r\n[RFC](https://www.notion.so/coderhq/Workspaces-V2-Metrics-3e26fb408b9245df98d76be02444b291)\r\n\r\n-----\r\n\r\n- [x] https://github.com/coder/coder/issues/612\r\n- [ ] ...see comments about discussion notes tasks\r\n\r\n-----\r\n\r\nPrimary metrics to start: (Post MVP)\r\n- users \r\n- make the V1 actve_users (Workspace agent last connected at): \r\n`active_daily_users`\r\n`active_hourly_users`\r\nBeyond those, this will be a paid feature. Post MVP.\r\n\r\n### Early Discussions:\r\n\r\n- [port the users and active_users over for V2 from V1\r\n- data model\r\n- Make the active-users event an hourly aggregated event. \r\n- create table for metric events\r\n- add corresponding models from v1 for the users and active_users metrics event\r\n- port over the metrics pusher from V1\r\n- add calls to metrics pusher where we need them \r\n- Add API endpoints to read data from the tables\r\n- scope out the cleanup operation \r\n- support for max age of the data in the database (maybe a cron job or something to insert bulk metrics on an interval like an hour or some other time frame?) How do we make it so we don't have to aggregate a bunch of data. NOTE: maintain the data and frequency that Palatir is currently using. Don't add an event every time it happens, filter and collapse the data. \r\n- Use the API key hourly refresh rate to help with the user metrics? What if users have multiple keys? join with owner and select account for query - for `active_daily_users `and `active_houly_users`. Nice optimization to reduce database row bloat.\r\n- Concerned about the side effect of a user connecting a BUNCH of times through SSH or similar. \r\n- clean up job to clear out old date to maintain the max number of rows or date cutoff for created date on the data\r\n\r\nFrontend (post MVP)\r\nUI / Dashboard would be PAID\r\nWe will get customers using V2 and the metrics now and then get feedback based on user input and needs.\r\n\r\n- Ability to embed a URL from their own metrics service that they are using for collecting \r\n- Export as CVS\r\n- CLI tool for ASCII grahp\r\n","author":{"url":"https://github.com/misskniss","@type":"Person","name":"misskniss"},"datePublished":"2022-03-17T05:02:45Z","url":"https://github.com/coder/coder/issues/477"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3e2aeec9-783f-9586-2d53-8a8c81567db9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0F0:1D8AA1:1C62191:2544181:6B014BB6 |
| html-safe-nonce | 444fd08a43ad877fadbcdc182399f9818195217e1d593692d417a5b6aa4c1d6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEYwOjFEOEFBMToxQzYyMTkxOjI1NDQxODE6NkIwMTRCQjYiLCJ2aXNpdG9yX2lkIjoiMTc4MjExNjgyNDk0MzUxMjUwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0460a8687ec5a90610565c62df1428f855383cdc0a17a94f098b6f6b210b5ec7 |
| hovercard-subject-tag | issue:1171935781 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/477/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2113c6ce8bd17dbc99a34b751f13adb7daebf04ea503ede606418636ad6665cc/coder/coder/issues/477 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2113c6ce8bd17dbc99a34b751f13adb7daebf04ea503ede606418636ad6665cc/coder/coder/issues/477 |
| og:image:alt | Breakout Discussion March 24, 2022 RFC #612 ...see comments about discussion notes tasks Primary metrics to start: (Post MVP) users make the V1 actve_users (Workspace agent last connected at): acti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | misskniss |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width