fleet/website/api/models
Eric f14ab358fe
2023-11-21 Website: Add new usage statistics (#15263)
Closes: #15255

Changes:
- Added the usage statistics added in
https://github.com/fleetdm/fleet/pull/14216 to the inputs of the
`receive-usage-analytics` webhook.
- Updated the `receive-usage-analytics` webhook to send the new usage
statistics to Datadog.
- Added attributes for the new usage statistics to the
`HistoricalUsageSnapshot` model.
- Removed the `columnName` from the `hostsStatusWebHookEnabled`
attribute of the `HistoricalUsageSnapshot` model, the name of this
column will be changed in the database when the new columns are added to
the databse table.
- Updated the usage statistics documentation to have the new statistics.


This PR requires database migrations. When this is approved and ready to
merge, we will need to:
- [ ] Merge this PR
- [ ] Put fleetdm.com into maintenance mode while the "Deploy Fleet
website" GH action runs.
- [ ] Add the new columns to the database table
- [ ] Change the name of the `hostStatusWebhookEnabled` column to
`hostsStatusWebHookEnabled`
- [ ] Set the default values for the new columns on the existing
records.
- [ ] When the website has finished redeploying, take it out of
maintenance mode.
2023-12-01 17:59:41 -06:00
..
CertificateSigningRequest.js Update CertificateSigningRequest model (#9585) 2023-01-31 13:47:57 -06:00
HistoricalUsageSnapshot.js 2023-11-21 Website: Add new usage statistics (#15263) 2023-12-01 17:59:41 -06:00
NewsletterSubscription.js Website: Add Newsletter banner and NewsletterSubscription model (#7370) 2022-09-02 17:38:34 -05:00
Platform.js Website: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -05:00
Quote.js Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
Subscription.js Add customer portal and license dispenser to fleetdm.com (#3546) 2022-01-04 20:02:42 -06:00
User.js 2023-10-24 Website: Update /try-fleet (#14638) 2023-10-20 13:59:18 -05:00
VantaConnection.js Website: Add Vanta integration (#9072) 2022-12-21 23:39:39 -06:00