Skip to content

Commit

Permalink
[APM] Set preference to any value for APM searches (#110480) (#115916)
Browse files Browse the repository at this point in the history
Co-authored-by: Miriam <31922082+MiriamAparicio@users.noreply.github.com>
  • Loading branch information
kibanamachine and MiriamAparicio authored Oct 21, 2021
1 parent 6180ad4 commit e0f7275
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 e0f7275

Please sign in to comment.