Open pingwangrh opened 3 years ago
I have the same issue, but changed format:
.Format(expfmt.FmtText)
it works for me.
I have the same issue, but changed format:
.Format(expfmt.FmtText)
it works for me.
Yeah, changing format works. Thank you so much!
duplicated with https://github.com/weaveworks/prom-aggregation-gateway/issues/48
trying the example code from go client doc: https://pkg.go.dev/github.com/prometheus/client_golang/prometheus/push?utm_source=godoc#Pusher.Push
it works with the normal pushgateway, but if I point the url to prom-aggregation-gateway, got error: Could not push to Pushgateway: unexpected status code 400 while pushing to http://localhost:8080/metrics/job/ping_test: text format parsing error in line 1: expected float as value, got ""