p3exporter package
Init methods for p3exporter package.
Subpackages
Submodules
p3exporter.web module
Web module provide all parts to create the web app.
- p3exporter.web.create_app(config: CollectorConfig)[source]
Create the web app.
This Function creates the flask app and dispatch metrics endpoint to prometheus wsgi app.
- Parameters
config (CollectorConfig) – A configuration object with data for template rendering.
- Returns
Created web app object.
- Return type
DispatcherMiddleware