Matthew Holt
7c868afd32
diagnostics: Specially handle HTTP 410 and 451 codes
...
An attempt to future-proof older Caddy instances so that they won't
keep trying to send telemetry to endpoints that just simply aren't
going to be available
2018-03-21 17:51:07 -06:00
Matthew Holt
4df8028bc3
diagnostics: Add/remove metrics
2018-03-21 17:01:14 -06:00
Matthew Holt
385ea53309
diagnostics: Use Retry-After header if decoding JSON fails
...
Improve error message and backoff as well
2018-03-18 15:49:17 -06:00
Matthew Holt
6b3c2212a1
diagnostics: AppendUnique(), restructure sets, add metrics, fix bugs
2018-02-10 12:59:23 -07:00
Matthew Holt
3e00e18adc
diagnostics: Point to staging endpoint
2018-02-08 23:37:42 -07:00
Matthew Holt
6c17e4d4c8
diagnostics: Add a few tests
2018-02-08 21:15:28 -07:00
Matthew Holt
388ff6bc0a
diagnostics: Implemented collection functions and create first metrics
...
- Also implemented robust error handling and failovers
- Vendored klauspost/cpuid
2018-02-08 19:55:44 -07:00
Matthew Holt
8f0b44b8a4
Create diagnostics package; persist UUID
2018-02-02 19:15:28 -07:00