Currently, web framework instrumentations only allow configuring header extraction via environment variables. I want to add the option to configure them via constructor parameters. I think the code should be quite straightforward but I want to check if this would be an acceptable change before making a PR. Some background on why it wasn't implemented in the first place might also be helpful if it's something other than 'no one asked for it yet'.
Currently, web framework instrumentations only allow configuring header extraction via environment variables. I want to add the option to configure them via constructor parameters. I think the code should be quite straightforward but I want to check if this would be an acceptable change before making a PR. Some background on why it wasn't implemented in the first place might also be helpful if it's something other than 'no one asked for it yet'.