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
merged 3 commits into from Mar 22, 2013

Conversation

Projects
None yet
2 participants
Owner

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

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

peterbe Mar 22, 2013

Contributor

Remove the 100

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

crashstats/crashstats/views.py
@@ -1128,7 +1128,6 @@ def status_json(request):
@set_base_data
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

peterbe Mar 22, 2013

Contributor

is this inner function still needed?

Contributor

peterbe commented Mar 22, 2013

r+

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

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

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
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment