Add timestamp to Yugatool reports
ionthegeek opened this issue · comments
Ian Anderson commented
Add timestamp to Yugatool reports
Vijay A commented
I have built yugatool with this feature.
The test-binary is available on lincoln: ~/vijay/yugatool
The output looks like this:
bin/yugatool --master-addresses=$MASTERS cluster_info --skiphostverification | head -15
[ ReportInfo ]
DATE HOSTNAME TOOLS_VERSION TOOLS_BUILD
2022-12-13T05:10:03.266346966Z kachand-yb d9fcda2039ce3aae2e92f9731b084db9f15965fd 2022-12-12T21:09:05-08:00
[ Cluster ]
CLUSTER_UUID LIVE_REPLICAS ZONES VERSION
d89e6b62-8afb-4310-8e13-db7bf482afa6 3 ["us-west1-a" "us-east1-b" "us-central1-a"] 23
...
Please test.
Ian Anderson commented
Output looks good. Do you have this checked into a branch somewhere for a quick code review?
Vijay A commented
Output date is now better formatted:
DATE HOSTNAME TOOLS_VERSION TOOLS_BUILD
2022-12-14T04:23:10 UTC kachand-yb 3241615a8e28be50941705e316073e71e8af2593 2022-12-13T19:30:36-08:00
Checked in to add-report-header branch.
Also updated the output of --version to include build date.
Taylor Vesely commented
Resolved by #45