Done
Details
Assignee
Andrii DemaAndrii DemaReporter
Sveta SmirnovaSveta SmirnovaComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Andrii Dema
Andrii DemaReporter
Sveta Smirnova
Sveta SmirnovaComponents
Fix versions
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created September 15, 2021 at 11:57 PM
Updated March 7, 2024 at 9:37 AM
Resolved November 17, 2021 at 12:21 PM
How To Repeat
From the documentation at https://github.com/Percona-Lab/pmm-import-export-tool/:
However, if I try to use these options as described I get error:
$ ../pmm-transferer export --pmm-url='http://admin:admin@127.0.0.1' --start-ts='2021-09-14T00:00:00Z00:00' --end-ts='2021-09-14T12:00:00Z00:00' 2021-09-15T23:54:13Z FTL Error parsing end date-time: parsing time "2021-09-14T12:00:00Z00:00": extra text: "00:00"
After researching on the Internet I found this page: https://yourbasic.org/golang/format-parse-string-time-date-example/, then tried format for time zones, described there and get pmm-transferer working.
E.g.,
$ ../pmm-transferer export --pmm-url='http://admin:admin@127.0.0.1' --start-ts='2021-09-14T00:00:00-03:00' --end-ts='2021-09-14T12:00:00+03:00'
Suggested Fix
Check if the tool practically works as suggested and either fix the tool, or update README.