Closed matejzero closed 6 years ago
How are you running the query? I tried by going to localhost:9090
and running the query there.
Regardless, I just figured out how to build binaries for the full range of platforms that Prometheus supports (just do promu crossbuild
) and I'll make a proper release with what are (at least for me) working binaries.
Just finished an official (whatever that means) release of Prometheus 2.2.1 + xrate()
: https://github.com/free/prometheus/releases/tag/v2.2.1
As the name suggests, this is exactly Prometheus release 2.2.1 plus the xrate()
/xincrease()
/xdelta()
functions.
I was running my queries the same way you did. Weird:)
Anyway, I downloaded your release and it's working now, yeey. Off to check some graphs with the new function.
Thanks for the help
As said in the Grafana issue, xrate function doesn't exists when I compile your fork.
Looking at the version output, it's the right version:
When trying to run xrate function, I get the error
unknown function
: