QubitProducts / exporter_exporter

A reverse proxy designed for Prometheus exporters
Apache License 2.0
336 stars 55 forks source link

Returning JSON of modules broken #44

Closed ldaneliukas closed 4 years ago

ldaneliukas commented 4 years ago

It seems that 0.3.1, or more specifically https://github.com/QubitProducts/exporter_exporter/pull/38 broke the ability to return JSON of all modules and their configuration on request.

Executing curl -XGET -H "Accept: application/json" localhost:9999 now logs ERRO[0013] json: unsupported type: func(*http.Request)

tcolgate commented 4 years ago

Right, we're at the point now where I really should ad a test suite.