mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add usage tracking package (#19095)
Not used in coderd yet, see stack. Adds two new packages: - `coderd/usage`: provides an interface for the "Collector" as well as a stub implementation for AGPL - `enterprise/coderd/usage`: provides an interface for the "Publisher" as well as a Tallyman implementation Relates to https://github.com/coder/internal/issues/814
This commit is contained in:
Generated
+5
@@ -213,6 +213,7 @@ Status Code **200**
|
||||
| `resource_type` | `system` |
|
||||
| `resource_type` | `tailnet_coordinator` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `usage_event` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `user_secret` |
|
||||
| `resource_type` | `webpush_subscription` |
|
||||
@@ -384,6 +385,7 @@ Status Code **200**
|
||||
| `resource_type` | `system` |
|
||||
| `resource_type` | `tailnet_coordinator` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `usage_event` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `user_secret` |
|
||||
| `resource_type` | `webpush_subscription` |
|
||||
@@ -555,6 +557,7 @@ Status Code **200**
|
||||
| `resource_type` | `system` |
|
||||
| `resource_type` | `tailnet_coordinator` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `usage_event` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `user_secret` |
|
||||
| `resource_type` | `webpush_subscription` |
|
||||
@@ -695,6 +698,7 @@ Status Code **200**
|
||||
| `resource_type` | `system` |
|
||||
| `resource_type` | `tailnet_coordinator` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `usage_event` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `user_secret` |
|
||||
| `resource_type` | `webpush_subscription` |
|
||||
@@ -1057,6 +1061,7 @@ Status Code **200**
|
||||
| `resource_type` | `system` |
|
||||
| `resource_type` | `tailnet_coordinator` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `usage_event` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `user_secret` |
|
||||
| `resource_type` | `webpush_subscription` |
|
||||
|
||||
Generated
+1
@@ -6378,6 +6378,7 @@ Only certain features set these fields: - FeatureManagedAgentLimit|
|
||||
| `system` |
|
||||
| `tailnet_coordinator` |
|
||||
| `template` |
|
||||
| `usage_event` |
|
||||
| `user` |
|
||||
| `user_secret` |
|
||||
| `webpush_subscription` |
|
||||
|
||||
Reference in New Issue
Block a user