[APM] Show metric-only services in service overview (#30397) (#31788)

This commit is contained in:
Søren Louv-Jansen 2019-02-22 11:06:46 +01:00 committed by GitHub
parent e978baa10e
commit 1c97901299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,7 @@ export async function getServices(
{
bool: {
should: [
{ term: { [PROCESSOR_EVENT]: 'metric' } },
{ term: { [PROCESSOR_EVENT]: 'transaction' } },
{ term: { [PROCESSOR_EVENT]: 'error' } }
]
@ -56,6 +57,7 @@ export async function getServices(
const params = {
index: [
config.get<string>('apm_oss.metricsIndices'),
config.get<string>('apm_oss.errorIndices'),
config.get<string>('apm_oss.transactionIndices')
],