Skip to content

Commit 9591815

Browse files
committed
fix:complie
1 parent 5ed38e4 commit 9591815

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

tools/pika_exporter/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ build: deps
6666

6767
deps: generateVer
6868
@mkdir -p bin
69+
@go mod tidy
6970

7071
generateVer:
7172
@echo "$$GENERATE_VERSION_CODE" | bash

tools/pika_exporter/go.mod

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,20 @@ require (
88
github.com/pelletier/go-toml v1.9.5
99
github.com/prometheus/client_golang v1.14.0
1010
github.com/sirupsen/logrus v1.9.0
11+
github.com/stretchr/testify v1.7.0
1112
)
1213

1314
require (
1415
github.com/beorn7/perks v1.0.1 // indirect
1516
github.com/cespare/xxhash/v2 v2.1.2 // indirect
17+
github.com/davecgh/go-spew v1.1.1 // indirect
1618
github.com/golang/protobuf v1.5.2 // indirect
1719
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
20+
github.com/pmezard/go-difflib v1.0.0 // indirect
1821
github.com/prometheus/client_model v0.3.0 // indirect
1922
github.com/prometheus/common v0.37.0 // indirect
2023
github.com/prometheus/procfs v0.8.0 // indirect
21-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
24+
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
2225
google.golang.org/protobuf v1.28.1 // indirect
26+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
2327
)

tools/pika_exporter/version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package main
22

33
const (
44
PikaExporterVersion = "3.5.5"
5-
BuildVersion = "Filled in by build"
6-
BuildCommitSha = "Filled in by build"
7-
BuildDate = "Filled in by build"
8-
GoVersion = "Filled in by build"
5+
BuildVersion = "3.5"
6+
BuildCommitSha = "5ed38e4f26e589fc0c5e8cb1c938cc5d6add9e62"
7+
BuildDate = "2026-04-16 20:08:51 CST"
8+
GoVersion = "go1.22.1 darwin/amd64"
99
)

0 commit comments

Comments
 (0)