TUN-8727: implement metrics, runtime, system, and tunnelstate in diagnostic http client

## Summary
The diagnostic procedure needs to extract information available in the metrics server via HTTP calls. 
These changes add to the diagnostic client the remaining endpoints.

Closes TUN-8727
This commit is contained in:
Luis Neto
2024-11-29 09:08:42 -08:00
parent 28796c659e
commit b3304bf05b
6 changed files with 108 additions and 26 deletions

View File

@@ -17,4 +17,6 @@ var (
ErrKeyNotFound = errors.New("key not found")
// Error used when there is no disk volume information available.
ErrNoVolumeFound = errors.New("no disk volume information found")
// Error user when the base url of the diagnostic client is not provided.
ErrNoBaseUrl = errors.New("no base url")
)