)]}'
{"grafana/nodepool-rax.yaml":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"a27278ceccdaa959e54367cd90ca0076a7ff72f8","unresolved":false,"context_lines":[{"line_number":100,"context_line":"            - target: alias(scale(stats.timers.nodepool.launch.provider.rax-dfw.ready.mean, \u00270.000016\u0027), \u0027DFW\u0027)"},{"line_number":101,"context_line":"            - target: alias(scale(stats.timers.nodepool.launch.provider.rax-iad.ready.mean, \u00270.000016\u0027), \u0027IAD\u0027)"},{"line_number":102,"context_line":"            - target: alias(scale(stats.timers.nodepool.launch.provider.rax-ord.ready.mean, \u00270.000016\u0027), \u0027ORD\u0027)"},{"line_number":103,"context_line":"        - title: Test Nodes (DFW)"},{"line_number":104,"context_line":"          type: graph"},{"line_number":105,"context_line":"          span: 4"},{"line_number":106,"context_line":"          targets:"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"fa69d971_0c6f7793","side":"PARENT","line":103,"updated":"2016-01-07 22:43:08.000000000","message":"Lost the new entry here.","commit_id":"e3523d575aff8f39c258c5734be67f7cfb2c1da6"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"a27278ceccdaa959e54367cd90ca0076a7ff72f8","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          type: graph"},{"line_number":66,"context_line":"          span: 4"},{"line_number":67,"context_line":"          targets:"},{"line_number":68,"context_line":"            - target: aliasByNode(scale(stats.timers.nodepool.task.$provider.CreateServerTask.mean, \u00270.001\u0027), 4)"},{"line_number":69,"context_line":"        - title: Delete Server"},{"line_number":70,"context_line":"          type: graph"},{"line_number":71,"context_line":"          span: 4"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"fa69d971_ec71c378","line":68,"updated":"2016-01-07 22:43:08.000000000","message":"Can we do the alias by regex so we get \"iad\" instead of \"rax-iad\"?  I\u0027d prefer \"IAD\" but could live with \"iad\" if that\u0027s not possible.","commit_id":"6d10366400cd7dc84b1a076a40216569ae029f56"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"a27278ceccdaa959e54367cd90ca0076a7ff72f8","unresolved":false,"context_lines":[{"line_number":102,"context_line":"            - target: alias(stats.gauges.nodepool.provider.$provider.nodes.building, \u0027Building\u0027)"},{"line_number":103,"context_line":"            - target: alias(stats.gauges.nodepool.provider.$provider.nodes.ready, \u0027Available\u0027)"},{"line_number":104,"context_line":"            - target: alias(stats.gauges.nodepool.provider.$provider.nodes.used, \u0027In Use\u0027)"},{"line_number":105,"context_line":"            - target: alias(stats.gauges.nodepool.provider.$provider.nodes.delete, \u0027Deleting\u0027)"},{"line_number":106,"context_line":"    - title: Job Runtimes"},{"line_number":107,"context_line":"      showTitle: true"},{"line_number":108,"context_line":"      height: 250px"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"fa69d971_ac6bcb84","line":105,"updated":"2016-01-07 22:43:08.000000000","message":"This will produce a graph with 12 lines, which I think will be unreadable.  We could reverse this so that we have 4 graphs, one for each state, and then have a line for each region in each graph, which makes this graph like the rest of the ones on the dashboard.  I considered doing that originally, but thought I\u0027d try the other way first.  Regardless, it would be good to know whether we have the ability to template entire graphs like we\u0027re doing here (one per provider region), or whether we must have the graphs statically defined, just with the ability to template their targets.","commit_id":"6d10366400cd7dc84b1a076a40216569ae029f56"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"a8073531772fb7d791dc39ddaf36a4a98207d114","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          type: graph"},{"line_number":66,"context_line":"          span: 4"},{"line_number":67,"context_line":"          targets:"},{"line_number":68,"context_line":"            - target: aliasSub(aliasByNode(scale(stats.timers.nodepool.task.$provider.CreateServerTask.mean, \u00270.001\u0027), 4), \u0027rax-\u0027, \u0027\u0027)"},{"line_number":69,"context_line":"        - title: Delete Server"},{"line_number":70,"context_line":"          type: graph"},{"line_number":71,"context_line":"          span: 4"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa69d971_8661adaa","line":68,"updated":"2016-01-08 21:06:39.000000000","message":"I don\u0027t think you need both aliasSub and aliasByNode -- I think you can just aliasSub and construct a regex like \"$provider-(.*?)\\.\" that is replaced with \\1.\n\nI hope you can use the template substitution in the regex string as well because, that solves the other problem with this which is that you\u0027re using \"rax\" in a line that\u0027s supposed to be templated with \"provider\".  If you can\u0027t, then I\u0027m not sure we\u0027re really getting a lot out of the templating.","commit_id":"70e4a3c8caaa2576329f5ac4c0373d7adc9640c8"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"0fd98f236b5afbcd2d7044c0c8e126f395cdcc73","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          type: graph"},{"line_number":66,"context_line":"          span: 4"},{"line_number":67,"context_line":"          targets:"},{"line_number":68,"context_line":"            - target: aliasSub(aliasByNode(scale(stats.timers.nodepool.task.$provider.CreateServerTask.mean, \u00270.001\u0027), 4), \u0027rax-\u0027, \u0027\u0027)"},{"line_number":69,"context_line":"        - title: Delete Server"},{"line_number":70,"context_line":"          type: graph"},{"line_number":71,"context_line":"          span: 4"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa69d971_46b3b5e9","line":68,"updated":"2016-01-08 21:14:19.000000000","message":"If you aren\u0027t able to find a regex that works for this construction, nothing in this file actually uses the features of query tempalting (graphite already lets you wildcard things like \"nodepool.task.rax-*.CreateServer\"), so you could switch this to a custom template type instead of query and set $provider to \"rax\", then use $provider-* in the metric names and then my regex suggestion should work.","commit_id":"70e4a3c8caaa2576329f5ac4c0373d7adc9640c8"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"a37fbbe63b8b604ebc9a9d95cf03d5d1a84510ef","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          type: graph"},{"line_number":66,"context_line":"          span: 4"},{"line_number":67,"context_line":"          targets:"},{"line_number":68,"context_line":"            - target: aliasSub(aliasByNode(scale(stats.timers.nodepool.task.$provider.CreateServerTask.mean, \u00270.001\u0027), 4), \u0027rax-\u0027, \u0027\u0027)"},{"line_number":69,"context_line":"        - title: Delete Server"},{"line_number":70,"context_line":"          type: graph"},{"line_number":71,"context_line":"          span: 4"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa69d971_26ab218b","line":68,"updated":"2016-01-08 21:11:43.000000000","message":"Oh, provider is going to be \u0027rax-iad\u0027, so that regex won\u0027t work.","commit_id":"70e4a3c8caaa2576329f5ac4c0373d7adc9640c8"}]}
