Skip to content

Commit

Permalink
Merge pull request #1498 from johnou/bugfix/nsqadmin_graphite_target_…
Browse files Browse the repository at this point in the history
…param

nsqadmin: fix graphite 'target' param serialization
  • Loading branch information
mreiferson authored Nov 18, 2024
2 parents 4de1606 + 09c645d commit 73d42c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsqadmin/static/js/lib/handlebars_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Handlebars.registerHelper('sparkline', function(typ, node, ns1, ns2, key) {
return 'summarize(' + t + ',"' + interval + '","avg")';
});

return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q);
return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q, true);
});

Handlebars.registerHelper('large_graph', function(typ, node, ns1, ns2, key) {
Expand All @@ -283,7 +283,7 @@ Handlebars.registerHelper('large_graph', function(typ, node, ns1, ns2, key) {
return 'summarize(' + t + ',"' + interval + '","avg")';
});

return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q);
return AppState.get('GRAPHITE_URL') + '/render?' + $.param(q, true);
});

Handlebars.registerHelper('rate', function(typ, node, ns1, ns2) {
Expand Down

0 comments on commit 73d42c4

Please sign in to comment.