-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade prometheus libraries and bump go to 1.21
Upgrade is necessary because prometheus introduced incompatible changes prometheus/client_golang#1446
- Loading branch information
Showing
4 changed files
with
133 additions
and
626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,54 @@ | ||
module github.com/relex/gotils | ||
|
||
go 1.18 | ||
go 1.21 | ||
|
||
toolchain go1.22.1 | ||
|
||
require ( | ||
github.com/denisenkom/go-mssqldb v0.12.2 | ||
github.com/denisenkom/go-mssqldb v0.12.3 | ||
github.com/go-redis/redis/v8 v8.11.5 | ||
github.com/iancoleman/strcase v0.2.0 | ||
github.com/iancoleman/strcase v0.3.0 | ||
github.com/mileusna/crontab v1.2.0 | ||
github.com/prometheus/client_golang v1.12.2 | ||
github.com/prometheus/client_model v0.2.0 | ||
github.com/prometheus/common v0.35.0 | ||
github.com/puzpuzpuz/xsync v1.3.0 | ||
github.com/sirupsen/logrus v1.8.1 | ||
github.com/spf13/cobra v1.5.0 | ||
github.com/prometheus/client_golang v1.19.0 | ||
github.com/prometheus/client_model v0.6.1 | ||
github.com/prometheus/common v0.53.0 | ||
github.com/puzpuzpuz/xsync v1.5.2 | ||
github.com/samber/lo v1.39.0 | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/spf13/cobra v1.8.0 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/spf13/viper v1.12.0 | ||
github.com/stretchr/testify v1.8.0 | ||
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 | ||
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 | ||
google.golang.org/protobuf v1.28.0 | ||
github.com/spf13/viper v1.18.2 | ||
github.com/stretchr/testify v1.9.0 | ||
golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f | ||
golang.org/x/term v0.19.0 | ||
google.golang.org/protobuf v1.33.0 | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect | ||
github.com/fsnotify/fsnotify v1.5.4 // indirect | ||
github.com/fsnotify/fsnotify v1.7.0 // indirect | ||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect | ||
github.com/golang-sql/sqlexp v0.1.0 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/magiconair/properties v1.8.6 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/magiconair/properties v1.8.7 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.2 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/procfs v0.7.3 // indirect | ||
github.com/samber/lo v1.33.0 // indirect | ||
github.com/spf13/afero v1.8.2 // indirect | ||
github.com/spf13/cast v1.5.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/subosito/gotenv v1.4.0 // indirect | ||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect | ||
golang.org/x/sys v0.12.0 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
gopkg.in/ini.v1 v1.66.6 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
github.com/pelletier/go-toml/v2 v2.2.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
github.com/prometheus/procfs v0.14.0 // indirect | ||
github.com/sagikazarmark/locafero v0.4.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/crypto v0.22.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.