client_python
client_python copied to clipboard
can no longer subclass prometheus_client.twisted.MetricsResource
In Twisted resources are designed to be subclassed.
Now that MetricsResource is hidden behind a lambda, it can no longer be subclassed.
Can you provide a easy way to subclass the handler?
It's one line of code, it'd be easier for you to copy it over. I'd actually prefer to remove this altogether, now that it's using WSGI.