Skip to content

Commit 4f33f19

Browse files
authored
Merge branch 'main' into PMM-12154-pull-upstream-changes
2 parents 032b2ea + d8c068d commit 4f33f19

File tree

9 files changed

+91
-155
lines changed

9 files changed

+91
-155
lines changed

cmd/postgres_exporter/percona_compatibility_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import (
77
"bufio"
88
_ "embed"
99
"fmt"
10-
"github.com/stretchr/testify/assert"
11-
"io/ioutil"
1210
"net/http"
11+
"os"
1312
"regexp"
1413
"sort"
1514
"strings"
1615
"testing"
1716
"time"
17+
18+
"github.com/stretchr/testify/assert"
1819
)
1920

2021
//go:embed percona-reference-metrics.txt
@@ -34,7 +35,7 @@ func TestReferenceCompatibility(t *testing.T) {
3435
resp, err := client.Do(req)
3536
assert.Nil(t, err)
3637
defer resp.Body.Close()
37-
currentMetricsBytes, err := ioutil.ReadAll(resp.Body)
38+
currentMetricsBytes, err := os.ReadAll(resp.Body)
3839
assert.Nil(t, err)
3940

4041
currentMetrics := toMap(t, string(currentMetricsBytes))

cmd/postgres_exporter/percona_exporter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"crypto/sha256"
55
"database/sql"
66
"fmt"
7-
"io/ioutil"
7+
"os"
88
"path/filepath"
99
"strings"
1010

@@ -87,7 +87,7 @@ func initializePerconaExporters(dsn []string, servers *Servers) (func(), *Export
8787

8888
func (e *Exporter) loadCustomQueries(res MetricResolution, version semver.Version, server *Server) {
8989
if e.userQueriesPath[res] != "" {
90-
fi, err := ioutil.ReadDir(e.userQueriesPath[res])
90+
fi, err := os.ReadDir(e.userQueriesPath[res])
9191
if err != nil {
9292
level.Error(logger).Log("msg", fmt.Sprintf("failed read dir %q for custom query", e.userQueriesPath[res]),
9393
"err", err)
@@ -110,7 +110,7 @@ func (e *Exporter) loadCustomQueries(res MetricResolution, version semver.Versio
110110

111111
func (e *Exporter) addCustomQueriesFromFile(path string, version semver.Version, server *Server) {
112112
// Calculate the hashsum of the useQueries
113-
userQueriesData, err := ioutil.ReadFile(path)
113+
userQueriesData, err := os.ReadFile(path)
114114
if err != nil {
115115
level.Error(logger).Log("msg", "Failed to reload user queries:"+path, "err", err)
116116
e.userQueriesError.WithLabelValues(path, "").Set(1)

collector/collector.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,22 @@ func (p PostgresCollector) Describe(ch chan<- *prometheus.Desc) {
167167
func (p PostgresCollector) Collect(ch chan<- prometheus.Metric) {
168168
ctx := context.TODO()
169169

170+
// copy the instance so that concurrent scrapes have independent instances
171+
inst := p.instance.copy()
172+
170173
// Set up the database connection for the collector.
171-
err := p.instance.setup()
174+
err := inst.setup()
172175
if err != nil {
173176
level.Error(p.logger).Log("msg", "Error opening connection to database", "err", err)
174177
return
175178
}
176-
defer p.instance.Close()
179+
defer inst.Close()
177180

178181
wg := sync.WaitGroup{}
179182
wg.Add(len(p.Collectors))
180183
for name, c := range p.Collectors {
181184
go func(name string, c Collector) {
182-
execute(ctx, name, c, p.instance, ch, p.logger)
185+
execute(ctx, name, c, inst, ch, p.logger)
183186
wg.Done()
184187
}(name, c)
185188
}

collector/instance.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ func newInstance(dsn string) (*instance, error) {
5050
return i, nil
5151
}
5252

53+
// copy returns a copy of the instance.
54+
func (i *instance) copy() *instance {
55+
return &instance{
56+
dsn: i.dsn,
57+
name: i.name,
58+
}
59+
}
60+
5361
func (i *instance) setup() error {
5462
db, err := sql.Open("postgres", i.dsn)
5563
if err != nil {

go.mod

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ require (
1111
github.com/montanaflynn/stats v0.7.1
1212
github.com/pkg/errors v0.9.1
1313
github.com/prometheus/client_golang v1.16.0
14-
github.com/prometheus/client_model v0.4.0
14+
github.com/prometheus/client_model v0.5.0
1515
github.com/prometheus/common v0.44.0
1616
github.com/prometheus/exporter-toolkit v0.10.0
1717
github.com/smartystreets/goconvey v1.8.1
18-
github.com/stretchr/testify v1.8.2
18+
github.com/stretchr/testify v1.8.4
1919
github.com/tklauser/go-sysconf v0.3.12
20-
golang.org/x/sys v0.11.0
20+
golang.org/x/sys v0.14.0
2121
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
2222
gopkg.in/yaml.v2 v2.4.0
2323
gopkg.in/yaml.v3 v3.0.1
@@ -44,11 +44,11 @@ require (
4444
github.com/smarty/assertions v1.15.0 // indirect
4545
github.com/tklauser/numcpus v0.6.1 // indirect
4646
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
47-
golang.org/x/crypto v0.8.0 // indirect
48-
golang.org/x/net v0.10.0 // indirect
47+
golang.org/x/crypto v0.14.0 // indirect
48+
golang.org/x/net v0.17.0 // indirect
4949
golang.org/x/oauth2 v0.8.0 // indirect
5050
golang.org/x/sync v0.2.0 // indirect
51-
golang.org/x/text v0.9.0 // indirect
51+
golang.org/x/text v0.13.0 // indirect
5252
google.golang.org/appengine v1.6.7 // indirect
53-
google.golang.org/protobuf v1.30.0 // indirect
53+
google.golang.org/protobuf v1.31.0 // indirect
5454
)

go.sum

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
5656
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5757
github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8=
5858
github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc=
59-
github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY=
60-
github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU=
59+
github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw=
60+
github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI=
6161
github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY=
6262
github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY=
6363
github.com/prometheus/exporter-toolkit v0.10.0 h1:yOAzZTi4M22ZzVxD+fhy1URTuNRj/36uQJJ5S8IPza8=
@@ -72,46 +72,43 @@ github.com/smarty/assertions v1.15.0/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+
7272
github.com/smartystreets/goconvey v1.8.1 h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY=
7373
github.com/smartystreets/goconvey v1.8.1/go.mod h1:+/u4qLyY6x1jReYOp7GOM2FSt8aP9CzCZL03bI28W60=
7474
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
75-
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
76-
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
7775
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
78-
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
79-
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
80-
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
81-
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
76+
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
77+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
8278
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
8379
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
8480
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
8581
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
8682
github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
8783
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
8884
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
89-
golang.org/x/crypto v0.8.0 h1:pd9TJtTueMTVQXzk8E2XESSMQDj/U7OUu0PqJqPXQjQ=
90-
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
85+
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
86+
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
9187
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
92-
golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
93-
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
88+
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
89+
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
9490
golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8=
9591
golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE=
9692
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9793
golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
9894
golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
9995
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
10096
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
101-
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
10297
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
98+
golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
99+
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
103100
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
104101
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
105-
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
106-
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
102+
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
103+
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
107104
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
108105
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
109106
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
110107
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
111108
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
112109
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
113-
google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
114-
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
110+
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
111+
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
115112
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
116113
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
117114
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=

percona_tests/performance_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package percona_tests
33
import (
44
"flag"
55
"fmt"
6-
"io/ioutil"
6+
"os"
77
"strconv"
88
"strings"
99
"testing"
@@ -154,7 +154,7 @@ func doTest(iterations int, fileName, argsFile string) (cpu, hwm, data int64, _
154154
}
155155

156156
func getCPUMem(pid int) (hwm, data int64) {
157-
contents, err := ioutil.ReadFile(fmt.Sprintf("/proc/%d/status", pid))
157+
contents, err := os.ReadFile(fmt.Sprintf("/proc/%d/status", pid))
158158
if err != nil {
159159
return 0, 0
160160
}
@@ -178,7 +178,7 @@ func getCPUMem(pid int) (hwm, data int64) {
178178
}
179179

180180
func getCPUTime(pid int) (total int64) {
181-
contents, err := ioutil.ReadFile(fmt.Sprintf("/proc/%d/stat", pid))
181+
contents, err := os.ReadFile(fmt.Sprintf("/proc/%d/stat", pid))
182182
if err != nil {
183183
return
184184
}

tools/go.mod

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.17
44

55
require (
66
github.com/golangci/golangci-lint v1.53.3
7-
github.com/prometheus/promu v0.12.0
7+
github.com/prometheus/promu v0.15.0
88
github.com/reviewdog/reviewdog v0.15.0
99
honnef.co/go/tools v0.4.6
1010
)
@@ -26,8 +26,8 @@ require (
2626
github.com/Masterminds/semver v1.5.0 // indirect
2727
github.com/OpenPeeDeeP/depguard/v2 v2.1.0 // indirect
2828
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
29-
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
30-
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
29+
github.com/alecthomas/kingpin/v2 v2.3.2 // indirect
30+
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
3131
github.com/alexkohler/nakedret/v2 v2.0.2 // indirect
3232
github.com/alexkohler/prealloc v1.0.0 // indirect
3333
github.com/alingse/asasalint v0.0.11 // indirect
@@ -124,7 +124,7 @@ require (
124124
github.com/mattn/go-isatty v0.0.17 // indirect
125125
github.com/mattn/go-runewidth v0.0.9 // indirect
126126
github.com/mattn/go-shellwords v1.0.12 // indirect
127-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
127+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
128128
github.com/mbilski/exhaustivestruct v1.2.0 // indirect
129129
github.com/mgechev/revive v1.3.2 // indirect
130130
github.com/mitchellh/go-homedir v1.1.0 // indirect
@@ -141,10 +141,10 @@ require (
141141
github.com/pkg/errors v0.9.1 // indirect
142142
github.com/pmezard/go-difflib v1.0.0 // indirect
143143
github.com/polyfloyd/go-errorlint v1.4.2 // indirect
144-
github.com/prometheus/client_golang v1.13.0 // indirect
145-
github.com/prometheus/client_model v0.2.0 // indirect
146-
github.com/prometheus/common v0.37.0 // indirect
147-
github.com/prometheus/procfs v0.8.0 // indirect
144+
github.com/prometheus/client_golang v1.15.1 // indirect
145+
github.com/prometheus/client_model v0.4.0 // indirect
146+
github.com/prometheus/common v0.44.0 // indirect
147+
github.com/prometheus/procfs v0.9.0 // indirect
148148
github.com/quasilyte/go-ruleguard v0.3.19 // indirect
149149
github.com/quasilyte/gogrep v0.5.0 // indirect
150150
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
@@ -189,24 +189,25 @@ require (
189189
github.com/vvakame/sdlog v1.2.0 // indirect
190190
github.com/xanzy/go-gitlab v0.91.1 // indirect
191191
github.com/xen0n/gosmopolitan v1.2.1 // indirect
192+
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
192193
github.com/yagipy/maintidx v1.0.0 // indirect
193194
github.com/yeya24/promlinter v0.2.0 // indirect
194195
github.com/ykadowak/zerologlint v0.1.2 // indirect
195196
gitlab.com/bosi/decorder v0.2.3 // indirect
196197
go.opencensus.io v0.24.0 // indirect
197198
go.tmz.dev/musttag v0.7.0 // indirect
198-
go.uber.org/atomic v1.10.0 // indirect
199+
go.uber.org/atomic v1.11.0 // indirect
199200
go.uber.org/multierr v1.6.0 // indirect
200201
go.uber.org/zap v1.24.0 // indirect
201202
golang.org/x/build v0.0.0-20230905185615-7f65e2bc812a // indirect
202-
golang.org/x/crypto v0.13.0 // indirect
203+
golang.org/x/crypto v0.14.0 // indirect
203204
golang.org/x/exp v0.0.0-20230809094429-853ea248256d // indirect
204205
golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2 // indirect
205206
golang.org/x/mod v0.12.0 // indirect
206-
golang.org/x/net v0.15.0 // indirect
207+
golang.org/x/net v0.17.0 // indirect
207208
golang.org/x/oauth2 v0.12.0 // indirect
208209
golang.org/x/sync v0.3.0 // indirect
209-
golang.org/x/sys v0.12.0 // indirect
210+
golang.org/x/sys v0.13.0 // indirect
210211
golang.org/x/text v0.13.0 // indirect
211212
golang.org/x/time v0.3.0 // indirect
212213
golang.org/x/tools v0.12.1-0.20230825192346-2191a27a6dc5 // indirect
@@ -216,9 +217,8 @@ require (
216217
google.golang.org/genproto v0.0.0-20230821184602-ccc8af3d0e93 // indirect
217218
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect
218219
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect
219-
google.golang.org/grpc v1.57.0 // indirect
220+
google.golang.org/grpc v1.57.1 // indirect
220221
google.golang.org/protobuf v1.31.0 // indirect
221-
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
222222
gopkg.in/ini.v1 v1.67.0 // indirect
223223
gopkg.in/yaml.v2 v2.4.0 // indirect
224224
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)