sensu-plugins / sensu-plugins-http

This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
http://sensu-plugins.io
MIT License
30 stars 97 forks source link

metrics-http-json.rb: pass custom http headers #176

Open mblaettler opened 4 years ago

mblaettler commented 4 years ago

Currently it is not possible to pass custom HTTP headers to the request. This would be nice, because it would enable to use Authentication tokens.