hobinjk / gateway-prometheus-translator

Translator (export) from the Web Thing API to Prometheus metrics
Mozilla Public License 2.0
12 stars 2 forks source link

Adds integer to types & adds error handling to setting metrics #5

Closed che-wf closed 5 years ago

che-wf commented 5 years ago

This fixes #4 for me. It seems Gateway 0.7.0 may have introduced a type "integer" which wasn't accounted for yet.

che-wf commented 5 years ago

@hobinjk Glad to do it. After a little more digging, it looks like the Netatmo Weather Adapter is the one that introduced the "integer" type.