The prometheus project doesn't adhere to the module suffix so any attempt to use it as a library fails with go 1.13 or greater. The workaround is to `go get` a specific commit revision that corresponds to a tag and let go figure out a pseudo-version for it. In this case, I updated the revision to the one pointed at by `v2.9.2` since that is what the current `go.mod` file pointed at. I also updated the go version to 1.13 inside of `go.mod` to be the same as influxdb. See https://github.com/prometheus/prometheus/issues/6048 for details. |
||
---|---|---|
.. | ||
internal/promqltests | ||
Makefile | ||
gen.go | ||
promql.go | ||
promql.peg | ||
query.go | ||
query_test.go | ||
types.go | ||
unicode.go |