Hi All,

I've started looking into using pushgateway metrics.
I tried a variation of the curl example found in the pushgateway git readme:

cat <<EOF | curl --data-binary @- 
http://my-prometheus-host:9091/metrics/job/some_job/instance/some_instance
# TYPE another_metric gauge
# HELP another_metric Just an example.
my_metric 6324321
EOF

I can see the metric appear and a basic query returns the expected value.
I can also apply basic arithmetic to it and get the expected result e.g.
my_metric + 100 returns 6324421 

However, if i try to use it in arithmetic with other existing gauge metrics 
it always returns an empty result e.g.

my_metric / existing_gauge_metric returns empty query result.

Any ideas what is going on?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/a81a1cc8-5476-4c1b-b211-4309c49ff1cdn%40googlegroups.com.

Reply via email to