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 Feb 8, 2022
1 parent 9f7717a commit fe33cbd
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 fe33cbd

Please sign in to comment.