./home/circleci/project/spec/prometheus/middleware/exporter_spec.rb:38: warning: Rack::Response#header is deprecated and will be removed in Rack 3.1
We should switch to using whatever the replacement is. From a quick grep, it looks like we only call that method in tests, so we shouldn't have to worry about maintaining compatibility with multiple versions in the library code.
Right now, our tests are spamming this:
We should switch to using whatever the replacement is. From a quick grep, it looks like we only call that method in tests, so we shouldn't have to worry about maintaining compatibility with multiple versions in the library code.