prometheus-monitoring #3

Merged
lulzette merged 5 commits from prometheus-monitoring into master 2021-11-01 04:40:19 +03:00
Showing only changes of commit 74cd6c6d4b - Show all commits

10
main.py
View File

@ -104,16 +104,6 @@ class Back():
return bool(posts.delete_one({'name': name}).deleted_count)
class Metrics:
def alive():
return str("alive 1")
@route('/metrics')
def metrics():
return Metrics.alive()
@route('/post/<name>')
def post(name):
'''