Skip to content

Commit

Permalink
update sanic-prometheus to use full url label
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Oct 22, 2019
1 parent 5f463cc commit b66ade9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion synse_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ def run(self):
# If application metrics are enabled, configure the application now.
if config.options.get('metrics.enabled'):
logger.info(_('application performance metrics enabled'))
monitor(self.app).expose_endpoint()
monitor(
app=self.app,
endpoint_type='url',
).expose_endpoint()

# Load the SSL configuration, if defined.
ssl_context = None
Expand Down

0 comments on commit b66ade9

Please sign in to comment.