fleet/website/api
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
..
controllers 2023-11-21 Website: Add new usage statistics (#15263) 2023-12-01 17:59:41 -06:00
helpers 2023-10-17 Update osquery schema version & regenerate merged schema (#14436) 2023-10-26 18:04:23 -05:00
hooks/custom Website: Add override sails.LOOKS_LIKE_ASSET_RX value (#11021) 2023-04-12 11:10:46 -05:00
models 2023-11-21 Website: Add new usage statistics (#15263) 2023-12-01 17:59:41 -06:00
policies Website: Add admin tool for generating Fleet Premium licenses. (#8478) 2022-12-05 14:53:16 -06:00
responses Website: Fleet Sandbox (#6380) 2022-08-12 17:31:01 -05:00