mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[APM] Filter on tx metrics for instance stats (#114758)
This commit is contained in:
parent
5fdbd26229
commit
802fb0252d
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,7 @@ import { Coordinate } from '../../../../typings/timeseries';
|
|||
import { kqlQuery, rangeQuery } from '../../../../../observability/server';
|
||||
import { environmentQuery } from '../../../../common/utils/environment_query';
|
||||
import {
|
||||
getDocumentTypeFilterForAggregatedTransactions,
|
||||
getProcessorEventForAggregatedTransactions,
|
||||
getTransactionDurationFieldForAggregatedTransactions,
|
||||
} from '../../helpers/aggregated_transactions';
|
||||
|
@ -111,6 +112,9 @@ export async function getServiceInstancesTransactionStatistics<
|
|||
...rangeQuery(start, end),
|
||||
...environmentQuery(environment),
|
||||
...kqlQuery(kuery),
|
||||
...getDocumentTypeFilterForAggregatedTransactions(
|
||||
searchAggregatedTransactions
|
||||
),
|
||||
...(isComparisonSearch && serviceNodeIds
|
||||
? [{ terms: { [SERVICE_NODE_NAME]: serviceNodeIds } }]
|
||||
: []),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue