Skip to content

Conversation

@behnambm
Copy link

the go.mod and readme files are not up to date.
Due to upgraded github.com/prometheus/common, ghz will only compile with version 1.20 or higher.

The compile time error(on go1.19.13 linux/amd64):

go: downloading cloud.google.com/go/compute v1.20.1
# github.com/prometheus/common/model
pkg/mod/github.com/prometheus/[email protected]/model/metric.go:364:33: undefined: strings.CutPrefix
note: module requires Go 1.20

this is due to `github.com/prometheus/common` incompatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant