Updates
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from ._exposition import MetricsResource
|
||||
|
||||
__all__ = ['MetricsResource']
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
from twisted.internet import reactor
|
||||
from twisted.web.wsgi import WSGIResource
|
||||
|
||||
from .. import exposition, REGISTRY
|
||||
|
||||
MetricsResource = lambda registry=REGISTRY: WSGIResource(
|
||||
reactor, reactor.getThreadPool(), exposition.make_wsgi_app(registry)
|
||||
)
|
||||
Reference in New Issue
Block a user