mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 18:45:57 +00:00

* PT-2105 - Collect individual log files for PXC Combined log files are hard to read by humans. Since pt-k8-debug-collector is the tool that accesses data from the running pods, it can copy raw log files, necessary for troubleshooting PXC issues. So, in addition to collecting logs.txt, this adds method getIndividualFiles for the Dumper that reads individual files from PXC pods and stores them in the resulting archive. Additionally, this commit fixes invalid timestamps in the resulting archive. * PT-2105 - added support for non-default namespaces * PT-2105 Let pt-k8-debug-collector to collect individual logs in PXC pods Added test case for this new collection. * Update go.mod Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com> Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>
68 lines
2.8 KiB
Modula-2
68 lines
2.8 KiB
Modula-2
module github.com/percona/percona-toolkit
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/AlekSi/pointer v1.2.0
|
|
github.com/Masterminds/semver v1.4.2
|
|
github.com/alecthomas/kingpin v2.2.6+incompatible
|
|
github.com/alecthomas/kong v0.5.0
|
|
github.com/go-ini/ini v1.66.4
|
|
github.com/golang/mock v1.4.4
|
|
github.com/google/uuid v1.3.0
|
|
github.com/hashicorp/go-version v1.4.0
|
|
github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef
|
|
github.com/lib/pq v1.10.4
|
|
github.com/mattn/go-shellwords v1.0.12
|
|
github.com/montanaflynn/stats v0.6.6
|
|
github.com/pborman/getopt v1.1.0
|
|
github.com/percona/go-mysql v0.0.0-20210427141028-73d29c6da78c
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/shirou/gopsutil v3.21.11+incompatible
|
|
github.com/sirupsen/logrus v1.8.1
|
|
github.com/stretchr/testify v1.7.0
|
|
go.mongodb.org/mongo-driver v1.9.0
|
|
golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29
|
|
golang.org/x/exp v0.0.0-20221114191408-850992195362
|
|
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22
|
|
k8s.io/api v0.23.5
|
|
)
|
|
|
|
require (
|
|
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
|
|
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/go-logr/logr v1.2.3 // indirect
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/go-stack/stack v1.8.1 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/go-cmp v0.5.8 // indirect
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/compress v1.15.1 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.10 // indirect
|
|
github.com/tklauser/numcpus v0.4.0 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.1.1 // indirect
|
|
github.com/xdg-go/stringprep v1.0.3 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.2 // indirect
|
|
golang.org/x/net v0.0.0-20220403103023-749bd193bc2b // indirect
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
|
golang.org/x/sys v0.1.0 // indirect
|
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
k8s.io/apimachinery v0.23.5 // indirect
|
|
k8s.io/klog/v2 v2.60.1 // indirect
|
|
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
|
|
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
|
|
)
|