The Resourcebuilder:view starts an informer on all curl cmds, that's a problem when getting a resource that doesn't support the watch feature such as metrics.
Add an option such as:
if opts.cmd == "curl" and opts.with_informer then
informer.start(builder)
end
The Resourcebuilder:view starts an informer on all curl cmds, that's a problem when getting a resource that doesn't support the watch feature such as metrics.
Add an option such as:
And clean up the metrics check in informer.lua