mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-06-17 22:16:38 +00:00

## Summary This PR will add a new endpoint, "diag/system" to the metrics server that collects system information from different operating systems. Closes TUN-8731
17 lines
538 B
Go
17 lines
538 B
Go
package diagnostic
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// Error used when parsing the fields of the output of collector.
|
|
ErrInsufficientLines = errors.New("insufficient lines")
|
|
// Error used when parsing the lines of the output of collector.
|
|
ErrInsuficientFields = errors.New("insufficient fields")
|
|
// Error used when given key is not found while parsing KV.
|
|
ErrKeyNotFound = errors.New("key not found")
|
|
// Error used when tehre is no disk volume information available
|
|
ErrNoVolumeFound = errors.New("No disk volume information found")
|
|
)
|