- Notifications
You must be signed in to change notification settings - Fork928
Commit04f0510
authored
feat(coderd/database): add
Add `template_usage_stats` table for aggregating tempalte usage data.Data is rolled up by the `UpsertTemplateUsageStats` query, which fetchesdata from the `workspace_agent_stats` and `workspace_app_stats` tables.template_usage_stats
table and rollup query (#12664)1 parenta6b8f38 commit04f0510
File tree
16 files changed
+1459
-0
lines changed- coderd/database
- dbauthz
- dbmem
- dbmetrics
- dbmock
- migrations
- testdata/fixtures
- queries
16 files changed
+1459
-0
lines changedLines changed: 30 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1617 | 1617 |
| |
1618 | 1618 |
| |
1619 | 1619 |
| |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1620 | 1643 |
| |
1621 | 1644 |
| |
1622 | 1645 |
| |
| |||
3413 | 3436 |
| |
3414 | 3437 |
| |
3415 | 3438 |
| |
| 3439 | + | |
| 3440 | + | |
| 3441 | + | |
| 3442 | + | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
3416 | 3446 |
| |
3417 | 3447 |
| |
3418 | 3448 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
956 | 956 |
| |
957 | 957 |
| |
958 | 958 |
| |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
959 | 965 |
| |
960 | 966 |
| |
961 | 967 |
| |
|
0 commit comments
Comments
(0)