-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send client logs with the cloud logging library (#474)
* test slog * test slog * fix conflicts * fix lint errors * remove unused struct * log latency in seconds * read uptime from /proc/uptime * add workload name to latency log * fix error fmt * Fit Fprintf lint issues * Fit lint issue * Make formatting consistent * text handler and experiment logging * fix bugs in main * Add export comment to Experiments.Log * adjust logging for token refresh * rebase and cleanup * test cloud logger * test cloud logger * add cloud logging dependency * update go.work.sum * change logging version * add logging library with cloud logging client * fix lint issues * add logging package comment * fix remaining conflicts * fix bug where serialconsole file is closed prematurely * change message label to all caps * re-add logging to stdout * add isntance name to resource labels * add hostname field to logging payload * correct log name * fix typo * re-add os.exit defer * add tests for logging library * Avoid using logging client for unit tests * remove usage of logging.client from tests * fix lint errors * review comments * change read_cloud_logging fields * fix logging tests * tweak logging payload keys * Specify seconds for logging * revert key changes * log the attestation token as a single struct * Remove unused code * fix logging methods * fix conflict errors * separately log workload setup and execution duration * address comments
- Loading branch information
1 parent
86cd15e
commit c891518
Showing
17 changed files
with
731 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.