Closed ldaneliukas closed 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.
0.3.1
Executing curl -XGET -H "Accept: application/json" localhost:9999 now logs ERRO[0013] json: unsupported type: func(*http.Request)
curl -XGET -H "Accept: application/json" localhost:9999
ERRO[0013] json: unsupported type: func(*http.Request)
Right, we're at the point now where I really should ad a test suite.
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 logsERRO[0013] json: unsupported type: func(*http.Request)