Skip to content

Change README - #394

Closed
parsaeian wants to merge 1 commit into
prometheus:masterfrom
parsaeian:fix_dispatchermiddleware_in_readme
Closed

parsaeian wants to merge 1 commit into
prometheus:masterfrom
parsaeian:fix_dispatchermiddleware_in_readme

Conversation

@parsaeian

Copy link
Copy Markdown

'werkzeug.wsgi.DispatcherMiddleware' has moved to 'werkzeug.middleware.dispatcher.DispatcherMiddleware'

@brian-brazil

…e.dispatcher.DispatcherMiddleware'

Signed-off-by: Mohsen Parsaeian <m.parsaeian95@gmail.com>
Comment thread README.md
'/metrics': make_wsgi_app()
})
```
**Note:** `werkzeug.wsgi.DispatcherMiddleware` has moved to `werkzeug.middleware.dispatcher.DispatcherMiddleware`. This import is deprecated as of version 0.15 and will be removed in version 1.0.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just update it to the new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants