Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bug839696 visualize crontabber status #317

merged 3 commits into from Mar 22, 2013


None yet
2 participants

lonnen commented Mar 21, 2013

Adds a Sankey-style diagram for visualize crontabber jobs and dependencies, and a table. Not linked to from the UI, but accessible by url only to help diagnose crontab problems.

@ghost ghost assigned peterbe Mar 21, 2013

@peterbe peterbe commented on an outdated diff Mar 22, 2013

@@ -648,6 +648,8 @@ def get(self, duration=12, decode_json=True):
class CrontabberState(SocorroMiddleware):
+ cache_seconds = 100 * 60 * 5 # 5 minutes

peterbe Mar 22, 2013


Remove the 100

@peterbe peterbe commented on an outdated diff Mar 22, 2013

@@ -1128,7 +1128,6 @@ def status_json(request):
def crontabber_state(request):
response = models.CrontabberState().get()
- state = response['state']
last_updated = response['last_updated']
def parse(date_str, format='%Y-%m-%d %H:%M:%S.%f'):

peterbe Mar 22, 2013


is this inner function still needed?


peterbe commented Mar 22, 2013


lonnen added a commit that referenced this pull request Mar 22, 2013

Merge pull request #317 from lonnen/bug839696-visualize-crontabber-st…

Bug839696 visualize crontabber status

@lonnen lonnen merged commit 8437a3e into mozilla:master Mar 22, 2013

1 check passed

default Jenkins build 'socorro-crashstats-github' #345 has succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment