Skip to content

Commit 7a6d98a

Browse files
committed
Included metrics in flask
1 parent c3b30a1 commit 7a6d98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from prometheus_flask_exporter import PrometheusMetrics
33

44
app = Flask(__name__)
5-
5+
metrics = PrometheusMetrics(app)
66
@app.route('/')
77
def hello():
88
return "Hello from DevOps on Azure VM with CI/CD!"

0 commit comments

Comments
 (0)