[APM] Every time the new Header Icon is clicked it fetches data (#87093)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Cauê Marcondes 2021-01-04 12:02:44 +01:00 committed by GitHub
parent 1934d34ee7
commit 1ae33d945b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,7 @@ export function ServiceIcons({ serviceName }: Props) {
(callApmApi) => {
if (selectedIconPopover && serviceName && start && end) {
return callApmApi({
isCachable: true,
endpoint: 'GET /api/apm/services/{serviceName}/metadata/details',
params: {
path: { serviceName },