Skip to content

Commit

Permalink
[Monitoring] Ensure we use the provided node id in the query (#23715) (
Browse files Browse the repository at this point in the history
…#23776)

* Ensure we use the right parameter name

* Update test fixture to use second node
  • Loading branch information
chrisronline committed Oct 4, 2018
1 parent 6dae6d8 commit 83b9aaf
Show file tree
Hide file tree
Showing 3 changed files with 283 additions and 1,280 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/monitoring/server/lib/details/get_series.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function getUuid(req, metric) {
} else if (metric.app === 'logstash') {
return req.params.logstashUuid;
} else if (metric.app === 'elasticsearch') {
return req.params.resolver;
return req.params.nodeUuid;
}
}

Expand Down
Loading

0 comments on commit 83b9aaf

Please sign in to comment.