fleet/server/datastore
Roberto Dip b2d07e56b5
report error analytics (#6341)
Related to #5898, this reports an anonymized summary of errors stored in Redis into the analytics payload.

For each error stored, this includes:

- A `count` attribute with the number of occurrences of the error
- A `loc` attribute with the 3 topmost lines in the stack trace. Note that stack traces only contain package name + line number (example: github.com/fleetdm/fleet/server.go:12

This also includes a minor refactor around error types.
2022-06-28 16:31:14 -03:00
..
cached_mysql Introduce API version 2022-04, deprecate use of /global in paths (#4731) 2022-04-05 11:35:53 -04:00
mysql report error analytics (#6341) 2022-06-28 16:31:14 -03:00
mysqlredis Track active hosts count and enforce limit (#6099) 2022-06-13 16:29:32 -04:00
redis Detect the NOPERM error to mean redis cluster is disabled (#5058) 2022-04-11 16:17:30 -04:00
s3 Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00