Feat: identify Canvas for metrics collection (#29078) (#29260)

This commit is contained in:
Robert Monfera 2019-01-24 15:49:19 +01:00 committed by GitHub
parent bbbacb03fe
commit 6d3348c8b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ export const queryEsSQL = (elasticsearchClient, { count, query, filter }) =>
body: {
fetch_size: count,
query: query,
client_id: 'canvas',
filter: {
bool: {
must: [{ match_all: {} }, ...buildBoolArray(filter)],