Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created March 11, 2015 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nelsnelson/61ca76a99e27ae516bc4 to your computer and use it in GitHub Desktop.
Save nelsnelson/61ca76a99e27ae516bc4 to your computer and use it in GitHub Desktop.
brainfuck url
+ url = ("http://%s:%s/render/?target=alias(transformNull(asPercent(diff"
+ "Series(sumSeries(derivative(servers.production.f5-networks."
+ "icontrol.load-balancer-1.public-api-ssl-v4.http_total_requests),"
+ "derivative(servers.production.f5-networks.icontrol.load-balancer-2."
+ "public-api-ssl-v4.http_total_requests)),sumSeries(derivative"
+ "(servers.production.f5-networks.icontrol.load-balancer-1."
+ "public-api-ssl-v4.http_5xx_responses),derivative(servers.production."
+ "f5-networks.icontrol.load-balancer-2.public-api-ssl-v4."
+ "http_5xx_responses))),sumSeries(derivative(servers.production."
+ "f5-networks.icontrol.load-balancer-1.public-api-ssl-v4."
+ "http_total_requests),derivative(servers.production.f5-networks."
+ "icontrol.load-balancer-2.public-api-ssl-v4.http_total_requests))),100)"
+ ",%%27Availability%%20Percentage%%27)&target=alias(secondYAxis(sumSeries"
+ "(keepLastValue(derivative(servers.production.f5-networks.icontrol."
+ "load-balancer-1.public-api-ssl-v4.http_total_requests)),"
+ "keepLastValue(derivative(servers.production.f5-networks.icontrol."
+ "load-balancer-2.public-api-ssl-v4.http_total_requests)))),"
+ "%%27HTTP%%20Requests%%20per%%20Minute%%27)&colorList=blue,green"
+ "&yMinLeft=95&yMaxLeft=100&yStepLeft=1.25&yMinRight=0&yMaxRight=5000"
+ "&yStepRight=1250&target=alias(color(drawAsInfinite(events"
+ "(%%22deploy-start%%22)),%%27ff6633%%27),%%27%%27)&target=alias(color"
+ "(drawAsInfinite(events(%%22deploy-end%%22)),%%27ffcc33%%27),%%27%%27)"
+ "&from=-1hours&width=426.6666666666667&height=313"
+ "&title=DFW%%20-%%20Public%%20API&bgcolor=white&fgcolor=black&fontSize=12"
+ "&margin=5&lineWidth=2&tz=utc&fontName=Sans&format=json"
+ % (web_host, web_port))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment