Skip to content

Instantly share code, notes, and snippets.

@twonds
Created April 3, 2015 20:14
Show Gist options
  • Save twonds/60e29cf7caf33736b579 to your computer and use it in GitHub Desktop.
Save twonds/60e29cf7caf33736b579 to your computer and use it in GitHub Desktop.

call the following:

api.create_dashboard(
                  title, description,
                  graphs, template_vars)

where the values are the following:

title="pubsub-bench"
description="Pubsub Bench"
graphs=[{u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.client.publish.latency.avg{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.avg{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.avg{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.median{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.median{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.median{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.95percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.95percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.95percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.99percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.99percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.99percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.99_5percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.99_5percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.99_5percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.max{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.max{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.publish.latency.max{$mx_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.mx.client.publish.latency'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.connection.parse.latency.avg{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.avg{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.avg{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.median{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.median{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.median{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.95percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.95percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.95percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.99percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.99percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.99percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.99_5percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.99_5percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.99_5percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.max{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.max{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.connection.parse.latency.max{$q_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.mx.connection.parse.latency'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.q.push.latency.avg{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.avg{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.avg{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.median{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.median{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.median{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.95percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.95percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.95percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.99percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.99percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.99percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.99_5percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.99_5percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.99_5percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.max{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.max{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.q.push.latency.max{$mx_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.mx.q.push.latency'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.q.streamlet.push.avg{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.avg{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.avg{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.median{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.median{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.median{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.95percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.95percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.95percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.99percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.99percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.99percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.99_5percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.99_5percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.99_5percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.max{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.max{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.push.max{$q_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.q.streamlet.push'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.client.broadcast.latency.avg{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.avg{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.avg{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.median{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.median{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.median{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.95percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.95percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.95percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.99percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.99percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.99percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.99_5percentile{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.99_5percentile{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.99_5percentile{$mx_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.max{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.max{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.client.broadcast.latency.max{$mx_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.mx.client.broadcast.latency'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.q.streamlet.pull.avg{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.avg{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.avg{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.median{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.median{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.median{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.95percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.95percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.95percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.99percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.99percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.99percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.99_5percentile{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.99_5percentile{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.99_5percentile{$q_host2}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.max{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.max{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.streamlet.pull.max{$q_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.q.streamlet.pull'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.client.msg.in{$mx_host0}'}, {u'q': u'avg:pubsub.mx.client.msg.in{$mx_host1}'}, {u'q': u'avg:pubsub.mx.client.msg.in{$mx_host2}'}], u'events': []}, u'title': u'pubsub.mx.client.msg.in'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.q.streamlet.num_messages{$q_host0}'}, {u'q': u'avg:pubsub.q.streamlet.num_messages{$q_host1}'}, {u'q': u'avg:pubsub.q.streamlet.num_messages{$q_host2}'}], u'events': []}, u'title': u'pubsub.q.streamlet.num_messages'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.client.msg.in.size.avg{$mx_host0}'}, {u'q': u'avg:pubsub.mx.client.msg.in.size.avg{$mx_host1}'}, {u'q': u'avg:pubsub.mx.client.msg.in.size.avg{$mx_host2}'}], u'events': []}, u'title': u'pubsub.mx.client.msg.in.size'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.q.vmstats.messages_in_queues{$q_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.q.vmstats.messages_in_queues{$q_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.q.vmstats.messages_in_queues{$q_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.q.vmstats.messages_in_queues'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:pubsub.mx.vmstats.messages_in_queues{$mx_host0}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.vmstats.messages_in_queues{$mx_host1}', u'type': u'line'}, {u'q': u'avg:pubsub.mx.vmstats.messages_in_queues{$mx_host2}', u'type': u'line'}], u'events': []}, u'title': u'pubsub.mx.vmstats.messages_in_queues'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'sum:pubsub.mx.vmstats.gc.count{$mx_host0}.as_count()', u'type': u'line'}, {u'q': u'sum:pubsub.mx.vmstats.gc.count{$mx_host1}.as_count()', u'type': u'line'}, {u'q': u'sum:pubsub.mx.vmstats.gc.count{$mx_host2}.as_count()', u'type': u'line'}], u'events': []}, u'title': u'pubsub.mx.vmstats.gc.count'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'sum:tcpkali.traffic.data.sent{$bench_host0}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host1}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host2}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host3}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host4}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host5}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host6}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host7}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host8}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host9}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host10}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host11}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host12}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host13}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host14}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host15}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host16}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host17}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host18}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host19}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host20}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host21}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host22}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host23}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host24}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host25}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host26}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host27}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host28}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.sent{$bench_host29}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host0}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host1}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host2}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host3}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host4}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host5}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host6}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host7}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host8}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host9}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host10}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host11}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host12}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host13}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host14}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host15}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host16}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host17}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host18}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host19}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host20}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host21}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host22}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host23}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host24}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host25}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host26}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host27}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host28}.as_count()', u'type': u'bars'}, {u'q': u'sum:tcpkali.traffic.data.rcvd{$bench_host29}.as_count()', u'type': u'bars'}], u'events': []}, u'title': u'tcpkali.traffic.data.rcvd, tcpkali.traffic.data.sent'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:tcpkali.connections.total{$bench_host0}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host1}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host2}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host3}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host4}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host5}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host6}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host7}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host8}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host9}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host10}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host11}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host12}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host13}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host14}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host15}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host16}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host17}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host18}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host19}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host20}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host21}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host22}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host23}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host24}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host25}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host26}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host27}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host28}'}, {u'q': u'avg:tcpkali.connections.total{$bench_host29}'}], u'events': []}, u'title': u'tcpkali.connections.total'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:tcpkali.traffic.data{$bench_host0}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host1}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host2}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host3}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host4}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host5}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host6}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host7}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host8}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host9}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host10}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host11}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host12}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host13}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host14}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host15}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host16}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host17}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host18}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host19}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host20}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host21}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host22}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host23}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host24}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host25}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host26}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host27}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host28}'}, {u'q': u'avg:tcpkali.traffic.data{$bench_host29}'}], u'events': []}, u'title': u'tcpkali.traffic.data'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host0}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host1}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host2}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host3}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host4}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host5}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host6}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host7}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host8}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host9}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host10}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host11}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host12}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host13}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host14}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host15}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host16}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host17}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host18}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host19}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host20}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host21}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host22}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host23}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host24}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host25}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host26}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host27}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host28}'}, {u'q': u'avg:tcpkali.traffic.bitrate.in{$bench_host29}'}], u'events': []}, u'title': u'tcpkali.traffic.bitrate.in'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'avg:tcpkali.latency.95{$bench_host0}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host1}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host2}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host3}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host4}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host5}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host6}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host7}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host8}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host9}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host10}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host11}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host12}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host13}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host14}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host15}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host16}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host17}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host18}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host19}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host20}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host21}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host22}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host23}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host24}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host25}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host26}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host27}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host28}'}, {u'q': u'avg:tcpkali.latency.95{$bench_host29}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host0}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host1}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host2}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host3}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host4}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host5}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host6}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host7}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host8}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host9}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host10}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host11}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host12}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host13}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host14}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host15}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host16}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host17}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host18}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host19}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host20}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host21}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host22}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host23}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host24}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host25}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host26}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host27}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host28}'}, {u'q': u'avg:tcpkali.latency.99.5{$bench_host29}'}], u'events': []}, u'title': u'tcpkali.latency.95, tcpkali.latency.99.5'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'100 - avg:system.cpu.idle{$mx_host0}'}, {u'q': u'100 - avg:system.cpu.idle{$mx_host1}'}, {u'q': u'100 - avg:system.cpu.idle{$mx_host2}'}], u'events': []}, u'title': u'MX system.cpu.idle'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'100 - avg:system.cpu.idle{$q_host0}'}, {u'q': u'100 - avg:system.cpu.idle{$q_host1}'}, {u'q': u'100 - avg:system.cpu.idle{$q_host2}'}], u'events': []}, u'title': u'Q system.cpu.idle'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'100 - avg:system.cpu.idle{$chm_host0}'}], u'events': []}, u'title': u'CHM system.cpu.idle'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'(system.net.bytes_sent{$q_host0} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_sent{$q_host1} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_sent{$q_host2} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_rcvd{$q_host0} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_rcvd{$q_host1} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_rcvd{$q_host2} / 1000000.0) * 8'}], u'events': []}, u'title': u'Q system.net.bytes_rcvd, system.net.bytes_sent'}, {u'definition': {u'viz': u'timeseries', u'requests': [{u'q': u'(system.net.bytes_sent{$mx_host0} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_sent{$mx_host1} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_sent{$mx_host2} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_rcvd{$mx_host0} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_rcvd{$mx_host1} / 1000000.0) * 8'}, {u'q': u'(system.net.bytes_rcvd{$mx_host2} / 1000000.0) * 8'}], u'events': []}, u'title': u'MX system.net.bytes_rcvd, system.net.bytes_sent'}]
template_vars=[{'default': 'host:ec2-52-11-17-88.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'q_host0'}, {'default': 'host:ec2-52-11-234-176.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'q_host1'}, {'default': 'host:ec2-52-11-253-236.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'q_host2'}, {'default': 'host:ec2-54-68-14-52.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'chm_host0'}, {'default': 'host:ec2-52-11-150-185.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'mx_host0'}, {'default': 'host:ec2-52-11-184-53.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'mx_host1'}, {'default': 'host:ec2-52-11-151-253.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'mx_host2'}, {'default': 'host:ec2-54-149-84-83.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host0'}, {'default': 'host:ec2-52-11-195-112.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host1'}, {'default': 'host:ec2-54-187-82-124.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host2'}, {'default': 'host:ec2-54-187-175-50.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host3'}, {'default': 'host:ec2-54-187-179-14.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host4'}, {'default': 'host:ec2-54-187-181-165.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host5'}, {'default': 'host:ec2-52-11-255-234.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host6'}, {'default': 'host:ec2-54-187-169-78.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host7'}, {'default': 'host:ec2-54-68-244-120.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host8'}, {'default': 'host:ec2-54-186-177-85.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host9'}, {'default': 'host:ec2-54-187-76-37.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host10'}, {'default': 'host:ec2-54-187-88-214.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host11'}, {'default': 'host:ec2-54-149-148-23.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host12'}, {'default': 'host:ec2-54-187-179-166.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host13'}, {'default': 'host:ec2-54-186-200-143.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host14'}, {'default': 'host:ec2-54-187-102-208.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host15'}, {'default': 'host:ec2-54-187-177-202.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host16'}, {'default': 'host:ec2-54-148-203-127.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host17'}, {'default': 'host:ec2-54-186-194-16.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host18'}, {'default': 'host:ec2-54-187-180-27.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host19'}, {'default': 'host:ec2-54-187-27-205.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host20'}, {'default': 'host:ec2-54-148-118-37.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host21'}, {'default': 'host:ec2-54-186-96-99.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host22'}, {'default': 'host:ec2-54-187-178-119.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host23'}, {'default': 'host:ec2-54-187-14-118.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host24'}, {'default': 'host:ec2-54-69-214-107.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host25'}, {'default': 'host:ec2-54-68-232-250.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host26'}, {'default': 'host:ec2-54-187-38-246.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host27'}, {'default': 'host:ec2-54-187-178-94.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host28'}, {'default': 'host:ec2-54-187-11-78.us-west-2.compute.amazonaws.com', 'prefix': 'host', 'name': 'bench_host29'}]

Receive this error: {'errors': ['Internal Error']}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment