Skip to content

Commit

Permalink
[APM] Set preference to any value for APM searches (elastic#110480)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriamAparicio authored and dgieselaar committed Oct 21, 2021
1 parent 6180ad4 commit 2197887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export function createApmEventClient({
...withPossibleLegacyDataFilter,
ignore_throttled: !includeFrozen,
ignore_unavailable: true,
preference: 'any',
};

// only "search" operation is currently supported
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ describe('setupRequest', () => {
},
ignore_unavailable: true,
ignore_throttled: true,
preference: 'any',
});
});

Expand Down

0 comments on commit 2197887

Please sign in to comment.