Partial reimplementation of the web server using Tornado #3

This commit is contained in:
Ian Renton
2025-12-23 11:03:01 +00:00
parent fb935138a1
commit fd246fc17b
15 changed files with 799 additions and 461 deletions

View File

@@ -33,8 +33,6 @@ memory_use_gauge = Gauge(
)
# Get a Prometheus metrics response for Bottle
# Get a Prometheus metrics response for the web server
def get_metrics():
response.content_type = CONTENT_TYPE_LATEST
response.status = 200
return generate_latest(registry)