messagebird / pushprom

Pushprom is a proxy to the Prometheus Go client.
https://www.messagebird.com
BSD 2-Clause "Simplified" License
80 stars 13 forks source link

Updating to the latest prometheus client version fails with "vec.With(delta.Labels) (type prometheus.Observer) as type prometheus.Histogram in assignment" #12

Closed marcelcorso closed 7 years ago

marcelcorso commented 7 years ago

I just updated to the latest prometheus go client and get this error when building

./delta.go:161: cannot use vec.With(delta.Labels) (type prometheus.Observer) as type 
prometheus.Histogram in assignment:
    prometheus.Observer does not implement prometheus.Histogram 
(missing Collect method)