Skip to content

Commit

Permalink
Fix Elasticsearch query for top N hosts (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcrail authored and rockdaboot committed Jul 5, 2022
1 parent 8f6d309 commit 39c83ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/profiling/server/routes/search_topNHosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export function registerTraceEventsTopNHostsSearchRoute(
router: IRouter<DataRequestHandlerContext>
) {
const paths = getRemoteRoutePaths();
return queryTopNCommon(router, paths.TopNHosts, 'HostName');
return queryTopNCommon(router, paths.TopNHosts, 'HostID');
}

0 comments on commit 39c83ab

Please sign in to comment.