From 83326f239745f998482975452e906e39fdd8405a Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Wed, 1 Jul 2020 12:54:03 +0200 Subject: [PATCH] Query transaction indices in getEnvironments() --- .../lib/services/get_services/get_services_items_stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/apm/server/lib/services/get_services/get_services_items_stats.ts b/x-pack/plugins/apm/server/lib/services/get_services/get_services_items_stats.ts index 3f41fc95042d9..4aa427339ee20 100644 --- a/x-pack/plugins/apm/server/lib/services/get_services/get_services_items_stats.ts +++ b/x-pack/plugins/apm/server/lib/services/get_services/get_services_items_stats.ts @@ -249,7 +249,7 @@ export const getEnvironments = async ({ index: [ indices['apm_oss.metricsIndices'], indices['apm_oss.errorIndices'], - indices['apm_oss.metricsIndices'], + indices['apm_oss.transactionIndices'], ], body: { size: 0,