You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, sensu-prometheus-collector doesn't handle errors occuring during expfmt.ExtractSamples. The error result is simply ignored.
In my case, there are 782 lines of metrics (seemingly in the proper format) behind an -exporter-url, but the sensu-prometheus-collector outputs nothing. I already found out that, if there was an HTTP error, there should've been an error message on the output, so I guess that the problem occurs druing parsing.
The text was updated successfully, but these errors were encountered:
fxnn
changed the title
Print error messages
Print debug information
Oct 29, 2019
fxnn
changed the title
Print debug information
Handle errors from ExtractSamples
Oct 29, 2019
Unfortunately,
sensu-prometheus-collector
doesn't handle errors occuring duringexpfmt.ExtractSamples
. Theerror
result is simply ignored.In my case, there are 782 lines of metrics (seemingly in the proper format) behind an
-exporter-url
, but thesensu-prometheus-collector
outputs nothing. I already found out that, if there was an HTTP error, there should've been an error message on the output, so I guess that the problem occurs druing parsing.The text was updated successfully, but these errors were encountered: