This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var metrics = | |
[ | |
{ | |
"target": "vumi.random.count.sum" | |
} | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Response Headers | |
Connection keep-alive | |
Content-Length 1912 | |
Content-Type text/html;charset=utf-8 | |
Server thin 1.3.1 codename Triple Espresso | |
X-Frame-Options sameorigin | |
X-XSS-Protection 1; mode=block | |
Request Headers | |
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Response Headers | |
Cache-Control no-cache | |
Content-Encoding gzip | |
Content-Length 266 | |
Content-Type application/json | |
Date Tue, 19 Jun 2012 21:12:52 GMT | |
Pragma no-cache | |
Server WSGIServer/0.1 Python/2.7.2 | |
Vary Accept-Encoding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="jquery.min.js"> | |
<script src="jquery.min.js" type="text/javascript"></script> | |
</script> | |
</head> | |
<body></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_construct_render_url(self): | |
""" | |
Tests whether graphite render request urls are constructed properly | |
from client side render requests | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.graphite_url = self.DEFAULT_GRAPHITE_URL \ | |
if graphite_url is None else graphite_url | |
if graphite_url is None: | |
self.graphite_url = self.DEFAULT_GRAPHITE_URL | |
else | |
self.graphite_url = graphite_url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-dashboard | |
widgets: | |
random-count-sum: | |
title: Sum of random count | |
metric: vumi.random.count.sum | |
type: graph | |
width: 300px | |
height: 150px | |
random-timer-average: | |
title: Average of random timer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response | |
response = callback(request, *callback_args, **callback_kwargs) | |
File "/opt/graphite/webapp/graphite/render/views.py", line 104, in renderView | |
seriesList = evaluateTarget(requestContext, target) | |
File "/opt/graphite/webapp/graphite/render/evaluator.py", line 10, in evaluateTarget | |
result = evaluateTokens(requestContext, tokens) | |
File "/opt/graphite/webapp/graphite/render/evaluator.py", line 21, in evaluateTokens | |
return evaluateTokens(requestContext, tokens.expression) | |
File "/opt/graphite/webapp/graphite/render/evaluator.py", line 29, in evaluateTokens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
widgets: | |
- name: 'Sum of random count (small bucket)' | |
metrics: | |
'Sum of random count': | |
target: vumi.random.count.sum | |
warning_max_threshold: 12 | |
warning_min_threshold: 5 | |
- name: 'Sum of random count (big bucket)' | |
bucket_size: 900 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
widgets: | |
- 'Sum of random count (small bucket)': | |
metrics: | |
'Sum of random count': | |
target: vumi.random.count.sum | |
warning_max_threshold: 12 | |
warning_min_threshold: 5 | |
- 'Sum of random count (big bucket)': | |
bucket_size: 900 |
OlderNewer