Commit fae68918 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Remove unused uptime information

parent 2cd159ce
......@@ -186,9 +186,6 @@ LATENCY_REPORT_DEST_DIR = PROJECT_DATA_DIR
LATENCY_MAXIMUM_CHARTED = 1800
LATENCY_REPORT_WEB_PAGE_FILE_PATH = join(PROJECT_DATA_DIR, "latency.inc")
# Uptime reporting
UPTIME_REPORT_DIR = PROJECT_DATA_DIR
# Rate file location
RATE_INFO_FILE = join(PROJECT_DATA_DIR, "rate_info.json")
......
......@@ -40,20 +40,6 @@ def histo(request):
except IOError:
table = None
# XXX The old nagios scraping code no longer works. It scrapes sentry anyway, instead
# of dashboard.ligo.org. Anyway, the reports page here isn't really the place for this
# kind of information.
#try:
# uptime = open(settings.UPTIME_REPORT_DIR + "/ytd.html", "r").read()
#except IOError:
# uptime = None
# Rate information
#try:
# rate_info = open(settings.RATE_INFO_FILE).read()
#except IOError:
# rate_info = None
# For the binned counts, read in the contents of the file.
try:
f = open(settings.BINNED_COUNT_FILE, 'r')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment